set_input_purpose


Description:

public void set_input_purpose (InputPurpose purpose)

Sets the input purpose of the text widget.

The input purpose can be used by on-screen keyboards and other input methods to adjust their behaviour.

Parameters:

this

a text widget

purpose

the input purpose