diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-09-07 18:10:56 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-09-08 08:07:32 -0400 |
commit | 93f8f12e3933524c86fec4c495017ce13c80b8d1 (patch) | |
tree | 856a5dd39fcabd990e5edaad6d2afcd6f2f5f81a /gtk/gtkcontainer.h | |
parent | e3025f2325ee0193313f3fec655cbfc780609c6a (diff) | |
download | gtk+-93f8f12e3933524c86fec4c495017ce13c80b8d1.tar.gz |
Add some more child property API
Add gtk_container_install_child_properties and
gtk_container_child_notify_by_pspec to mirror te corresponding
GObject APIs.
Diffstat (limited to 'gtk/gtkcontainer.h')
-rw-r--r-- | gtk/gtkcontainer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h index a3e9b66438..d6cc8ed5d2 100644 --- a/gtk/gtkcontainer.h +++ b/gtk/gtkcontainer.h @@ -218,6 +218,10 @@ GDK_AVAILABLE_IN_ALL void gtk_container_class_install_child_property (GtkContainerClass *cclass, guint property_id, GParamSpec *pspec); +GDK_AVAILABLE_IN_3_18 +void gtk_container_class_install_child_properties (GtkContainerClass *cclass, + guint n_pspecs, + GParamSpec **pspecs); GDK_AVAILABLE_IN_ALL GParamSpec* gtk_container_class_find_child_property (GObjectClass *cclass, const gchar *property_name); @@ -265,6 +269,11 @@ void gtk_container_child_notify (GtkContainer *container, GtkWidget *child, const gchar *child_property); +GDK_AVAILABLE_IN_3_18 +void gtk_container_child_notify_by_pspec (GtkContainer *container, + GtkWidget *child, + GParamSpec *pspec); + /** * GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID: * @object: the #GObject on which set_child_property() or get_child_property() |