Ardour  9.0-pre0-582-g084a23a80d
gtkuimanager.h File Reference
#include <gtk/gtkaccelgroup.h>
#include <gtk/gtkwidget.h>
#include <gtk/gtkaction.h>
#include <gtk/gtkactiongroup.h>
Include dependency graph for gtkuimanager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkUIManager
 
struct  _GtkUIManagerClass
 

Macros

#define GTK_TYPE_UI_MANAGER   (gtk_ui_manager_get_type ())
 
#define GTK_UI_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_UI_MANAGER, GtkUIManager))
 
#define GTK_UI_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_UI_MANAGER, GtkUIManagerClass))
 
#define GTK_IS_UI_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_UI_MANAGER))
 
#define GTK_IS_UI_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_UI_MANAGER))
 
#define GTK_UI_MANAGER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_UI_MANAGER, GtkUIManagerClass))
 

Typedefs

typedef struct _GtkUIManager GtkUIManager
 
typedef struct _GtkUIManagerClass GtkUIManagerClass
 
typedef struct _GtkUIManagerPrivate GtkUIManagerPrivate
 

Enumerations

enum  GtkUIManagerItemType {
  GTK_UI_MANAGER_AUTO = 0 , GTK_UI_MANAGER_MENUBAR = 1 << 0 , GTK_UI_MANAGER_MENU = 1 << 1 , GTK_UI_MANAGER_TOOLBAR = 1 << 2 ,
  GTK_UI_MANAGER_PLACEHOLDER = 1 << 3 , GTK_UI_MANAGER_POPUP = 1 << 4 , GTK_UI_MANAGER_MENUITEM = 1 << 5 , GTK_UI_MANAGER_TOOLITEM = 1 << 6 ,
  GTK_UI_MANAGER_SEPARATOR = 1 << 7 , GTK_UI_MANAGER_ACCELERATOR = 1 << 8 , GTK_UI_MANAGER_POPUP_WITH_ACCELS = 1 << 9
}
 

Functions

GType gtk_ui_manager_get_type (void) G_GNUC_CONST
 
GtkUIManagergtk_ui_manager_new (void)
 
void gtk_ui_manager_set_add_tearoffs (GtkUIManager *self, gboolean add_tearoffs)
 
gboolean gtk_ui_manager_get_add_tearoffs (GtkUIManager *self)
 
void gtk_ui_manager_insert_action_group (GtkUIManager *self, GtkActionGroup *action_group, gint pos)
 
void gtk_ui_manager_remove_action_group (GtkUIManager *self, GtkActionGroup *action_group)
 
GList * gtk_ui_manager_get_action_groups (GtkUIManager *self)
 
GtkAccelGroupgtk_ui_manager_get_accel_group (GtkUIManager *self)
 
GtkWidgetgtk_ui_manager_get_widget (GtkUIManager *self, const gchar *path)
 
GSList * gtk_ui_manager_get_toplevels (GtkUIManager *self, GtkUIManagerItemType types)
 
GtkActiongtk_ui_manager_get_action (GtkUIManager *self, const gchar *path)
 
guint gtk_ui_manager_add_ui_from_string (GtkUIManager *self, const gchar *buffer, gssize length, GError **error)
 
guint gtk_ui_manager_add_ui_from_file (GtkUIManager *self, const gchar *filename, GError **error)
 
void gtk_ui_manager_add_ui (GtkUIManager *self, guint merge_id, const gchar *path, const gchar *name, const gchar *action, GtkUIManagerItemType type, gboolean top)
 
void gtk_ui_manager_remove_ui (GtkUIManager *self, guint merge_id)
 
gchar * gtk_ui_manager_get_ui (GtkUIManager *self)
 
void gtk_ui_manager_ensure_update (GtkUIManager *self)
 
guint gtk_ui_manager_new_merge_id (GtkUIManager *self)
 

Macro Definition Documentation

◆ GTK_IS_UI_MANAGER

#define GTK_IS_UI_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_UI_MANAGER))

Definition at line 48 of file gtkuimanager.h.

◆ GTK_IS_UI_MANAGER_CLASS

#define GTK_IS_UI_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_UI_MANAGER))

Definition at line 49 of file gtkuimanager.h.

◆ GTK_TYPE_UI_MANAGER

#define GTK_TYPE_UI_MANAGER   (gtk_ui_manager_get_type ())

Definition at line 45 of file gtkuimanager.h.

◆ GTK_UI_MANAGER

