![]() |
![]() |
![]() |
Maliit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
#include <maliit/maliitinputmethod.h> struct MaliitInputMethod; struct MaliitInputMethodClass; MaliitInputMethod * maliit_input_method_new (void
); void maliit_input_method_get_area (MaliitInputMethod *input_method
,int *x
,int *y
,int *width
,int *height
); void maliit_input_method_hide (MaliitInputMethod *input_method
); void maliit_input_method_show (MaliitInputMethod *input_method
);
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.
Returns : |
A new MaliitInputMethod. [transfer full] |
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
.
|
The MaliitInputMethod which input method area you want to get. [transfer none] |
|
X coordinate of current input method area's top-left corner. [out] |
|
Y coordinate of current input method area's top-left corner. [out] |
|
Width of current input method area. [out] |
|
Height of current input method area. [out] |
void maliit_input_method_hide (MaliitInputMethod *input_method
);
Request to explicitly hide the Maliit virtual keyboard.
|
The MaliitInputMethod which you want to hide. [transfer none] |
void maliit_input_method_show (MaliitInputMethod *input_method
);
Request to explicitly show the Maliit virtual keyboard.
|
The MaliitInputMethod which you want to show. [transfer none] |
"area-changed"
signalvoid user_function (MaliitInputMethod *input_method,
gint x,
gint y,
gint width,
gint height,
gpointer user_data) : Run First
Informs application that the input method area (area on the screen occupied by a virtual keyboard) is changed.
|
The MaliitInputMethod emitting the signal. |
|
X coordinate of new input method area's top-left corner. |
|
Y coordinate of new input method area's top-left corner. . |
|
Width of new input method area. |
|
Height of new input method area. |
|
user data set when the signal handler was connected. |