diff options
author | Tim Janik <timj@src.gnome.org> | 1998-01-17 05:31:13 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-01-17 05:31:13 +0000 |
commit | 8dc9cd53ff0ecdfe983155327b636b6db59ccb56 (patch) | |
tree | 9ea37f705caff047231e5736048d6b070c46aead /gtk/gtkobject.h | |
parent | c44ba4b377870e3741a90a15922da8e31a0253a1 (diff) | |
download | gtk+-8dc9cd53ff0ecdfe983155327b636b6db59ccb56.tar.gz |
+Sat Jan 17 06:24:05 1998 Tim Janik <timj@psynet.net>
+
+ * gtk/gtktypeutils.h (gtk_type_get_arg): new function.
+ * gtk/gtkobject.h (gtk_object_query_args): new function.
+ * gtk/gtkobject.h (gtk_object_getv): new function.
+ * gtk/gtkwidget.h (gtk_widget_get): new function.
Diffstat (limited to 'gtk/gtkobject.h')
-rw-r--r-- | gtk/gtkobject.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk/gtkobject.h b/gtk/gtkobject.h index 40edb8d66b..d2e6631707 100644 --- a/gtk/gtkobject.h +++ b/gtk/gtkobject.h @@ -135,7 +135,7 @@ struct _GtkObjectClass /* The type identifier for the objects class. There is * one unique identifier per class. */ - guint type; + GtkType type; /* The signals this object class handles. "signals" is an * array of signal ID's. @@ -199,6 +199,15 @@ void gtk_object_setv (GtkObject *object, guint nargs, GtkArg *args); +/* Allocate a GtkArg array of size nargs that hold the + * names and types of the args that can be used with + * gtk_object_set/gtk_object_get. + * It is the callers response to do a + * g_free (returned_args). + */ +GtkArg* gtk_object_query_args (GtkType class_type, + guint *nargs); + void gtk_object_add_arg_type (const gchar *arg_name, GtkType arg_type, guint arg_id); |