gtk :: GtkInputPurpose :: defaultinit
gtk :: GtkInputPurpose :: password
Likefree_form
, but characters are hidden
gtk $ GtkInputPurpose :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkInputPurpose :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkInputPurpose :: password
Likefree_form
, but characters are hidden
# Describe the purpose of an input widget
extern class GtkInputPurpose `{ GtkInputPurpose `}
# Allow any character
new free_form `{ return GTK_INPUT_PURPOSE_FREE_FORM; `}
# Allow only alphabetic characters
new alpha `{ return GTK_INPUT_PURPOSE_ALPHA; `}
# Allow only digits
new digits `{ return GTK_INPUT_PURPOSE_DIGITS; `}
# Edited field expects numbers
new number `{ return GTK_INPUT_PURPOSE_NUMBER; `}
# Edited field expects phone number
new phone `{ return GTK_INPUT_PURPOSE_PHONE; `}
# Edited field expects URL
new url `{ return GTK_INPUT_PURPOSE_URL; `}
# Edited field expects email address
new email `{ return GTK_INPUT_PURPOSE_EMAIL; `}
# Edited field expects the name of a person
new name `{ return GTK_INPUT_PURPOSE_NAME; `}
# Like `free_form`, but characters are hidden
new password `{ return GTK_INPUT_PURPOSE_PASSWORD; `}
# Like `digits`, but characters are hidden
new pin `{ return GTK_INPUT_PURPOSE_PIN; `}
end
lib/gtk/v3_6.nit:49,1--80,3