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/.
13 #include <glib-object.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_IS_LO_ACTION_GROUP(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
22 G_TYPE_LO_ACTION_GROUP))
24 struct GLOActionGroupPrivate
;
29 GObject parent_instance
;
31 GLOActionGroupPrivate
*priv
;
34 struct GLOActionGroupClass
37 GObjectClass parent_class
;
43 GType
g_lo_action_group_get_type (void) G_GNUC_CONST
;
45 GLOActionGroup
* g_lo_action_group_new (void);
47 void g_lo_action_group_set_top_menu (GLOActionGroup
*group
,
50 void g_lo_action_group_insert (GLOActionGroup
*group
,
51 const gchar
*action_name
,
55 void g_lo_action_group_insert_stateful (GLOActionGroup
*group
,
56 const gchar
*action_name
,
59 const GVariantType
*parameter_type
,
60 const GVariantType
*state_type
,
64 void g_lo_action_group_set_action_enabled (GLOActionGroup
*group
,
65 const gchar
*action_name
,
68 void g_lo_action_group_remove (GLOActionGroup
*group
,
69 const gchar
*action_name
);
71 void g_lo_action_group_clear (GLOActionGroup
*group
);
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */