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
14 #include <glib-object.h>
19 #define G_TYPE_LO_ACTION_GROUP (g_lo_action_group_get_type ())
20 #define G_LO_ACTION_GROUP(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
21 G_TYPE_LO_ACTION_GROUP, GLOActionGroup))
22 #define G_IS_LO_ACTION_GROUP(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
23 G_TYPE_LO_ACTION_GROUP))
25 struct GLOActionGroupPrivate
;
30 GObject parent_instance
;
32 GLOActionGroupPrivate
*priv
;
35 struct GLOActionGroupClass
38 GObjectClass parent_class
;
44 GType
g_lo_action_group_get_type (void) G_GNUC_CONST
;
46 GLOActionGroup
* g_lo_action_group_new (void);
48 void g_lo_action_group_set_top_menu (GLOActionGroup
*group
,
51 void g_lo_action_group_insert (GLOActionGroup
*group
,
52 const gchar
*action_name
,
56 void g_lo_action_group_insert_stateful (GLOActionGroup
*group
,
57 const gchar
*action_name
,
60 const GVariantType
*parameter_type
,
61 const GVariantType
*state_type
,
65 void g_lo_action_group_set_action_enabled (GLOActionGroup
*group
,
66 const gchar
*action_name
,
69 void g_lo_action_group_remove (GLOActionGroup
*group
,
70 const gchar
*action_name
);
72 void g_lo_action_group_clear (GLOActionGroup
*group
);
76 #endif // INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */