![]() |
![]() |
![]() |
libeek Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
EekLayoutIface; EekLayout; void eek_layout_apply (EekLayout *layout
,EekKeyboard *keyboard
); gint eek_layout_get_group (EekLayout *layout
);
The EekLayout class is a base interface of layout engine which arranges keyboard elements.
typedef struct { void (* apply) (EekLayout *self, EekKeyboard *keyboard); gint (* get_group) (EekLayout *self); /* signals */ void (* group_changed) (EekLayout *self, gint group); void (* changed) (EekLayout *self); } EekLayoutIface;
void eek_layout_apply (EekLayout *layout
,EekKeyboard *keyboard
);
Apply layout
to keyboard
. This function is rarely called by user
programs but called by the subclasses of EekKeyboard.
|
an EekLayout |
|
an EekKeyboard |
gint eek_layout_get_group (EekLayout *layout
);
Get the group index from the layout
. This function normally
called after "group-changed" signal to change group index
of all the keys in EekKeyboard at a time.
|
an EekLayout |