![]() |
![]() |
![]() |
libeek Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
EekXklLayout; EekXklLayoutClass; EekXklLayoutPrivate; EekLayout * eek_xkl_layout_new (void
); gboolean eek_xkl_layout_set_config (EekXklLayout *layout
,XklConfigRec *config
); gboolean eek_xkl_layout_set_config_full (EekXklLayout *layout
,gchar *model
,gchar **layouts
,gchar **variants
,gchar **options
); gboolean eek_xkl_layout_set_model (EekXklLayout *layout
,const gchar *model
); gboolean eek_xkl_layout_set_layouts (EekXklLayout *layout
,gchar **layouts
); gboolean eek_xkl_layout_set_variants (EekXklLayout *layout
,gchar **variants
); gboolean eek_xkl_layout_set_options (EekXklLayout *layout
,gchar **options
); gchar * eek_xkl_layout_get_model (EekXklLayout *layout
); gchar ** eek_xkl_layout_get_layouts (EekXklLayout *layout
); gchar ** eek_xkl_layout_get_variants (EekXklLayout *layout
); gchar ** eek_xkl_layout_get_options (EekXklLayout *layout
); gboolean eek_xkl_layout_disable_option (EekXklLayout *layout
,const gchar *option
); gboolean eek_xkl_layout_enable_option (EekXklLayout *layout
,const gchar *option
); gboolean eek_xkl_layout_get_option (EekXklLayout *layout
,const gchar *option
);
The EekXklLayout is a simple wrapper around EekXkbLayout class to use Libxklavier configuration.
gboolean eek_xkl_layout_set_config (EekXklLayout *layout
,XklConfigRec *config
);
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.
|
an EekXklLayout |
|
Libxklavier model name |
|
Libxklavier layouts |
|
Libxklavier variants |
|
Libxklavier options |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise
|
Since 0.0.2
gboolean eek_xkl_layout_set_model (EekXklLayout *layout
,const gchar *model
);
Set the model name of layout
configuration (in the Libxklavier terminology).
|
an EekXklLayout |
|
model name |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise
|
gboolean eek_xkl_layout_set_layouts (EekXklLayout *layout
,gchar **layouts
);
Set the layout names of layout
(in the Libxklavier terminology).
|
an EekXklLayout |
|
layout names |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise
|
gboolean eek_xkl_layout_set_variants (EekXklLayout *layout
,gchar **variants
);
Set the variant names of layout
(in the Libxklavier terminology).
|
an EekXklLayout |
|
variant names |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise
|
gboolean eek_xkl_layout_set_options (EekXklLayout *layout
,gchar **options
);
Set the option names of layout
(in the Libxklavier terminology).
|
an EekXklLayout |
|
option names |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise
|
gchar * eek_xkl_layout_get_model (EekXklLayout *layout
);
Get the model name of layout
configuration (in the Libxklavier terminology).
|
an EekXklLayout |
gchar ** eek_xkl_layout_get_layouts (EekXklLayout *layout
);
Get the layout names of layout
configuration (in the Libxklavier
terminology).
|
an EekXklLayout |
gchar ** eek_xkl_layout_get_variants (EekXklLayout *layout
);
Get the variant names of layout
configuration (in the Libxklavier
terminology).
|
an EekXklLayout |
gchar ** eek_xkl_layout_get_options (EekXklLayout *layout
);
Get the option names of layout
configuration (in the Libxklavier
terminology).
|
an EekXklLayout |
gboolean eek_xkl_layout_disable_option (EekXklLayout *layout
,const gchar *option
);
Unset the option of layout
(in the Libxklavier terminology).
|
an EekXklLayout |
|
option name |
Returns : |
TRUE if the option is successfully unset, FALSE otherwise
|
gboolean eek_xkl_layout_enable_option (EekXklLayout *layout
,const gchar *option
);
Set the option of layout
(in the Libxklavier terminology).
|
an EekXklLayout |
|
option name |
Returns : |
TRUE if the option is successfully set, FALSE otherwise
|
gboolean eek_xkl_layout_get_option (EekXklLayout *layout
,const gchar *option
);
Tell if the option of layout
(in the Libxklavier terminology) is set.
|
an EekXklLayout |
|
option name |
Returns : |
TRUE if the option is set, FALSE otherwise
|