diff options
Diffstat (limited to 'vcl/inc/unx/gtk/gloactiongroup.h')
-rw-r--r-- | vcl/inc/unx/gtk/gloactiongroup.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gloactiongroup.h b/vcl/inc/unx/gtk/gloactiongroup.h new file mode 100644 index 000000000000..b71ae47d20d9 --- /dev/null +++ b/vcl/inc/unx/gtk/gloactiongroup.h @@ -0,0 +1,62 @@ +#ifndef GLOACTIONGROUP_H +#define GLOACTIONGROUP_H + +#include <gio/gio.h> +//#include "gactionmap.h" + +G_BEGIN_DECLS + +#define G_TYPE_LO_ACTION_GROUP (g_lo_action_group_get_type ()) +#define G_LO_ACTION_GROUP(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ + G_TYPE_LO_ACTION_GROUP, GLOActionGroup)) +#define G_LO_ACTION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \ + G_TYPE_LO_ACTION_GROUP, GLOActionGroupClass)) +#define G_IS_LO_ACTION_GROUP(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ + G_TYPE_LO_ACTION_GROUP)) +#define G_IS_LO_ACTION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \ + G_TYPE_LO_ACTION_GROUP)) +#define G_LO_ACTION_GROUP_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ + G_TYPE_LO_ACTION_GROUP, GLOActionGroupClass)) + +typedef struct _GLOActionGroupPrivate GLOActionGroupPrivate; +typedef struct _GLOActionGroupClass GLOActionGroupClass; +typedef struct _GLOActionGroup GLOActionGroup; + +struct _GLOActionGroup +{ + /*< private >*/ + GObject parent_instance; + + GLOActionGroupPrivate *priv; +}; + +struct _GLOActionGroupClass +{ + /*< private >*/ + GObjectClass parent_class; + + /*< private >*/ + gpointer padding[12]; +}; + +GType g_lo_action_group_get_type (void) G_GNUC_CONST; + +GLOActionGroup * g_lo_action_group_new (void); + +GAction * g_lo_action_group_lookup (GLOActionGroup *group, + const gchar *action_name); + +void g_lo_action_group_insert (GLOActionGroup *group, + GAction *action); + +void g_lo_action_group_remove (GLOActionGroup *group, + const gchar *action_name); + +void g_lo_action_group_add_entries (GLOActionGroup *group, + const GActionEntry *entries, + gint n_entries, + gpointer user_data); + +G_END_DECLS + +#endif // GLOACTIONGROUP_H |