LibreOffice Module vcl (master) 1
Macros | Functions
glomenu.h File Reference
#include <gio/gio.h>
Include dependency graph for glomenu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define G_LO_MENU_ATTRIBUTE_ACCELERATOR   "accel"
 
#define G_LO_MENU_ATTRIBUTE_COMMAND   "command"
 
#define G_LO_MENU_ATTRIBUTE_SUBMENU_ACTION   "submenu-action"
 
#define G_TYPE_LO_MENU   (g_lo_menu_get_type ())
 
#define G_LO_MENU(inst)
 
#define G_IS_LO_MENU(inst)
 

Functions

GLIB_AVAILABLE_IN_2_32 GType g_lo_menu_get_type (void) G_GNUC_CONST
 
GLIB_AVAILABLE_IN_2_32 GLOMenu * g_lo_menu_new (void)
 
gint g_lo_menu_get_n_items_from_section (GLOMenu *menu, gint section)
 
void g_lo_menu_insert (GLOMenu *menu, gint position, const gchar *label)
 
void g_lo_menu_insert_in_section (GLOMenu *menu, gint section, gint position, const gchar *label)
 
void g_lo_menu_new_section (GLOMenu *menu, gint position, const gchar *label)
 
void g_lo_menu_insert_section (GLOMenu *menu, gint position, const gchar *label, GMenuModel *section)
 
GLOMenu * g_lo_menu_get_section (GLOMenu *menu, gint section)
 
void g_lo_menu_remove (GLOMenu *menu, gint position)
 
void g_lo_menu_remove_from_section (GLOMenu *menu, gint section, gint position)
 
void g_lo_menu_set_label (GLOMenu *menu, gint position, const gchar *label)
 
void g_lo_menu_set_icon (GLOMenu *menu, gint position, const GIcon *icon)
 
void g_lo_menu_set_label_to_item_in_section (GLOMenu *menu, gint section, gint position, const gchar *label)
 
void g_lo_menu_set_icon_to_item_in_section (GLOMenu *menu, gint section, gint position, const GIcon *icon)
 
gchar * g_lo_menu_get_label_from_item_in_section (GLOMenu *menu, gint section, gint position)
 
void g_lo_menu_set_action_and_target_value (GLOMenu *menu, gint position, const gchar *command, GVariant *target_value)
 
void g_lo_menu_set_action_and_target_value_to_item_in_section (GLOMenu *menu, gint section, gint position, const gchar *command, GVariant *target_value)
 
void g_lo_menu_set_command_to_item_in_section (GLOMenu *menu, gint section, gint position, const gchar *command)
 
gchar * g_lo_menu_get_command_from_item_in_section (GLOMenu *menu, gint section, gint position)
 
void g_lo_menu_set_accelerator_to_item_in_section (GLOMenu *menu, gint section, gint position, const gchar *accelerator)
 
gchar * g_lo_menu_get_accelerator_from_item_in_section (GLOMenu *menu, gint section, gint position)
 
void g_lo_menu_new_submenu_in_item_in_section (GLOMenu *menu, gint section, gint position)
 
GLOMenu * g_lo_menu_get_submenu_from_item_in_section (GLOMenu *menu, gint section, gint position)
 
void g_lo_menu_set_submenu_action_to_item_in_section (GLOMenu *menu, gint section, gint position, const gchar *action)
 

Macro Definition Documentation

◆ G_IS_LO_MENU

#define G_IS_LO_MENU (   inst)
Value:
(G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
#define G_TYPE_LO_MENU
Definition: glomenu.h:22

Definition at line 25 of file glomenu.h.

◆ G_LO_MENU

#define G_LO_MENU (   inst)
Value:
(G_TYPE_CHECK_INSTANCE_CAST ((inst), \
G_TYPE_LO_MENU, GLOMenu))

Definition at line 23 of file glomenu.h.

◆ G_LO_MENU_ATTRIBUTE_ACCELERATOR

#define G_LO_MENU_ATTRIBUTE_ACCELERATOR   "accel"

Definition at line 16 of file glomenu.h.

◆ G_LO_MENU_ATTRIBUTE_COMMAND

#define G_LO_MENU_ATTRIBUTE_COMMAND   "command"

Definition at line 17 of file glomenu.h.

◆ G_LO_MENU_ATTRIBUTE_SUBMENU_ACTION

#define G_LO_MENU_ATTRIBUTE_SUBMENU_ACTION   "submenu-action"

Definition at line 18 of file glomenu.h.

◆ G_TYPE_LO_MENU

#define G_TYPE_LO_MENU   (g_lo_menu_get_type ())

Definition at line 22 of file glomenu.h.

Function Documentation

◆ g_lo_menu_get_accelerator_from_item_in_section()

gchar * g_lo_menu_get_accelerator_from_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position 
)

