API: Add support for siblings to widget paths

This commit is contained in:
Benjamin Otte
2011-05-27 18:22:09 +02:00
parent b669efa1a3
commit 79de8e4d08
4 changed files with 121 additions and 5 deletions

View File

@ -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);