Ardour  9.0-pre0-582-g084a23a80d
gtkbuilder.h File Reference
#include <gdkconfig.h>
#include <glib-object.h>
Include dependency graph for gtkbuilder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkBuilder
 
struct  _GtkBuilderClass
 

Macros

#define GTK_TYPE_BUILDER   (gtk_builder_get_type ())
 
#define GTK_BUILDER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDER, GtkBuilder))
 
#define GTK_BUILDER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUILDER, GtkBuilderClass))
 
#define GTK_IS_BUILDER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDER))
 
#define GTK_IS_BUILDER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUILDER))
 
#define GTK_BUILDER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUILDER, GtkBuilderClass))
 
#define GTK_BUILDER_ERROR   (gtk_builder_error_quark ())
 
#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type)    g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object)))
 

Typedefs

typedef struct _GtkBuilder GtkBuilder
 
typedef struct _GtkBuilderClass GtkBuilderClass
 
typedef struct _GtkBuilderPrivate GtkBuilderPrivate
 
typedef void(* GtkBuilderConnectFunc) (GtkBuilder *builder, GObject *object, const gchar *signal_name, const gchar *handler_name, GObject *connect_object, GConnectFlags flags, gpointer user_data)
 

Enumerations

enum  GtkBuilderError {
  GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION , GTK_BUILDER_ERROR_UNHANDLED_TAG , GTK_BUILDER_ERROR_MISSING_ATTRIBUTE , GTK_BUILDER_ERROR_INVALID_ATTRIBUTE ,
  GTK_BUILDER_ERROR_INVALID_TAG , GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE , GTK_BUILDER_ERROR_INVALID_VALUE , GTK_BUILDER_ERROR_VERSION_MISMATCH ,
  GTK_BUILDER_ERROR_DUPLICATE_ID
}
 

Functions

GQuark gtk_builder_error_quark (void)
 
GType gtk_builder_get_type (void) G_GNUC_CONST
 
GtkBuildergtk_builder_new (void)
 
guint gtk_builder_add_from_file (GtkBuilder *builder, const gchar *filename, GError **error)
 
guint gtk_builder_add_from_string (GtkBuilder *builder, const gchar *buffer, gsize length, GError **error)
 
guint gtk_builder_add_objects_from_file (GtkBuilder *builder, const gchar *filename, gchar **object_ids, GError **error)
 
guint gtk_builder_add_objects_from_string (GtkBuilder *builder, const gchar *buffer, gsize length, gchar **object_ids, GError **error)
 
GObject * gtk_builder_get_object (GtkBuilder *builder, const gchar *name)
 
GSList * gtk_builder_get_objects (GtkBuilder *builder)
 
void gtk_builder_connect_signals (GtkBuilder *builder, gpointer user_data)
 
void gtk_builder_connect_signals_full (GtkBuilder *builder, GtkBuilderConnectFunc func, gpointer user_data)
 
void gtk_builder_set_translation_domain (GtkBuilder *builder, const gchar *domain)
 
const gchar * gtk_builder_get_translation_domain (GtkBuilder *builder)
 
GType gtk_builder_get_type_from_name (GtkBuilder *builder, const char *type_name)
 
gboolean gtk_builder_value_from_string (GtkBuilder *builder, GParamSpec *pspec, const gchar *string, GValue *value, GError **error)
 
gboolean gtk_builder_value_from_string_type (GtkBuilder *builder, GType type, const gchar *string, GValue *value, GError **error)
 

Macro Definition Documentation

◆ GTK_BUILDER

#define GTK_BUILDER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDER, GtkBuilder))

Definition at line 34 of file gtkbuilder.h.

◆ GTK_BUILDER_CLASS

#define GTK_BUILDER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUILDER, GtkBuilderClass))

Definition at line 35 of file gtkbuilder.h.

◆ GTK_BUILDER_ERROR

#define GTK_BUILDER_ERROR   (gtk_builder_error_quark ())

Definition at line 40 of file gtkbuilder.h.

◆ GTK_BUILDER_GET_CLASS

#define GTK_BUILDER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUILDER, GtkBuilderClass))

Definition at line 38 of file gtkbuilder.h.

◆ GTK_BUILDER_WARN_INVALID_CHILD_TYPE

#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE (   object,
  type 
)     g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object)))

Definition at line 138 of file gtkbuilder.h.

