LibreOffice Module vcl (master) 1
gloactiongroup.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3/*
4 * This file is part of the LibreOffice project.
5 *
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 */
10
11#ifndef INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
12#define INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
13
14#include <glib-object.h>
15#include <glib.h>
16
17G_BEGIN_DECLS
18
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))
24
25struct GLOActionGroupPrivate;
26
28{
29 /*< private >*/
31
32 GLOActionGroupPrivate *priv;
33};
34
36{
37 /*< private >*/
38 GObjectClass parent_class;
39
40 /*< private >*/
41 gpointer padding[12];
42};
43
44GType g_lo_action_group_get_type (void) G_GNUC_CONST;
45
47
49 gpointer top_menu);
50
52 const gchar *action_name,
53 gint item_id,
54 gboolean submenu);
55
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);
64
66 const gchar *action_name,
67 gboolean enabled);
68
70 const gchar *action_name);
71
73
74G_END_DECLS
75
76#endif // INCLUDED_VCL_INC_UNX_GTK_GLOACTIONGROUP_H
77
78/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
GType g_lo_action_group_get_type(void) G_GNUC_CONST
void g_lo_action_group_remove(GLOActionGroup *group, const gchar *action_name)
void g_lo_action_group_clear(GLOActionGroup *group)
GLOActionGroup * g_lo_action_group_new(void)
void g_lo_action_group_set_top_menu(GLOActionGroup *group, gpointer top_menu)
void g_lo_action_group_insert(GLOActionGroup *group, const gchar *action_name, gint item_id, gboolean submenu)
void g_lo_action_group_set_action_enabled(GLOActionGroup *group, const gchar *action_name, gboolean enabled)
void g_lo_action_group_insert_stateful(GLOActionGroup *group, const gchar *action_name, gint item_id, gboolean submenu, const GVariantType *parameter_type, const GVariantType *state_type, GVariant *state_hint, GVariant *state)
gpointer padding[12]
GObjectClass parent_class
GLOActionGroupPrivate * priv
GObject parent_instance