Ardour
9.0-pre0-582-g084a23a80d
|
#include <gdkconfig.h>
#include <gtk/gtkenums.h>
#include <gtk/gtktypeutils.h>
#include <gtk/gtkdebug.h>
Go to the source code of this file.
Classes | |
struct | _GtkObject |
struct | _GtkObjectClass |
Macros | |
#define | GTK_TYPE_OBJECT (gtk_object_get_type ()) |
#define | GTK_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_OBJECT, GtkObject)) |
#define | GTK_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_OBJECT, GtkObjectClass)) |
#define | GTK_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_OBJECT)) |
#define | GTK_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_OBJECT)) |
#define | GTK_OBJECT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), GTK_TYPE_OBJECT, GtkObjectClass)) |
#define | GTK_OBJECT_TYPE G_OBJECT_TYPE |
#define | GTK_OBJECT_TYPE_NAME G_OBJECT_TYPE_NAME |
#define | GTK_OBJECT_FLAGS(obj) (GTK_OBJECT (obj)->flags) |
#define | GTK_OBJECT_FLOATING(obj) (g_object_is_floating (obj)) |
#define | GTK_OBJECT_SET_FLAGS(obj, flag) G_STMT_START{ (GTK_OBJECT_FLAGS (obj) |= (flag)); }G_STMT_END |
#define | GTK_OBJECT_UNSET_FLAGS(obj, flag) G_STMT_START{ (GTK_OBJECT_FLAGS (obj) &= ~(flag)); }G_STMT_END |
#define | gtk_object_data_try_key g_quark_try_string |
#define | gtk_object_data_force_id g_quark_from_string |
#define | GTK_ARG_READWRITE (GTK_ARG_READABLE | GTK_ARG_WRITABLE) |
Typedefs | |
typedef struct _GtkObjectClass | GtkObjectClass |
Enumerations | |
enum | GtkObjectFlags { GTK_IN_DESTRUCTION = 1 << 0 , GTK_FLOATING = 1 << 1 , GTK_RESERVED_1 = 1 << 2 , GTK_RESERVED_2 = 1 << 3 } |
enum | GtkArgFlags { GTK_ARG_READABLE = G_PARAM_READABLE , GTK_ARG_WRITABLE = G_PARAM_WRITABLE , GTK_ARG_CONSTRUCT = G_PARAM_CONSTRUCT , GTK_ARG_CONSTRUCT_ONLY = G_PARAM_CONSTRUCT_ONLY , GTK_ARG_CHILD_ARG = 1 << 4 } |
Functions | |
GType | gtk_object_get_type (void) G_GNUC_CONST |
void | gtk_object_sink (GtkObject *object) |
void | gtk_object_destroy (GtkObject *object) |
GtkObject * | gtk_object_new (GType type, const gchar *first_property_name,...) |
GtkObject * | gtk_object_ref (GtkObject *object) |
void | gtk_object_unref (GtkObject *object) |
void | gtk_object_weakref (GtkObject *object, GDestroyNotify notify, gpointer data) |
void | gtk_object_weakunref (GtkObject *object, GDestroyNotify notify, gpointer data) |
void | gtk_object_set_data (GtkObject *object, const gchar *key, gpointer data) |
void | gtk_object_set_data_full (GtkObject *object, const gchar *key, gpointer data, GDestroyNotify destroy) |
void | gtk_object_remove_data (GtkObject *object, const gchar *key) |
gpointer | gtk_object_get_data (GtkObject *object, const gchar *key) |
void | gtk_object_remove_no_notify (GtkObject *object, const gchar *key) |
void | gtk_object_set_user_data (GtkObject *object, gpointer data) |
gpointer | gtk_object_get_user_data (GtkObject *object) |
void | gtk_object_set_data_by_id (GtkObject *object, GQuark data_id, gpointer data) |
void | gtk_object_set_data_by_id_full (GtkObject *object, GQuark data_id, gpointer data, GDestroyNotify destroy) |
gpointer | gtk_object_get_data_by_id (GtkObject *object, GQuark data_id) |
void | gtk_object_remove_data_by_id (GtkObject *object, GQuark data_id) |
void | gtk_object_remove_no_notify_by_id (GtkObject *object, GQuark key_id) |
void | gtk_object_get (GtkObject *object, const gchar *first_property_name,...) G_GNUC_NULL_TERMINATED |
void | gtk_object_set (GtkObject *object, const gchar *first_property_name,...) G_GNUC_NULL_TERMINATED |
void | gtk_object_add_arg_type (const gchar *arg_name, GType arg_type, guint arg_flags, guint arg_id) |
#define GTK_ARG_READWRITE (GTK_ARG_READABLE | GTK_ARG_WRITABLE) |
Definition at line 234 of file gtkobject.h.
#define GTK_IS_OBJECT | ( | object | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_OBJECT)) |
Definition at line 50 of file gtkobject.h.
#define GTK_IS_OBJECT_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_OBJECT)) |
Definition at line 51 of file gtkobject.h.
#define GTK_OBJECT | ( | object | ) | (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_OBJECT, GtkObject)) |
Definition at line 48 of file gtkobject.h.
#define GTK_OBJECT_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_OBJECT, GtkObjectClass)) |
Definition at line 49 of file gtkobject.h.
#define gtk_object_data_force_id g_quark_from_string |
Definition at line 222 of file gtkobject.h.
#define gtk_object_data_try_key g_quark_try_string |
Definition at line 221 of file gtkobject.h.
#define GTK_OBJECT_FLAGS | ( | obj | ) | (GTK_OBJECT (obj)->flags) |
Definition at line 93 of file gtkobject.h.
#define GTK_OBJECT_FLOATING | ( | obj | ) | (g_object_is_floating (obj)) |
Definition at line 95 of file gtkobject.h.
#define GTK_OBJECT_GET_CLASS | ( | object | ) | (G_TYPE_INSTANCE_GET_CLASS ((object), GTK_TYPE_OBJECT, GtkObjectClass)) |
Definition at line 52 of file gtkobject.h.
#define GTK_OBJECT_SET_FLAGS | ( | obj, | |
flag | |||
) | G_STMT_START{ (GTK_OBJECT_FLAGS (obj) |= (flag)); }G_STMT_END |
Definition at line 100 of file gtkobject.h.
#define GTK_OBJECT_TYPE G_OBJECT_TYPE |
GTK_OBJECT_TYPE:
object | a GtkObject. |
Gets the type of an object.
Deprecated: 2.20: Use G_OBJECT_TYPE() instead.
Definition at line 65 of file gtkobject.h.
#define GTK_OBJECT_TYPE_NAME G_OBJECT_TYPE_NAME |
GTK_OBJECT_TYPE_NAME:
object | a GtkObject. |
Gets the name of an object's type.
Deprecated: 2.20: Use G_OBJECT_TYPE_NAME() instead.
Definition at line 74 of file gtkobject.h.
#define GTK_OBJECT_UNSET_FLAGS | ( | obj, | |
flag | |||
) | G_STMT_START{ (GTK_OBJECT_FLAGS (obj) &= ~(flag)); }G_STMT_END |
Definition at line 101 of file gtkobject.h.
#define GTK_TYPE_OBJECT (gtk_object_get_type ()) |
Definition at line 47 of file gtkobject.h.
typedef struct _GtkObjectClass GtkObjectClass |
Definition at line 41 of file gtkobject.h.
enum GtkArgFlags |
Enumerator | |
---|---|
GTK_ARG_READABLE | |
GTK_ARG_WRITABLE | |
GTK_ARG_CONSTRUCT | |
GTK_ARG_CONSTRUCT_ONLY | |
GTK_ARG_CHILD_ARG |
Definition at line 226 of file gtkobject.h.
enum GtkObjectFlags |
Enumerator | |
---|---|
GTK_IN_DESTRUCTION | |
GTK_FLOATING | |
GTK_RESERVED_1 | |
GTK_RESERVED_2 |
Definition at line 83 of file gtkobject.h.
void gtk_object_add_arg_type | ( | const gchar * | arg_name, |
GType | arg_type, | ||
guint | arg_flags, | ||
guint | arg_id | ||
) |
void gtk_object_destroy | ( | GtkObject * | object | ) |
void gtk_object_get | ( | GtkObject * | object, |
const gchar * | first_property_name, | ||
... | |||
) |
gpointer gtk_object_get_data | ( | GtkObject * | object, |
const gchar * | key | ||
) |
gpointer gtk_object_get_data_by_id | ( | GtkObject * | object, |
GQuark | data_id | ||
) |
GType gtk_object_get_type | ( | void | ) |
gpointer gtk_object_get_user_data | ( | GtkObject * | object | ) |
GtkObject* gtk_object_new | ( | GType | type, |
const gchar * | first_property_name, | ||
... | |||
) |
void gtk_object_remove_data | ( | GtkObject * | object, |
const gchar * | key | ||
) |
void gtk_object_remove_data_by_id | ( | GtkObject * | object, |
GQuark | data_id | ||
) |
void gtk_object_remove_no_notify | ( | GtkObject * | object, |
const gchar * | key | ||
) |
void gtk_object_remove_no_notify_by_id | ( | GtkObject * | object, |
GQuark | key_id | ||
) |
void gtk_object_set | ( | GtkObject * | object, |
const gchar * | first_property_name, | ||
... | |||
) |
void gtk_object_set_data | ( | GtkObject * | object, |
const gchar * | key, | ||
gpointer | data | ||
) |
void gtk_object_set_data_by_id | ( | GtkObject * | object, |
GQuark | data_id, | ||
gpointer | data | ||
) |
void gtk_object_set_data_by_id_full | ( | GtkObject * | object, |
GQuark | data_id, | ||
gpointer | data, | ||
GDestroyNotify | destroy | ||
) |
void gtk_object_set_data_full | ( | GtkObject * | object, |
const gchar * | key, | ||
gpointer | data, | ||
GDestroyNotify | destroy | ||
) |
void gtk_object_set_user_data | ( | GtkObject * | object, |
gpointer | data | ||
) |
void gtk_object_sink | ( | GtkObject * | object | ) |
void gtk_object_unref | ( | GtkObject * | object | ) |
void gtk_object_weakref | ( | GtkObject * | object, |
GDestroyNotify | notify, | ||
gpointer | data | ||
) |
void gtk_object_weakunref | ( | GtkObject * | object, |
GDestroyNotify | notify, | ||
gpointer | data | ||
) |