◆ GTK_IS_BUILDER

#define GTK_IS_BUILDER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDER))

Definition at line 36 of file gtkbuilder.h.

◆ GTK_IS_BUILDER_CLASS

#define GTK_IS_BUILDER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUILDER))

Definition at line 37 of file gtkbuilder.h.

◆ GTK_TYPE_BUILDER

#define GTK_TYPE_BUILDER   (gtk_builder_get_type ())

Definition at line 33 of file gtkbuilder.h.

Typedef Documentation

◆ GtkBuilder

typedef struct _GtkBuilder GtkBuilder

Definition at line 31 of file gtkbuilder.h.

◆ GtkBuilderClass

Definition at line 31 of file gtkbuilder.h.

◆ GtkBuilderConnectFunc

typedef void(* GtkBuilderConnectFunc) (GtkBuilder *builder, GObject *object, const gchar *signal_name, const gchar *handler_name, GObject *connect_object, GConnectFlags flags, gpointer user_data)

Definition at line 86 of file gtkbuilder.h.

◆ GtkBuilderPrivate

typedef struct _GtkBuilderPrivate GtkBuilderPrivate

Definition at line 31 of file gtkbuilder.h.

Enumeration Type Documentation

◆ GtkBuilderError

Enumerator
GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION 
GTK_BUILDER_ERROR_UNHANDLED_TAG 
GTK_BUILDER_ERROR_MISSING_ATTRIBUTE 
GTK_BUILDER_ERROR_INVALID_ATTRIBUTE 
GTK_BUILDER_ERROR_INVALID_TAG 
GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE 
GTK_BUILDER_ERROR_INVALID_VALUE 
GTK_BUILDER_ERROR_VERSION_MISMATCH 
GTK_BUILDER_ERROR_DUPLICATE_ID 

Definition at line 46 of file gtkbuilder.h.

Function Documentation

◆ gtk_builder_add_from_file()

guint gtk_builder_add_from_file ( GtkBuilder builder,
const gchar *  filename,
GError **  error 
)

◆ gtk_builder_add_from_string()

guint gtk_builder_add_from_string ( GtkBuilder builder,
const gchar *  buffer,
gsize  length,
GError **  error 
)

◆ gtk_builder_add_objects_from_file()

guint gtk_builder_add_objects_from_file ( GtkBuilder builder,
const gchar *  filename,
gchar **  object_ids,
GError **  error 
)

◆ gtk_builder_add_objects_from_string()

guint gtk_builder_add_objects_from_string ( GtkBuilder builder,
const gchar *  buffer,
gsize  length,
gchar **  object_ids,
GError **  error 
)

◆ gtk_builder_connect_signals()

void gtk_builder_connect_signals ( GtkBuilder builder,
gpointer  user_data 
)

◆ gtk_builder_connect_signals_full()

void gtk_builder_connect_signals_full ( GtkBuilder builder,
GtkBuilderConnectFunc  func,
gpointer  user_data 
)

◆ gtk_builder_error_quark()

GQuark gtk_builder_error_quark ( void  )

◆ gtk_builder_get_object()

GObject* gtk_builder_get_object ( GtkBuilder builder,
const gchar *  name 
)

◆ gtk_builder_get_objects()

GSList* gtk_builder_get_objects ( GtkBuilder builder)

◆ gtk_builder_get_translation_domain()

const gchar* gtk_builder_get_translation_domain ( GtkBuilder builder)

◆ gtk_builder_get_type()

GType gtk_builder_get_type ( void  )

◆ gtk_builder_get_type_from_name()

GType gtk_builder_get_type_from_name ( GtkBuilder builder,
const char *  type_name 
)

◆ gtk_builder_new()

GtkBuilder* gtk_builder_new ( void  )

◆ gtk_builder_set_translation_domain()

void gtk_builder_set_translation_domain ( GtkBuilder builder,
const gchar *  domain 
)

◆ gtk_builder_value_from_string()

gboolean gtk_builder_value_from_string ( GtkBuilder builder,
GParamSpec *  pspec,
const gchar *  string,
GValue *  value,
GError **  error 
)

◆ gtk_builder_value_from_string_type()

gboolean gtk_builder_value_from_string_type ( GtkBuilder builder,
GType  type,
const gchar *  string,
GValue *  value,
GError **  error 
)