Top | ![]() |
![]() |
![]() |
![]() |
EekSymbolCategory | eek_symbol_category_from_name () |
const gchar * | eek_symbol_category_get_name () |
EekSymbolCategory | eek_symbol_get_category () |
const gchar * | eek_symbol_get_icon_name () |
const gchar * | eek_symbol_get_label () |
EekModifierType | eek_symbol_get_modifier_mask () |
const gchar * | eek_symbol_get_name () |
gboolean | eek_symbol_is_modifier () |
EekSymbol * | eek_symbol_new () |
void | eek_symbol_set_category () |
void | eek_symbol_set_icon_name () |
void | eek_symbol_set_label () |
void | eek_symbol_set_modifier_mask () |
void | eek_symbol_set_name () |
EekSymbolCategory | category | Read / Write / Construct |
char * | icon-name | Read / Write / Construct |
char * | label | Read / Write / Construct |
EekModifierType | modifier-mask | Read / Write / Construct |
char * | name | Read / Write / Construct |
char * | tooltip | Read / Write / Construct |
EekSymbolCategory
eek_symbol_category_from_name (const gchar *name
);
const gchar *
eek_symbol_category_get_name (EekSymbolCategory category
);
EekSymbolCategory
eek_symbol_get_category (EekSymbol *symbol
);
Get symbol category of symbol
.
const gchar *
eek_symbol_get_icon_name (EekSymbol *symbol
);
Get the icon name of symbol
.
const gchar *
eek_symbol_get_label (EekSymbol *symbol
);
Get the label text of symbol
.
EekModifierType
eek_symbol_get_modifier_mask (EekSymbol *symbol
);
Get modifier mask that symbol
can trigger.
const gchar *
eek_symbol_get_name (EekSymbol *symbol
);
Get the name of symbol
.
gboolean
eek_symbol_is_modifier (EekSymbol *symbol
);
Check if symbol
is a modifier.
EekSymbol *
eek_symbol_new (const gchar *name
);
Create a new EekSymbol with name
.
void eek_symbol_set_category (EekSymbol *symbol
,EekSymbolCategory category
);
Set symbol category of symbol
to category
.
void eek_symbol_set_icon_name (EekSymbol *symbol
,const gchar *icon_name
);
Set the icon name of symbol
to icon_name
.
void eek_symbol_set_label (EekSymbol *symbol
,const gchar *label
);
Set the label text of symbol
to label
.
void eek_symbol_set_modifier_mask (EekSymbol *symbol
,EekModifierType mask
);
Set modifier mask that symbol
can trigger.
typedef struct _EekSymbol EekSymbol;
The EekSymbol structure contains only private data and should only be accessed using the provided API.
Category of the key symbols.
the symbol represents an alphabet letter |
||
the symbol represents a function |
||
the symbol does not have meaning but have a name |
||
reserved for future use |
||
reserved for future use |
||
reserved for future use |
||
reserved for future use |
||
reserved for future use |
||
used for error reporting |
||
the last symbol category |
“category”
property“category” EekSymbolCategory
Category of the symbol.
Owner: EekSymbol
Flags: Read / Write / Construct
Default value: EEK_SYMBOL_CATEGORY_UNKNOWN
“icon-name”
property “icon-name” char *
Icon name used to render the symbol.
Owner: EekSymbol
Flags: Read / Write / Construct
Default value: NULL
“label”
property “label” char *
Text used to display the symbol.
Owner: EekSymbol
Flags: Read / Write / Construct
Default value: NULL
“modifier-mask”
property“modifier-mask” EekModifierType
Modifier mask of the symbol.
Owner: EekSymbol
Flags: Read / Write / Construct
“name”
property “name” char *
Canonical name of the symbol.
Owner: EekSymbol
Flags: Read / Write / Construct
Default value: NULL