Entry.inputPurpose

Get inputPurpose property.

  1. gtk.types.InputPurpose inputPurpose [@property getter]
    class Entry
    @property
    inputPurpose
    ()
  2. gtk.types.InputPurpose inputPurpose [@property setter]

Return Value

Type: gtk.types.InputPurpose

The purpose of this text field.

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

Note that setting the purpose to gtk.types.InputPurpose.Password or gtk.types.InputPurpose.Pin is independent from setting gtk.entry.Entry.visibility.