Freeciv-3.3
Loading...
Searching...
No Matches
Data Fields
menu_entry_info Struct Reference

Data Fields

const charkey
 
const charname
 
guint accel
 
GdkModifierType accel_mod
 
GCallback cb
 
enum menu_entry_grouping grouping
 
const charaction
 
const characcl
 
void(* toggle )(GSimpleAction *act, GVariant *value, gpointer data)
 
bool state
 

Detailed Description

Definition at line 97 of file menu.c.

Field Documentation

◆ accel

guint menu_entry_info::accel

Definition at line 100 of file menu.c.

Referenced by menu_entry_init().

◆ accel_mod

GdkModifierType menu_entry_info::accel_mod

Definition at line 101 of file menu.c.

Referenced by menu_entry_init().

◆ accl

const char * menu_entry_info::accl

Definition at line 95 of file menu.c.

Referenced by create_toggle_menu_item(), and setup_app_actions().

◆ action

const char * menu_entry_info::action

◆ cb

GCallback menu_entry_info::cb

Definition at line 102 of file menu.c.

Referenced by menu_entry_init(), and view_menu_item_toggle().

◆ grouping

enum menu_entry_grouping menu_entry_info::grouping

Definition at line 103 of file menu.c.

◆ key

const char * menu_entry_info::key

◆ name

const char * menu_entry_info::name

Definition at line 99 of file menu.c.

Referenced by create_toggle_menu_item(), menu_entry_init(), and menu_entry_init().

◆ state

bool menu_entry_info::state

◆ toggle

void(* menu_entry_info::toggle)(GSimpleAction *act, GVariant *value, gpointer data)

Definition at line 97 of file menu.c.

Referenced by menu_entry_init(), and setup_app_actions().