Enumeration

GntStyle

Declaration

enum Gnt.Style

Description [src]

The type of style that a user might set. For boolean options, use gnt_style_get_bool(). For string options, use gnt_style_get().

Members

GNT_STYLE_SHADOW

Whether to show a shadow. Boolean.

  • Value: 0
  • Available since: 3.0
GNT_STYLE_COLOR

Whether to show colors. Boolean.

  • Value: 1
  • Available since: 3.0
GNT_STYLE_MOUSE

Whether to enable the mouse. Boolean.

  • Value: 2
  • Available since: 3.0
GNT_STYLE_WM

Which window manager to use. String.

  • Value: 3
  • Available since: 3.0
GNT_STYLE_REMPOS

Whether to remember the positions of windows. Boolean.

  • Value: 4
  • Available since: 3.0
GNT_STYLES

The number of style settings.

  • Value: 5
  • Available since: 3.0

Type functions

gnt_style_get

Get the user-setting for a style.

gnt_style_get_bool

Get the boolean value for a user-setting.

gnt_style_get_color

Get the value of a color pair in ~/.gntrc.

since: 2.4

gnt_style_get_from_name

Get the value of a preference in ~/.gntrc.

since: 2.1

gnt_style_get_string_list

Get the value of a preference in ~/.gntrc.

since: 2.4

gnt_style_parse_bool

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

gnt_style_read_actions

Read user-defined actions defined for type and register bindings on the klass.

gnt_style_read_configure_file

Read configuration from a file.

gnt_style_read_menu_accels

Read menu-accels from ~/.gntrc.