diff options
author | Benjamin Otte <otte@redhat.com> | 2011-05-27 18:22:09 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-06-02 02:03:51 +0200 |
commit | 79de8e4d08ca9cfbe70f3ac1c4a2adb2902894e5 (patch) | |
tree | 91757ef6c7737790cacef42b3e4ce7c6840c2211 /gtk/gtkwidgetpath.h | |
parent | b669efa1a3a48eda3ef83bd6aa221007c8264eb3 (diff) | |
download | gtk+-79de8e4d08ca9cfbe70f3ac1c4a2adb2902894e5.tar.gz |
API: Add support for siblings to widget paths
Diffstat (limited to 'gtk/gtkwidgetpath.h')
-rw-r--r-- | gtk/gtkwidgetpath.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gtk/gtkwidgetpath.h b/gtk/gtkwidgetpath.h index 12822a8c0d..66441fa3a1 100644 --- a/gtk/gtkwidgetpath.h +++ b/gtk/gtkwidgetpath.h @@ -52,15 +52,23 @@ gint gtk_widget_path_append_type (GtkWidgetPath *path, GType type); void gtk_widget_path_prepend_type (GtkWidgetPath *path, GType type); +gint gtk_widget_path_append_with_siblings(GtkWidgetPath *path, + GtkWidgetPath *siblings, + guint sibling_index); /* gtk_widget_path_append_for_widget() is declared in gtkwidget.c */ gint gtk_widget_path_append_for_widget (GtkWidgetPath *path, GtkWidget *widget); -GType gtk_widget_path_iter_get_object_type (const GtkWidgetPath *path, - gint pos); -void gtk_widget_path_iter_set_object_type (GtkWidgetPath *path, - gint pos, - GType type); +GType gtk_widget_path_iter_get_object_type (const GtkWidgetPath *path, + gint pos); +void gtk_widget_path_iter_set_object_type (GtkWidgetPath *path, + gint pos, + GType type); +const GtkWidgetPath * + gtk_widget_path_iter_get_siblings (const GtkWidgetPath *path, + gint pos); +guint gtk_widget_path_iter_get_sibling_index(const GtkWidgetPath *path, + gint pos); G_CONST_RETURN gchar * gtk_widget_path_iter_get_name (const GtkWidgetPath *path, gint pos); |