diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-06-18 16:59:14 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:37:12 +0100 |
commit | 37335fbb6f572813b9af9524902c9161abfcae4c (patch) | |
tree | a52ffa2b40aed9562cadbb49630da8c14949e163 /gtk/gtkwidgetpath.h | |
parent | 6990a012999be09b277cb0048f9416d08fec3836 (diff) | |
download | gtk+-37335fbb6f572813b9af9524902c9161abfcae4c.tar.gz |
GtkWidgetPath: Add methods to check topmost widget type.
Diffstat (limited to 'gtk/gtkwidgetpath.h')
-rw-r--r-- | gtk/gtkwidgetpath.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/gtkwidgetpath.h b/gtk/gtkwidgetpath.h index 7020c826a3..9e2d0edf1e 100644 --- a/gtk/gtkwidgetpath.h +++ b/gtk/gtkwidgetpath.h @@ -68,8 +68,12 @@ gboolean gtk_widget_path_iter_has_region (GtkWidgetPath *path, const gchar *name, GtkChildClassFlags *flags); -gboolean gtk_widget_path_has_parent (const GtkWidgetPath *path, - GType type); +GType gtk_widget_path_get_widget_type (const GtkWidgetPath *path); + +gboolean gtk_widget_path_is_type (const GtkWidgetPath *path, + GType type); +gboolean gtk_widget_path_has_parent (const GtkWidgetPath *path, + GType type); G_END_DECLS |