Gkbd.Configuration

g GObject.Object GObject.Object Gkbd.Configuration Gkbd.Configuration GObject.Object->Gkbd.Configuration

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

create_label_title (group, ln2cnt_map, layout_name)

class

get ()

append_object (obj)

extract_layout_name (group)

free_images (images)

get_all_objects ()

get_caps_lock_state ()

get_current_group ()

get_current_tooltip ()

get_group_name (group)

get_group_names ()

get_image_filename (group)

get_indicator_config ()

get_keyboard_config ()

get_num_lock_state ()

get_scroll_lock_state ()

get_short_group_names ()

get_xkl_engine ()

if_any_object_exists ()

if_flags_shown ()

load_images ()

lock_group (group)

lock_next_group ()

remove_object (obj)

start_listen ()

stop_listen ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

changed

group-changed

indicators-changed

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Gkbd.Configuration(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gkbd.ConfigurationClass

classmethod create_label_title(group, ln2cnt_map, layout_name)
Parameters:
Return type:

str

classmethod get()
Returns:

singleton of Gkbd.Configuration

Return type:

Gkbd.Configuration

append_object(obj)
Parameters:

obj (GObject.Object) –

extract_layout_name(group)
Parameters:

group (int) –

Return type:

str

free_images(images)
Parameters:

images ([GdkPixbuf.Pixbuf]) – list of images

get_all_objects()
Returns:

list of widgets/status icons/…

Return type:

[GObject.Object]

get_caps_lock_state()
Return type:

bool

get_current_group()
Return type:

int

get_current_tooltip()
Return type:

str

get_group_name(group)
Parameters:

group (int) –

Returns:

group name

Return type:

str or None

get_group_names()
Returns:

full group names

Return type:

[str]

get_image_filename(group)
Parameters:

group (int) –

Return type:

str

get_indicator_config()
Returns:

indicator config

Return type:

Gkbd.IndicatorConfig

get_keyboard_config()
Returns:

keyboard config

Return type:

Gkbd.KeyboardConfig

get_num_lock_state()
Return type:

bool

get_scroll_lock_state()
Return type:

bool

get_short_group_names()
Returns:

short group names

Return type:

[str]

get_xkl_engine()
Returns:

The engine used by Gkbd.Configuration object

Return type:

Xkl.Engine

if_any_object_exists()
Return type:

bool

if_flags_shown()
Return type:

bool

load_images()
Returns:

list of images

Return type:

[GdkPixbuf.Pixbuf]

lock_group(group)
Parameters:

group (int) –

lock_next_group()
remove_object(obj)
Parameters:

obj (GObject.Object) –

start_listen()
stop_listen()

Signal Details

Gkbd.Configuration.signals.changed(configuration)
Signal Name:

changed

Flags:

RUN_LAST

Parameters:

configuration (Gkbd.Configuration) – The object which received the signal

Gkbd.Configuration.signals.group_changed(configuration, object)
Signal Name:

group-changed

Flags:

RUN_LAST

Parameters:
Gkbd.Configuration.signals.indicators_changed(configuration)
Signal Name:

indicators-changed

Flags:

RUN_LAST

Parameters:

configuration (Gkbd.Configuration) – The object which received the signal