1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
4 * This file is part of the LibreOffice project.
6 * This Source Code Form is subject to the terms of the Mozilla Public
7 * License, v. 2.0. If a copy of the MPL was not distributed with this
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 #ifndef INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
12 #define INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
18 #define G_TYPE_LO_ACTION_GROUP (g_lo_action_group_get_type ())
19 #define G_LO_ACTION_GROUP(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
20 G_TYPE_LO_ACTION_GROUP, GLOActionGroup))
21 #define G_LO_ACTION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \
22 G_TYPE_LO_ACTION_GROUP, GLOActionGroupClass))
23 #define G_IS_LO_ACTION_GROUP(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
24 G_TYPE_LO_ACTION_GROUP))
25 #define G_IS_LO_ACTION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
26 G_TYPE_LO_ACTION_GROUP))
27 #define G_LO_ACTION_GROUP_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
28 G_TYPE_LO_ACTION_GROUP, GLOActionGroupClass))
30 typedef struct _GLOActionGroupPrivate GLOActionGroupPrivate
;
31 typedef struct _GLOActionGroupClass GLOActionGroupClass
;
32 typedef struct _GLOActionGroup GLOActionGroup
;
34 struct _GLOActionGroup
37 GObject parent_instance
;
39 GLOActionGroupPrivate
*priv
;
42 struct _GLOActionGroupClass
45 GObjectClass parent_class
;
51 GType
g_lo_action_group_get_type (void) G_GNUC_CONST
;
53 GLOActionGroup
* g_lo_action_group_new (gpointer frame
);
55 void g_lo_action_group_insert (GLOActionGroup
*group
,
56 const gchar
*action_name
,
60 void g_lo_action_group_insert_stateful (GLOActionGroup
*group
,
61 const gchar
*action_name
,
64 const GVariantType
*parameter_type
,
65 const GVariantType
*state_type
,
69 void g_lo_action_group_set_action_enabled (GLOActionGroup
*group
,
70 const gchar
*action_name
,
73 void g_lo_action_group_remove (GLOActionGroup
*group
,
74 const gchar
*action_name
);
76 void g_lo_action_group_clear (GLOActionGroup
*group
);
80 #endif // INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */