diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2010-04-27 17:12:41 -0400 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2010-05-03 12:47:38 -0400 |
commit | 33194ff5f46e39db123c8a4668d3a4b0bde48ecd (patch) | |
tree | ab4ab07186e2dcf0c90fff68f64c5ee210a5cca9 /docs/reference/gtk | |
parent | 5098f34234aa29cf496611bc7d41a7dcfac63743 (diff) | |
download | gtk+-33194ff5f46e39db123c8a4668d3a4b0bde48ecd.tar.gz |
add a get_indices_with_depth method to GtkTreePath with proper GI array annotations
* get_indices does not return a length so we can not annotate it to return an
array in bindings that use GObject Introspection
* this method is the same as get_indices except it takes an int * as the depth
parameter which we can then use in the array annotation
* in C this function returns an integer pointer array and updates depth to the
number of integers in the array
* in a GI binding this returns the native array type for the bound language
(e.g. in PyGI this returns a list of integers)
Diffstat (limited to 'docs/reference/gtk')
-rw-r--r-- | docs/reference/gtk/gtk-sections.txt | 1 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtktreemodel.sgml | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index b5235901f7..684b30db99 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -4675,6 +4675,7 @@ gtk_tree_path_append_index gtk_tree_path_prepend_index gtk_tree_path_get_depth gtk_tree_path_get_indices +gtk_tree_path_get_indices_with_depth gtk_tree_path_free gtk_tree_path_copy gtk_tree_path_compare diff --git a/docs/reference/gtk/tmpl/gtktreemodel.sgml b/docs/reference/gtk/tmpl/gtktreemodel.sgml index e16a9fdb79..d635009210 100644 --- a/docs/reference/gtk/tmpl/gtktreemodel.sgml +++ b/docs/reference/gtk/tmpl/gtktreemodel.sgml @@ -412,6 +412,16 @@ compatibility reasons. @Returns: +<!-- ##### FUNCTION gtk_tree_path_get_indices_with_depth ##### --> +<para> + +</para> + +@path: +@depth: +@Returns: + + <!-- ##### FUNCTION gtk_tree_path_free ##### --> <para> |