bump product version to 7.2.5.1
[LibreOffice.git] / vcl / inc / unx / gtk / gloactiongroup.h
blob4028f76dc52ed8aa020e8af394a575454f1d6bab
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /*
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/.
9 */
11 #ifndef INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
12 #define INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
14 #include <glib-object.h>
15 #include <glib.h>
17 G_BEGIN_DECLS
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;
27 struct GLOActionGroup
29 /*< private >*/
30 GObject parent_instance;
32 GLOActionGroupPrivate *priv;
35 struct GLOActionGroupClass
37 /*< private >*/
38 GObjectClass parent_class;
40 /*< private >*/
41 gpointer padding[12];
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,
49 gpointer top_menu);
51 void g_lo_action_group_insert (GLOActionGroup *group,
52 const gchar *action_name,
53 gint item_id,
54 gboolean submenu);
56 void g_lo_action_group_insert_stateful (GLOActionGroup *group,
57 const gchar *action_name,
58 gint item_id,
59 gboolean submenu,
60 const GVariantType *parameter_type,
61 const GVariantType *state_type,
62 GVariant *state_hint,
63 GVariant *state);
65 void g_lo_action_group_set_action_enabled (GLOActionGroup *group,
66 const gchar *action_name,
67 gboolean enabled);
69 void g_lo_action_group_remove (GLOActionGroup *group,
70 const gchar *action_name);
72 void g_lo_action_group_clear (GLOActionGroup *group);
74 G_END_DECLS
76 #endif // INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */