Top |
void | gnt_style_read_configure_file () |
const char * | gnt_style_get () |
char * | gnt_style_get_from_name () |
char ** | gnt_style_get_string_list () |
int | gnt_style_get_color () |
gboolean | gnt_style_parse_bool () |
gboolean | gnt_style_get_bool () |
void | gnt_styles_get_keyremaps () |
void | gnt_style_read_actions () |
gboolean | gnt_style_read_menu_accels () |
void | gnt_style_read_workspaces () |
void | gnt_init_styles () |
void | gnt_uninit_styles () |
void
gnt_style_read_configure_file (const char *filename
);
Read configuration from a file.
char * gnt_style_get_from_name (const char *group
,const char *key
);
Get the value of a preference in ~/.gntrc.
group |
The name of the group in the keyfile. If |
|
key |
The key |
Since: 2.1.0
char ** gnt_style_get_string_list (const char *group
,const char *key
,gsize *length
);
Get the value of a preference in ~/.gntrc.
group |
The name of the group in the keyfile. If |
|
key |
The key |
|
length |
Return location for the number of strings returned, or NULL |
Since: 2.4.0
int gnt_style_get_color (char *group
,char *key
);
Get the value of a color pair in ~/.gntrc.
group |
The name of the group in the keyfile. If |
|
key |
The key |
Since: 2.4.0
gboolean
gnt_style_parse_bool (const char *value
);
Parse a boolean preference. For example, if 'value' is "false" (ignoring case)
or "0", the return value will be FALSE
, otherwise TRUE
.
Since: 2.1.0
gboolean gnt_style_get_bool (GntStyle style
,gboolean def
);
Get the boolean value for a user-setting.
void gnt_styles_get_keyremaps (GType type
,GHashTable *hash
);
gnt_styles_get_keyremaps
has been deprecated since version 2.14.0 and should not be used in newly-written code.
Internal function -- do not use.
void gnt_style_read_actions (GType type
,GntBindableClass *klass
);
Internal function -- do not use.
gboolean gnt_style_read_menu_accels (const char *name
,GHashTable *table
);
Read menu-accels from ~/.gntrc
void
gnt_style_read_workspaces (GntWM *wm
);
gnt_style_read_workspaces
has been deprecated since version 2.14.0 and should not be used in newly-written code.
Reads workspace information.
Internal function -- do not use.