diff options
author | Tim Janik <timj@gtk.org> | 1998-07-12 01:34:20 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-07-12 01:34:20 +0000 |
commit | ab7cb5019efe34e24fa3775c735d16ae3bb4a6d4 (patch) | |
tree | 5c8c09f47cdd807ac4ac97858955ebcfd5cf4332 /gtk | |
parent | 5edb04999cc63b5fe598ae968cfe29b8f16ccdd3 (diff) | |
download | gtk+-ab7cb5019efe34e24fa3775c735d16ae3bb4a6d4.tar.gz |
new functions which wraps gtk_arg_get_info().
Sun Jul 12 02:47:35 1998 Tim Janik <timj@gtk.org>
* gtk/gtkobject.h:
* gtk/gtkobject.c:
(gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
* gtk/gtkcontainer.h:
* gtk/gtkcontainer.c:
(gtk_container_child_arg_get_info): new function which wraps
gtk_arg_get_info().
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkcontainer.c | 11 | ||||
-rw-r--r-- | gtk/gtkcontainer.h | 3 | ||||
-rw-r--r-- | gtk/gtkobject.c | 11 | ||||
-rw-r--r-- | gtk/gtkobject.h | 3 |
4 files changed, 28 insertions, 0 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 57de4b12b9..6d4027216b 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -579,6 +579,17 @@ gtk_container_child_args_collect (GtkType object_type, var_args_p); } +gchar* +gtk_container_child_arg_get_info (GtkType object_type, + const gchar *arg_name, + GtkArgInfo **info_p) +{ + return gtk_arg_get_info (object_type, + container_child_arg_info_ht, + arg_name, + info_p); +} + GtkArg* gtk_container_query_child_args (GtkType class_type, guint32 **arg_flags, diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h index dce36262bd..8fe0babcef 100644 --- a/gtk/gtkcontainer.h +++ b/gtk/gtkcontainer.h @@ -200,6 +200,9 @@ gchar* gtk_container_child_args_collect (GtkType object_type, GSList **arg_list_p, GSList **info_list_p, gpointer var_args_p); +gchar* gtk_container_child_arg_get_info (GtkType object_type, + const gchar *arg_name, + GtkArgInfo **info_p); /* Deprecated methods */ diff --git a/gtk/gtkobject.c b/gtk/gtkobject.c index c0d9e2ea23..2773da4421 100644 --- a/gtk/gtkobject.c +++ b/gtk/gtkobject.c @@ -884,6 +884,17 @@ gtk_object_args_collect (GtkType object_type, var_args_p); } +gchar* +gtk_object_arg_get_info (GtkType object_type, + const gchar *arg_name, + GtkArgInfo **info_p) +{ + return gtk_arg_get_info (object_type, + object_arg_info_ht, + arg_name, + info_p); +} + GtkArg* gtk_object_query_args (GtkType class_type, guint32 **arg_flags, diff --git a/gtk/gtkobject.h b/gtk/gtkobject.h index 90382c42ad..b22ac40953 100644 --- a/gtk/gtkobject.h +++ b/gtk/gtkobject.h @@ -385,6 +385,9 @@ gchar* gtk_object_args_collect (GtkType object_type, GSList **arg_list_p, GSList **info_list_p, gpointer var_args_p); +gchar* gtk_object_arg_get_info (GtkType object_type, + const gchar *arg_name, + GtkArgInfo **info_p); void gtk_trace_referencing (GtkObject *object, const gchar *func, guint dummy, |