◆ g_lo_menu_get_command_from_item_in_section()

gchar * g_lo_menu_get_command_from_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position 
)

◆ g_lo_menu_get_label_from_item_in_section()

gchar * g_lo_menu_get_label_from_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position 
)

◆ g_lo_menu_get_n_items_from_section()

gint g_lo_menu_get_n_items_from_section ( GLOMenu *  menu,
gint  section 
)

◆ g_lo_menu_get_section()

GLOMenu * g_lo_menu_get_section ( GLOMenu *  menu,
gint  section 
)

◆ g_lo_menu_get_submenu_from_item_in_section()

GLOMenu * g_lo_menu_get_submenu_from_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position 
)

◆ g_lo_menu_get_type()

GLIB_AVAILABLE_IN_2_32 GType g_lo_menu_get_type ( void  )

◆ g_lo_menu_insert()

void g_lo_menu_insert ( GLOMenu *  menu,
gint  position,
const gchar *  label 
)

◆ g_lo_menu_insert_in_section()

void g_lo_menu_insert_in_section ( GLOMenu *  menu,
gint  section,
gint  position,
const gchar *  label 
)

◆ g_lo_menu_insert_section()

void g_lo_menu_insert_section ( GLOMenu *  menu,
gint  position,
const gchar *  label,
GMenuModel *  section 
)

◆ g_lo_menu_new()

GLIB_AVAILABLE_IN_2_32 GLOMenu * g_lo_menu_new ( void  )

◆ g_lo_menu_new_section()

void g_lo_menu_new_section ( GLOMenu *  menu,
gint  position,
const gchar *  label 
)

◆ g_lo_menu_new_submenu_in_item_in_section()

void g_lo_menu_new_submenu_in_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position 
)

◆ g_lo_menu_remove()

void g_lo_menu_remove ( GLOMenu *  menu,
gint  position 
)

◆ g_lo_menu_remove_from_section()

void g_lo_menu_remove_from_section ( GLOMenu *  menu,
gint  section,
gint  position 
)

◆ g_lo_menu_set_accelerator_to_item_in_section()

void g_lo_menu_set_accelerator_to_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position,
const gchar *  accelerator 
)

◆ g_lo_menu_set_action_and_target_value()

void g_lo_menu_set_action_and_target_value ( GLOMenu *  menu,
gint  position,
const gchar *  command,
GVariant *  target_value 
)

◆ g_lo_menu_set_action_and_target_value_to_item_in_section()

void g_lo_menu_set_action_and_target_value_to_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position,
const gchar *  command,
GVariant *  target_value 
)

◆ g_lo_menu_set_command_to_item_in_section()

void g_lo_menu_set_command_to_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position,
const gchar *  command 
)

◆ g_lo_menu_set_icon()

void g_lo_menu_set_icon ( GLOMenu *  menu,
gint  position,
const GIcon *  icon 
)

◆ g_lo_menu_set_icon_to_item_in_section()

void g_lo_menu_set_icon_to_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position,
const GIcon *  icon 
)

◆ g_lo_menu_set_label()

void g_lo_menu_set_label ( GLOMenu *  menu,
gint  position,
const gchar *  label 
)

◆ g_lo_menu_set_label_to_item_in_section()

void g_lo_menu_set_label_to_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position,
const gchar *  label 
)

◆ g_lo_menu_set_submenu_action_to_item_in_section()

void g_lo_menu_set_submenu_action_to_item_in_section ( GLOMenu *  menu,
gint  section,
gint  position,
const gchar *  action 
)