Top | ![]() |
![]() |
![]() |
![]() |
MaliitInputMethod * | maliit_input_method_new () |
void | maliit_input_method_get_area () |
void | maliit_input_method_hide () |
void | maliit_input_method_show () |
MaliitInputMethod class can be used by application to query maliit-server for currently shown IM plugin area and to request maliit-server to show or hide the IM plugin.
MaliitInputMethod *
maliit_input_method_new (void
);
Returns a new maliit input method.
void maliit_input_method_get_area (MaliitInputMethod *input_method
,int *x
,int *y
,int *width
,int *height
);
Get the current input method area in x
, y
, width
and height
.
input_method |
The MaliitInputMethod which input method area you want to get. |
[transfer none] |
x |
X coordinate of current input method area's top-left corner. |
[out] |
y |
Y coordinate of current input method area's top-left corner. |
[out] |
width |
Width of current input method area. |
[out] |
height |
Height of current input method area. |
[out] |
void
maliit_input_method_hide (MaliitInputMethod *input_method
);
Request to explicitly hide the Maliit virtual keyboard.
void
maliit_input_method_show (MaliitInputMethod *input_method
);
Request to explicitly show the Maliit virtual keyboard.
“area-changed”
signalvoid user_function (MaliitInputMethod *input_method, gint x, gint y, gint width, gint height, gpointer user_data)
Informs application that the input method area (area on the screen occupied by a virtual keyboard) is changed.
input_method |
The MaliitInputMethod emitting the signal. |
|
x |
X coordinate of new input method area's top-left corner. |
|
y |
Y coordinate of new input method area's top-left corner. . |
|
width |
Width of new input method area. |
|
height |
Height of new input method area. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First