Emitted when the client application content-type (primary purpose and hints) is set.
The engine could change the behavior according to the content-type. Implement the member function IBusEngineClass::set_content_type in extended class to receive this signal.
For example, if the client application wants to restrict input to numbers, this signal will be emitted with purpose
set to
NUMBER, so the engine can switch the input mode to latin.
Argument user_data
is ignored in this function.
purpose |
Primary purpose of the input context, as an InputPurpose. |
hints |
Hints that augment |