21 #ifndef __GTK_BUILDER_H__
22 #define __GTK_BUILDER_H__
24 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25 #error "Only <gtk/gtk.h> can be included directly."
28 #include <gdkconfig.h>
29 #include <glib-object.h>
33 #define GTK_TYPE_BUILDER (gtk_builder_get_type ())
34 #define GTK_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDER, GtkBuilder))
35 #define GTK_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUILDER, GtkBuilderClass))
36 #define GTK_IS_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDER))
37 #define GTK_IS_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUILDER))
38 #define GTK_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUILDER, GtkBuilderClass))
40 #define GTK_BUILDER_ERROR (gtk_builder_error_quark ())
73 const char *type_name);
88 const gchar *signal_name,
89 const gchar *handler_name,
90 GObject *connect_object,
98 const gchar *filename,
105 const gchar *filename,
122 const gchar *domain);
125 const char *type_name);
138 #define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type) \
139 g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object)))
guint gtk_builder_add_objects_from_string(GtkBuilder *builder, const gchar *buffer, gsize length, gchar **object_ids, GError **error)
gboolean gtk_builder_value_from_string_type(GtkBuilder *builder, GType type, const gchar *string, GValue *value, GError **error)
GQuark gtk_builder_error_quark(void)
GType gtk_builder_get_type_from_name(GtkBuilder *builder, const char *type_name)
guint gtk_builder_add_from_file(GtkBuilder *builder, const gchar *filename, GError **error)
void gtk_builder_connect_signals_full(GtkBuilder *builder, GtkBuilderConnectFunc func, gpointer user_data)
GtkBuilder * gtk_builder_new(void)
struct _GtkBuilderPrivate GtkBuilderPrivate
GObject * gtk_builder_get_object(GtkBuilder *builder, const gchar *name)
void gtk_builder_set_translation_domain(GtkBuilder *builder, const gchar *domain)
GSList * gtk_builder_get_objects(GtkBuilder *builder)
guint gtk_builder_add_from_string(GtkBuilder *builder, const gchar *buffer, gsize length, GError **error)
GType gtk_builder_get_type(void) G_GNUC_CONST
void gtk_builder_connect_signals(GtkBuilder *builder, gpointer user_data)
guint gtk_builder_add_objects_from_file(GtkBuilder *builder, const gchar *filename, gchar **object_ids, GError **error)
gboolean gtk_builder_value_from_string(GtkBuilder *builder, GParamSpec *pspec, const gchar *string, GValue *value, GError **error)
void(* GtkBuilderConnectFunc)(GtkBuilder *builder, GObject *object, const gchar *signal_name, const gchar *handler_name, GObject *connect_object, GConnectFlags flags, gpointer user_data)
const gchar * gtk_builder_get_translation_domain(GtkBuilder *builder)
@ GTK_BUILDER_ERROR_MISSING_ATTRIBUTE
@ GTK_BUILDER_ERROR_VERSION_MISMATCH
@ GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION
@ GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE
@ GTK_BUILDER_ERROR_UNHANDLED_TAG
@ GTK_BUILDER_ERROR_DUPLICATE_ID
@ GTK_BUILDER_ERROR_INVALID_VALUE
@ GTK_BUILDER_ERROR_INVALID_TAG
@ GTK_BUILDER_ERROR_INVALID_ATTRIBUTE
GtkImageIconNameData name
PBD::PropertyDescriptor< timecnt_t > length
GObjectClass parent_class
void(* _gtk_reserved4)(void)
void(* _gtk_reserved7)(void)
GType(* get_type_from_name)(GtkBuilder *builder, const char *type_name)
void(* _gtk_reserved8)(void)
void(* _gtk_reserved1)(void)
void(* _gtk_reserved5)(void)
void(* _gtk_reserved3)(void)
void(* _gtk_reserved2)(void)
void(* _gtk_reserved6)(void)
GtkBuilderPrivate * GSEAL(priv)