#define GTK_UI_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_UI_MANAGER, GtkUIManager))

Definition at line 46 of file gtkuimanager.h.

◆ GTK_UI_MANAGER_CLASS

#define GTK_UI_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_UI_MANAGER, GtkUIManagerClass))

Definition at line 47 of file gtkuimanager.h.

◆ GTK_UI_MANAGER_GET_CLASS

#define GTK_UI_MANAGER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_UI_MANAGER, GtkUIManagerClass))

Definition at line 50 of file gtkuimanager.h.

Typedef Documentation

◆ GtkUIManager

typedef struct _GtkUIManager GtkUIManager

Definition at line 43 of file gtkuimanager.h.

◆ GtkUIManagerClass

Definition at line 43 of file gtkuimanager.h.

◆ GtkUIManagerPrivate

typedef struct _GtkUIManagerPrivate GtkUIManagerPrivate

Definition at line 43 of file gtkuimanager.h.

Enumeration Type Documentation

◆ GtkUIManagerItemType

Enumerator
GTK_UI_MANAGER_AUTO 
GTK_UI_MANAGER_MENUBAR 
GTK_UI_MANAGER_MENU 
GTK_UI_MANAGER_TOOLBAR 
GTK_UI_MANAGER_PLACEHOLDER 
GTK_UI_MANAGER_POPUP 
GTK_UI_MANAGER_MENUITEM 
GTK_UI_MANAGER_TOOLITEM 
GTK_UI_MANAGER_SEPARATOR 
GTK_UI_MANAGER_ACCELERATOR 
GTK_UI_MANAGER_POPUP_WITH_ACCELS 

Definition at line 94 of file gtkuimanager.h.

Function Documentation

◆ gtk_ui_manager_add_ui()

void gtk_ui_manager_add_ui ( GtkUIManager self,
guint  merge_id,
const gchar *  path,
const gchar *  name,
const gchar *  action,
GtkUIManagerItemType  type,
gboolean  top 
)

◆ gtk_ui_manager_add_ui_from_file()

guint gtk_ui_manager_add_ui_from_file ( GtkUIManager self,
const gchar *  filename,
GError **  error 
)

◆ gtk_ui_manager_add_ui_from_string()

guint gtk_ui_manager_add_ui_from_string ( GtkUIManager self,
const gchar *  buffer,
gssize  length,
GError **  error 
)

◆ gtk_ui_manager_ensure_update()

void gtk_ui_manager_ensure_update ( GtkUIManager self)

◆ gtk_ui_manager_get_accel_group()

GtkAccelGroup* gtk_ui_manager_get_accel_group ( GtkUIManager self)

◆ gtk_ui_manager_get_action()

GtkAction* gtk_ui_manager_get_action ( GtkUIManager self,
const gchar *  path 
)

◆ gtk_ui_manager_get_action_groups()

GList* gtk_ui_manager_get_action_groups ( GtkUIManager self)

◆ gtk_ui_manager_get_add_tearoffs()

gboolean gtk_ui_manager_get_add_tearoffs ( GtkUIManager self)

◆ gtk_ui_manager_get_toplevels()

GSList* gtk_ui_manager_get_toplevels ( GtkUIManager self,
GtkUIManagerItemType  types 
)

◆ gtk_ui_manager_get_type()

GType gtk_ui_manager_get_type ( void  )

◆ gtk_ui_manager_get_ui()

gchar* gtk_ui_manager_get_ui ( GtkUIManager self)

◆ gtk_ui_manager_get_widget()

GtkWidget* gtk_ui_manager_get_widget ( GtkUIManager self,
const gchar *  path 
)

◆ gtk_ui_manager_insert_action_group()

void gtk_ui_manager_insert_action_group ( GtkUIManager self,
GtkActionGroup action_group,
gint  pos 
)

◆ gtk_ui_manager_new()

GtkUIManager* gtk_ui_manager_new ( void  )

◆ gtk_ui_manager_new_merge_id()

guint gtk_ui_manager_new_merge_id ( GtkUIManager self)

◆ gtk_ui_manager_remove_action_group()

void gtk_ui_manager_remove_action_group ( GtkUIManager self,
GtkActionGroup action_group 
)

◆ gtk_ui_manager_remove_ui()

void gtk_ui_manager_remove_ui ( GtkUIManager self,
guint  merge_id 
)

◆ gtk_ui_manager_set_add_tearoffs()

void gtk_ui_manager_set_add_tearoffs ( GtkUIManager self,
gboolean  add_tearoffs 
)