![]() |
![]() |
![]() |
libeek Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct EekXkbLayout; struct EekXkbLayoutClass; EekLayout * eek_xkb_layout_new (void
); gboolean eek_xkb_layout_set_names (EekXkbLayout *layout
,XkbComponentNamesRec *names
); gboolean eek_xkb_layout_set_names_full (EekXkbLayout *layout
,...
); gboolean eek_xkb_layout_set_names_full_valist (EekXkbLayout *layout
,va_list var_args
); gboolean eek_xkb_layout_set_keycodes (EekXkbLayout *layout
,const gchar *keycodes
); gboolean eek_xkb_layout_set_geometry (EekXkbLayout *layout
,const gchar *geometry
); gboolean eek_xkb_layout_set_symbols (EekXkbLayout *layout
,const gchar *symbols
); const gchar * eek_xkb_layout_get_keycodes (EekXkbLayout *layout
); const gchar * eek_xkb_layout_get_geometry (EekXkbLayout *layout
); const gchar * eek_xkb_layout_get_symbols (EekXkbLayout *layout
); EekXkbLayoutPrivate;
"geometry" gchar* : Read / Write "keycodes" gchar* : Read / Write "symbols" gchar* : Read / Write
gboolean eek_xkb_layout_set_names (EekXkbLayout *layout
,XkbComponentNamesRec *names
);
Set the XKB component names to layout
.
|
an EekXkbLayout |
|
XKB component names |
Returns : |
TRUE if any of the component names changed, FALSE otherwise |
gboolean eek_xkb_layout_set_names_full (EekXkbLayout *layout
,...
);
Set the XKB component names to layout
. This function is merely a
wrapper around eek_xkb_layout_set_names()
to avoid passing a
pointer of XkbComponentNamesRec, which is not currently available
in the gobject-introspection repository.
Available component names are: keymap, keycodes, types, compat, symbols, geometry.
|
an EekXkbLayout |
|
pairs of component name and value, terminated by NULL. |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise |
Since 0.0.2
gboolean eek_xkb_layout_set_names_full_valist (EekXkbLayout *layout
,va_list var_args
);
See eek_xkb_layout_set_names_full()
, this version takes a
va_list for language bindings to use.
|
an EekXkbLayout |
|
va_list of pairs of component name and value. |
Since 0.0.5
gboolean eek_xkb_layout_set_keycodes (EekXkbLayout *layout
,const gchar *keycodes
);
Set the keycodes component (in the XKB terminology).
|
an EekXkbLayout |
|
component name for keycodes |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise |
gboolean eek_xkb_layout_set_geometry (EekXkbLayout *layout
,const gchar *geometry
);
|
an EekXkbLayout |
|
component name for geometry |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise |
gboolean eek_xkb_layout_set_symbols (EekXkbLayout *layout
,const gchar *symbols
);
Set the symbols component (in the XKB terminology).
|
an EekXkbLayout |
|
component name for symbols |
Returns : |
TRUE if the component name is successfully set, FALSE otherwise |
const gchar * eek_xkb_layout_get_keycodes (EekXkbLayout *layout
);
Get the keycodes component name (in the XKB terminology).
|
an EekXkbLayout |
const gchar * eek_xkb_layout_get_geometry (EekXkbLayout *layout
);
Get the geometry component name (in the XKB terminology).
|
an EekXkbLayout |
const gchar * eek_xkb_layout_get_symbols (EekXkbLayout *layout
);
Get the symbols component name (in the XKB terminology).
|
an EekXkbLayout |
"geometry"
property"geometry" gchar* : Read / Write
XKB geometry component name.
Default value: NULL
"keycodes"
property"keycodes" gchar* : Read / Write
XKB keycodes component name.
Default value: NULL
"symbols"
property"symbols" gchar* : Read / Write
XKB symbols component name.
Default value: NULL