EekXklLayout

EekXklLayout — Layout engine using Libxklavier configuration

Functions

Properties

GStrv layouts Read / Write
char * model Read / Write
GStrv options Read / Write
GStrv variants Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── EekLayout
        ╰── EekXkbLayout
            ╰── EekXklLayout

Implemented Interfaces

EekXklLayout implements GInitable.

Description

The EekXklLayout is a simple wrapper around EekXkbLayout class to use Libxklavier configuration.

Functions

eek_xkl_layout_disable_option ()

gboolean
eek_xkl_layout_disable_option (EekXklLayout *layout,
                               const gchar *option);

Unset the option of layout (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

option

option name

 

Returns

TRUE if the current layout changed, FALSE otherwise


eek_xkl_layout_enable_option ()

gboolean
eek_xkl_layout_enable_option (EekXklLayout *layout,
                              const gchar *option);

Set the option of layout (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

option

option name

 

Returns

TRUE if the current layout changed, FALSE otherwise


eek_xkl_layout_get_layouts ()

gchar **
eek_xkl_layout_get_layouts (EekXklLayout *layout);

Get the layout names of layout configuration (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

eek_xkl_layout_get_model ()

gchar *
eek_xkl_layout_get_model (EekXklLayout *layout);

Get the model name of layout configuration (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

eek_xkl_layout_get_option ()

gboolean
eek_xkl_layout_get_option (EekXklLayout *layout,
                           const gchar *option);

Tell if the option of layout (in the Libxklavier terminology) is set.

Parameters

layout

an EekXklLayout

 

option

option name

 

Returns

TRUE if the option is set, FALSE otherwise


eek_xkl_layout_get_options ()

gchar **
eek_xkl_layout_get_options (EekXklLayout *layout);

Get the option names of layout configuration (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

eek_xkl_layout_get_variants ()

gchar **
eek_xkl_layout_get_variants (EekXklLayout *layout);

Get the variant names of layout configuration (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

eek_xkl_layout_new ()

EekLayout *
eek_xkl_layout_new (Display *display,
                    GError **error);

Create a new EekXklLayout.


eek_xkl_layout_set_config ()

gboolean
eek_xkl_layout_set_config (EekXklLayout *layout,
                           XklConfigRec *config);

Reconfigure layout with config .

[skip]

Parameters

layout

an EekXklLayout

 

config

Libxklavier configuration

 

Returns

TRUE if the current layout changed, FALSE otherwise


eek_xkl_layout_set_config_full ()

gboolean
eek_xkl_layout_set_config_full (EekXklLayout *layout,
                                gchar *model,
                                gchar **layouts,
                                gchar **variants,
                                gchar **options);

Reconfigure layout with model , layouts , variants , and options . This function is merely a wrapper around eek_xkl_layout_set_config() to avoid passing a pointer of XklConfigRec, which is not currently available in the gobject-introspection repository.

Parameters

layout

an EekXklLayout

 

model

Libxklavier model name

 

layouts

Libxklavier layouts

 

variants

Libxklavier variants

 

options

Libxklavier options

 

Returns

TRUE if the current layout changed, FALSE otherwise

Since: 0.0.2


eek_xkl_layout_set_layouts ()

gboolean
eek_xkl_layout_set_layouts (EekXklLayout *layout,
                            gchar **layouts);

Set the layout names of layout (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

layouts

layout names

 

Returns

TRUE if the current layout changed, FALSE otherwise


eek_xkl_layout_set_model ()

gboolean
eek_xkl_layout_set_model (EekXklLayout *layout,
                          const gchar *model);

Set the model name of layout configuration (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

model

model name

 

Returns

TRUE if the current layout changed, FALSE otherwise


eek_xkl_layout_set_options ()

gboolean
eek_xkl_layout_set_options (EekXklLayout *layout,
                            gchar **options);

Set the option names of layout (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

options

option names

 

Returns

TRUE if the current layout changed, FALSE otherwise


eek_xkl_layout_set_variants ()

gboolean
eek_xkl_layout_set_variants (EekXklLayout *layout,
                             gchar **variants);

Set the variant names of layout (in the Libxklavier terminology).

Parameters

layout

an EekXklLayout

 

variants

variant names

 

Returns

TRUE if the current layout changed, FALSE otherwise

Types and Values

struct EekXklLayout

struct EekXklLayout;

struct EekXklLayoutClass

struct EekXklLayoutClass {
};

Property Details

The “layouts” property

  “layouts”                  GStrv

The libxklavier layout names of EekXklLayout.

Owner: EekXklLayout

Flags: Read / Write


The “model” property

  “model”                    char *

The libxklavier model name of EekXklLayout.

Owner: EekXklLayout

Flags: Read / Write

Default value: NULL


The “options” property

  “options”                  GStrv

The libxklavier option names of EekXklLayout.

Owner: EekXklLayout

Flags: Read / Write


The “variants” property

  “variants”                 GStrv

The libxklavier variant names of EekXklLayout.

Owner: EekXklLayout

Flags: Read / Write