See: https://developer.gnome.org/gtk3/3.2/GtkEntry.html
gtk :: GtkEntry :: defaultinit
gtk :: GtkEntry :: input_purpose=
Input purpose, tweaks the behavior of this widgetgtk :: GtkEntry :: max_length
gtk :: GtkEntry :: max_length=
gtk :: GtkEntry :: visiblility
Is the text visible or is it the invisible char (such as '*')?core :: 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.
core :: Pointer :: defaultinit
gtk :: GtkWidget :: defaultinit
core :: Object :: defaultinit
gtk :: GtkEntry :: defaultinit
gtk :: GtkEntry :: input_purpose=
Input purpose, tweaks the behavior of this widgetcore :: 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.
gtk :: GtkEntry :: max_length
gtk :: GtkEntry :: max_length=
core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkWidget :: sensitive=
Sets the sensitivity of a widget. sensitive -> the user can interact with it.gtk :: GtkWidget :: set_size_request
Set the minimum dimension of this widgetgtk :: GtkWidget :: signal_connect
gtk :: GtkEntry :: visiblility
Is the text visible or is it the invisible char (such as '*')?gtk :: GtkSpinButton
Retrieve an integer or floating-point number from the user
# A single line text entry field
# See: https://developer.gnome.org/gtk3/3.2/GtkEntry.html
extern class GtkEntry `{GtkEntry *`}
super GtkWidget
new `{
return (GtkEntry *)gtk_entry_new();
`}
fun text: String import CString.to_s `{
return CString_to_s((char *)gtk_entry_get_text(self));
`}
fun text=(value: String) import String.to_cstring `{
gtk_entry_set_text(self, String_to_cstring(value));
`}
# Is the text visible or is it the invisible char (such as '*')?
fun visiblility: Bool `{
return gtk_entry_get_visibility(self);
`}
# Set the text visiblility
# If false, will use the invisible char (such as '*')
fun visibility=(is_visible: Bool) `{
gtk_entry_set_visibility(self, is_visible);
`}
fun max_length: Int `{
return gtk_entry_get_max_length(self);
`}
fun max_length=(max: Int) `{
gtk_entry_set_max_length(self, max);
`}
end
lib/gtk/v3_4/gtk_core.nit:469,1--504,3
redef extern class GtkEntry
# Purpose of this text field
#
# Can be used by on-screen keyboards and other input methods to adjust their behaviour.
fun input_purpose: GtkInputPurpose `{
return gtk_entry_get_input_purpose(self);
`}
# Input purpose, tweaks the behavior of this widget
#
# Can be used by on-screen keyboards and other input methods to adjust their behaviour.
fun input_purpose=(purpose: GtkInputPurpose) `{
gtk_entry_set_input_purpose(self, purpose);
`}
end
lib/gtk/v3_6.nit:33,1--47,3