Gtk.Entry:input-purpose
"input-purpose" Gtk.InputPurpose : Read / Write
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.InputPurpose.password or Gtk.InputPurpose.pin is independent from setting Gtk.visibility.
Since 3.6