package Gtk_Entry_Icon_Position_Properties is new Generic_Internal_Discrete_Property (Gtk_Entry_Icon_Position);
package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Entry_Record, Gtk_Entry);
package Implements_Gtk_Cell_Editable is new Glib.Types.Implements (Gtk.Cell_Editable.Gtk_Cell_Editable, Gtk_Entry_Record, Gtk_Entry);
package Implements_Gtk_Editable is new Glib.Types.Implements (Gtk.Editable.Gtk_Editable, Gtk_Entry_Record, Gtk_Entry);
type Gtk_Entry_Record is new Gtk_Widget_Record with null record;
type Gtk_Entry is access all Gtk_Entry_Record'Class;
type Gtk_Entry_Icon_Position is ( Gtk_Entry_Icon_Primary, Gtk_Entry_Icon_Secondary);
type Property_Gtk_Entry_Icon_Position is new Gtk_Entry_Icon_Position_Properties.Property;
subtype Gtk_GEntry is Gtk_Entry;
type Cb_Gtk_Entry_Void is not null access procedure (Self : access Gtk_Entry_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
type Cb_Gtk_Entry_Gtk_Delete_Type_Gint_Void is not null access procedure (Self : access Gtk_Entry_Record'Class; The_Type : Gtk.Enums.Gtk_Delete_Type; Count : Gint);
type Cb_GObject_Gtk_Delete_Type_Gint_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; The_Type : Gtk.Enums.Gtk_Delete_Type; Count : Gint);
type Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void is not null access procedure (Self : access Gtk_Entry_Record'Class; Icon_Pos : Gtk_Entry_Icon_Position; Event : Gdk.Event.Gdk_Event_Button);
type Cb_GObject_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Icon_Pos : Gtk_Entry_Icon_Position; Event : Gdk.Event.Gdk_Event_Button);
type Cb_Gtk_Entry_UTF8_String_Void is not null access procedure (Self : access Gtk_Entry_Record'Class; String : UTF8_String);
type Cb_GObject_UTF8_String_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; String : UTF8_String);
type Cb_Gtk_Entry_Gtk_Movement_Step_Gint_Boolean_Void is not null access procedure (Self : access Gtk_Entry_Record'Class; Step : Gtk.Enums.Gtk_Movement_Step; Count : Gint; Extend_Selection : Boolean);
type Cb_GObject_Gtk_Movement_Step_Gint_Boolean_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Step : Gtk.Enums.Gtk_Movement_Step; Count : Gint; Extend_Selection : Boolean);
type Cb_Gtk_Entry_Gtk_Widget_Void is not null access procedure (Self : access Gtk_Entry_Record'Class; Popup : not null access Gtk.Widget.Gtk_Widget_Record'Class);
type Cb_GObject_Gtk_Widget_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Popup : not null access Gtk.Widget.Gtk_Widget_Record'Class);
Activates_Default_Property : constant Glib.Properties.Property_Boolean;
Attributes_Property : constant Glib.Properties.Property_Object;
Buffer_Property : constant Glib.Properties.Property_Object;
Caps_Lock_Warning_Property : constant Glib.Properties.Property_Boolean;
Completion_Property : constant Glib.Properties.Property_Object;
Cursor_Position_Property : constant Glib.Properties.Property_Int;
Editable_Property : constant Glib.Properties.Property_Boolean;
Has_Frame_Property : constant Glib.Properties.Property_Boolean;
Im_Module_Property : constant Glib.Properties.Property_String;
Inner_Border_Property : constant Glib.Properties.Property_Boxed;
Input_Hints_Property : constant Gtk.Enums.Property_Gtk_Input_Hints;
Input_Purpose_Property : constant Gtk.Enums.Property_Gtk_Input_Purpose;
Invisible_Char_Property : constant Glib.Properties.Property_Uint;
Invisible_Char_Set_Property : constant Glib.Properties.Property_Boolean;
Max_Length_Property : constant Glib.Properties.Property_Int;
Overwrite_Mode_Property : constant Glib.Properties.Property_Boolean;
Placeholder_Text_Property : constant Glib.Properties.Property_String;
Populate_All_Property : constant Glib.Properties.Property_Boolean;
Primary_Icon_Activatable_Property : constant Glib.Properties.Property_Boolean;
Primary_Icon_Gicon_Property : constant Glib.Properties.Property_Boxed;
Primary_Icon_Name_Property : constant Glib.Properties.Property_String;
Primary_Icon_Pixbuf_Property : constant Glib.Properties.Property_Object;
Primary_Icon_Sensitive_Property : constant Glib.Properties.Property_Boolean;
Primary_Icon_Stock_Property : constant Glib.Properties.Property_String;
Primary_Icon_Storage_Type_Property : constant Gtk.Image.Property_Gtk_Image_Type;
Primary_Icon_Tooltip_Markup_Property : constant Glib.Properties.Property_String;
Primary_Icon_Tooltip_Text_Property : constant Glib.Properties.Property_String;
Progress_Fraction_Property : constant Glib.Properties.Property_Double;
Progress_Pulse_Step_Property : constant Glib.Properties.Property_Double;
Scroll_Offset_Property : constant Glib.Properties.Property_Int;
Secondary_Icon_Activatable_Property : constant Glib.Properties.Property_Boolean;
Secondary_Icon_Gicon_Property : constant Glib.Properties.Property_Boxed;
Secondary_Icon_Name_Property : constant Glib.Properties.Property_String;
Secondary_Icon_Pixbuf_Property : constant Glib.Properties.Property_Object;
Secondary_Icon_Sensitive_Property : constant Glib.Properties.Property_Boolean;
Secondary_Icon_Stock_Property : constant Glib.Properties.Property_String;
Secondary_Icon_Storage_Type_Property : constant Gtk.Image.Property_Gtk_Image_Type;
Secondary_Icon_Tooltip_Markup_Property : constant Glib.Properties.Property_String;
Secondary_Icon_Tooltip_Text_Property : constant Glib.Properties.Property_String;
Selection_Bound_Property : constant Glib.Properties.Property_Int;
Shadow_Type_Property : constant Gtk.Enums.Property_Gtk_Shadow_Type;
Text_Property : constant Glib.Properties.Property_String;
Text_Length_Property : constant Glib.Properties.Property_Uint;
Truncate_Multiline_Property : constant Glib.Properties.Property_Boolean;
Visibility_Property : constant Glib.Properties.Property_Boolean;
Width_Chars_Property : constant Glib.Properties.Property_Int;
Xalign_Property : constant Glib.Properties.Property_Float;
Signal_Activate : constant Glib.Signal_Name := "activate";
Signal_Backspace : constant Glib.Signal_Name := "backspace";
Signal_Copy_Clipboard : constant Glib.Signal_Name := "copy-clipboard";
Signal_Cut_Clipboard : constant Glib.Signal_Name := "cut-clipboard";
Signal_Delete_From_Cursor : constant Glib.Signal_Name := "delete-from-cursor";
Signal_Icon_Press : constant Glib.Signal_Name := "icon-press";
Signal_Icon_Release : constant Glib.Signal_Name := "icon-release";
Signal_Insert_At_Cursor : constant Glib.Signal_Name := "insert-at-cursor";
Signal_Move_Cursor : constant Glib.Signal_Name := "move-cursor";
Signal_Paste_Clipboard : constant Glib.Signal_Name := "paste-clipboard";
Signal_Populate_Popup : constant Glib.Signal_Name := "populate-popup";
Signal_Preedit_Changed : constant Glib.Signal_Name := "preedit-changed";
Signal_Toggle_Overwrite : constant Glib.Signal_Name := "toggle-overwrite";
procedure Gtk_New
( | The_Entry | : out Gtk_Entry); |
procedure Initialize
( | The_Entry | : not null access Gtk_Entry_Record'Class); |
procedure Gtk_New_With_Buffer
( | The_Entry | : out Gtk_Entry; |
Buffer | : not null access Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record'Class); |
procedure Initialize_With_Buffer
( | The_Entry | : not null access Gtk_Entry_Record'Class; |
Buffer | : not null access Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record'Class); |
function Gtk_Entry_New_With_Buffer
( | Buffer | : not null access Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record'Class) return Gtk_Entry; |
function Get_Type return Glib.GType;
function Get_Activates_Default
( | The_Entry | : not null access Gtk_Entry_Record) return Boolean; |
procedure Set_Activates_Default
( | The_Entry | : not null access Gtk_Entry_Record; |
Setting | : Boolean); |
function Get_Alignment
( | The_Entry | : not null access Gtk_Entry_Record) return Gfloat; |
procedure Set_Alignment
( | The_Entry | : not null access Gtk_Entry_Record; |
Xalign | : Gfloat); |
function Get_Attributes
( | The_Entry | : not null access Gtk_Entry_Record) return Pango.Attributes.Pango_Attr_List; |
procedure Set_Attributes
( | The_Entry | : not null access Gtk_Entry_Record; |
Attrs | : Pango.Attributes.Pango_Attr_List); |
function Get_Buffer
( | The_Entry | : not null access Gtk_Entry_Record) return Gtk.Entry_Buffer.Gtk_Entry_Buffer; |
procedure Set_Buffer
( | The_Entry | : not null access Gtk_Entry_Record; |
Buffer | : not null access Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record'Class); |
function Get_Completion
( | The_Entry | : not null access Gtk_Entry_Record) return Gtk.Entry_Completion.Gtk_Entry_Completion; |
procedure Set_Completion
( | The_Entry | : not null access Gtk_Entry_Record; |
Completion | : access Gtk.Entry_Completion.Gtk_Entry_Completion_Record'Class); |
function Get_Current_Icon_Drag_Source
( | The_Entry | : not null access Gtk_Entry_Record) return Gint; |
function Get_Cursor_Hadjustment
( | The_Entry | : not null access Gtk_Entry_Record) return Gtk.Adjustment.Gtk_Adjustment; |
procedure Set_Cursor_Hadjustment
( | The_Entry | : not null access Gtk_Entry_Record; |
Adjustment | : not null access Gtk.Adjustment.Gtk_Adjustment_Record'Class); |
function Get_Has_Frame
( | The_Entry | : not null access Gtk_Entry_Record) return Boolean; |
procedure Set_Has_Frame
( | The_Entry | : not null access Gtk_Entry_Record; |
Setting | : Boolean := True); |
function Get_Icon_Activatable
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return Boolean; |
procedure Set_Icon_Activatable
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Activatable | : Boolean); |
procedure Get_Icon_Area
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Icon_Area | : out Gdk.Rectangle.Gdk_Rectangle); |
function Get_Icon_At_Pos
( | The_Entry | : not null access Gtk_Entry_Record; |
X | : Gint; | |
Y | : Gint) return Gint; |
function Get_Icon_Gicon
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return Glib.G_Icon.G_Icon; |
function Get_Icon_Name
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return UTF8_String; |
function Get_Icon_Pixbuf
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return Gdk.Pixbuf.Gdk_Pixbuf; |
function Get_Icon_Sensitive
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return Boolean; |
procedure Set_Icon_Sensitive
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Sensitive | : Boolean); |
function Get_Icon_Stock
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return UTF8_String; |
function Get_Icon_Storage_Type
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return Gtk.Image.Gtk_Image_Type; |
function Get_Icon_Tooltip_Markup
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return UTF8_String; |
procedure Set_Icon_Tooltip_Markup
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Tooltip | : UTF8_String := ""); |
function Get_Icon_Tooltip_Text
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position) return UTF8_String; |
procedure Set_Icon_Tooltip_Text
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Tooltip | : UTF8_String := ""); |
function Get_Inner_Border
( | The_Entry | : not null access Gtk_Entry_Record) return Gtk.Style.Gtk_Border; |
procedure Set_Inner_Border
( | The_Entry | : not null access Gtk_Entry_Record; |
Border | : Gtk.Style.Gtk_Border); |
function Get_Input_Hints
( | The_Entry | : not null access Gtk_Entry_Record) return Gtk.Enums.Gtk_Input_Hints; |
procedure Set_Input_Hints
( | The_Entry | : not null access Gtk_Entry_Record; |
Hints | : Gtk.Enums.Gtk_Input_Hints); |
function Get_Input_Purpose
( | The_Entry | : not null access Gtk_Entry_Record) return Gtk.Enums.Gtk_Input_Purpose; |
procedure Set_Input_Purpose
( | The_Entry | : not null access Gtk_Entry_Record; |
Purpose | : Gtk.Enums.Gtk_Input_Purpose); |
function Get_Invisible_Char
( | The_Entry | : not null access Gtk_Entry_Record) return Gunichar; |
procedure Set_Invisible_Char
( | The_Entry | : not null access Gtk_Entry_Record; |
Char | : Gunichar); |
function Get_Layout
( | The_Entry | : not null access Gtk_Entry_Record) return Pango.Layout.Pango_Layout; |
procedure Get_Layout_Offsets
( | The_Entry | : not null access Gtk_Entry_Record; |
X | : out Gint; | |
Y | : out Gint); |
function Get_Max_Length
( | The_Entry | : not null access Gtk_Entry_Record) return Gint; |
procedure Set_Max_Length
( | The_Entry | : not null access Gtk_Entry_Record; |
Max | : Gint); |
function Get_Overwrite_Mode
( | The_Entry | : not null access Gtk_Entry_Record) return Boolean; |
procedure Set_Overwrite_Mode
( | The_Entry | : not null access Gtk_Entry_Record; |
Overwrite | : Boolean); |
function Get_Placeholder_Text
( | The_Entry | : not null access Gtk_Entry_Record) return UTF8_String; |
procedure Set_Placeholder_Text
( | The_Entry | : not null access Gtk_Entry_Record; |
Text | : UTF8_String); |
function Get_Progress_Fraction
( | The_Entry | : not null access Gtk_Entry_Record) return Gdouble; |
procedure Set_Progress_Fraction
( | The_Entry | : not null access Gtk_Entry_Record; |
Fraction | : Gdouble); |
function Get_Progress_Pulse_Step
( | The_Entry | : not null access Gtk_Entry_Record) return Gdouble; |
procedure Set_Progress_Pulse_Step
( | The_Entry | : not null access Gtk_Entry_Record; |
Fraction | : Gdouble); |
function Get_Text
( | The_Entry | : not null access Gtk_Entry_Record) return UTF8_String; |
procedure Set_Text
( | The_Entry | : not null access Gtk_Entry_Record; |
Text | : UTF8_String); |
procedure Get_Text_Area
( | The_Entry | : not null access Gtk_Entry_Record; |
Text_Area | : out Gdk.Rectangle.Gdk_Rectangle); |
function Get_Text_Length
( | The_Entry | : not null access Gtk_Entry_Record) return Guint16; |
function Get_Visibility
( | The_Entry | : not null access Gtk_Entry_Record) return Boolean; |
procedure Set_Visibility
( | The_Entry | : not null access Gtk_Entry_Record; |
Visible | : Boolean); |
function Get_Width_Chars
( | The_Entry | : not null access Gtk_Entry_Record) return Gint; |
procedure Set_Width_Chars
( | The_Entry | : not null access Gtk_Entry_Record; |
Width | : Gint); |
function Im_Context_Filter_Keypress
( | The_Entry | : not null access Gtk_Entry_Record; |
Event | : Gdk.Event.Gdk_Event_Key) return Boolean; |
function Layout_Index_To_Text_Index
( | The_Entry | : not null access Gtk_Entry_Record; |
Layout_Index | : Gint) return Gint; |
procedure Progress_Pulse
( | The_Entry | : not null access Gtk_Entry_Record); |
procedure Reset_Im_Context
( | The_Entry | : not null access Gtk_Entry_Record); |
procedure Set_Icon_Drag_Source
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Target_List | : Gtk.Target_List.Gtk_Target_List; | |
Actions | : Gdk.Drag_Contexts.Gdk_Drag_Action); |
procedure Set_Icon_From_Gicon
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Icon | : Glib.G_Icon.G_Icon); |
procedure Set_Icon_From_Icon_Name
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Icon_Name | : UTF8_String := ""); |
procedure Set_Icon_From_Pixbuf
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Pixbuf | : access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class); |
procedure Set_Icon_From_Stock
( | The_Entry | : not null access Gtk_Entry_Record; |
Icon_Pos | : Gtk_Entry_Icon_Position; | |
Stock_Id | : UTF8_String := ""); |
function Text_Index_To_Layout_Index
( | The_Entry | : not null access Gtk_Entry_Record; |
Text_Index | : Gint) return Gint; |
procedure Unset_Invisible_Char
( | The_Entry | : not null access Gtk_Entry_Record); |
procedure Insert_Text
( | Editable | : access Gtk_Entry_Record; |
New_Text | : UTF8_String; | |
Position | : in out Gint); |
procedure Editing_Done
( | Cell_Editable | : not null access Gtk_Entry_Record); |
procedure Remove_Widget
( | Cell_Editable | : not null access Gtk_Entry_Record); |
procedure Start_Editing
( | Cell_Editable | : not null access Gtk_Entry_Record; |
Event | : Gdk.Event.Gdk_Event); |
procedure Copy_Clipboard
( | Editable | : not null access Gtk_Entry_Record); |
procedure Cut_Clipboard
( | Editable | : not null access Gtk_Entry_Record); |
procedure Delete_Selection
( | Editable | : not null access Gtk_Entry_Record); |
procedure Delete_Text
( | Editable | : not null access Gtk_Entry_Record; |
Start_Pos | : Gint; | |
End_Pos | : Gint := -1); |
function Get_Chars
( | Editable | : not null access Gtk_Entry_Record; |
Start_Pos | : Gint; | |
End_Pos | : Gint := -1) return UTF8_String; |
function Get_Editable
( | Editable | : not null access Gtk_Entry_Record) return Boolean; |
procedure Set_Editable
( | Editable | : not null access Gtk_Entry_Record; |
Is_Editable | : Boolean); |
function Get_Position
( | Editable | : not null access Gtk_Entry_Record) return Gint; |
procedure Set_Position
( | Editable | : not null access Gtk_Entry_Record; |
Position | : Gint); |
procedure Get_Selection_Bounds
( | Editable | : not null access Gtk_Entry_Record; |
Start_Pos | : out Gint; | |
End_Pos | : out Gint; | |
Has_Selection | : out Boolean); |
procedure Insert_Text
( | Editable | : not null access Gtk_Entry_Record; |
New_Text | : UTF8_String; | |
New_Text_Length | : Gint; | |
Position | : in out Gint); |
procedure Paste_Clipboard
( | Editable | : not null access Gtk_Entry_Record); |
procedure Select_Region
( | Editable | : not null access Gtk_Entry_Record; |
Start_Pos | : Gint; | |
End_Pos | : Gint := -1); |
procedure On_Activate
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Void; | |
After | : Boolean := False); |
procedure On_Activate
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Backspace
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Void; | |
After | : Boolean := False); |
procedure On_Backspace
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Copy_Clipboard
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Void; | |
After | : Boolean := False); |
procedure On_Copy_Clipboard
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Cut_Clipboard
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Void; | |
After | : Boolean := False); |
procedure On_Cut_Clipboard
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Delete_From_Cursor
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Gtk_Delete_Type_Gint_Void; | |
After | : Boolean := False); |
procedure On_Delete_From_Cursor
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Gtk_Delete_Type_Gint_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Icon_Press
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void; | |
After | : Boolean := False); |
procedure On_Icon_Press
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Icon_Release
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void; | |
After | : Boolean := False); |
procedure On_Icon_Release
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Insert_At_Cursor
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_UTF8_String_Void; | |
After | : Boolean := False); |
procedure On_Insert_At_Cursor
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_UTF8_String_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Move_Cursor
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Gtk_Movement_Step_Gint_Boolean_Void; | |
After | : Boolean := False); |
procedure On_Move_Cursor
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Gtk_Movement_Step_Gint_Boolean_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Paste_Clipboard
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Void; | |
After | : Boolean := False); |
procedure On_Paste_Clipboard
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Populate_Popup
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Gtk_Widget_Void; | |
After | : Boolean := False); |
procedure On_Populate_Popup
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Gtk_Widget_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Preedit_Changed
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_UTF8_String_Void; | |
After | : Boolean := False); |
procedure On_Preedit_Changed
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_UTF8_String_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Toggle_Overwrite
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_Gtk_Entry_Void; | |
After | : Boolean := False); |
procedure On_Toggle_Overwrite
( | Self | : not null access Gtk_Entry_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
function "+"
( | Widget | : access Gtk_Entry_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Entry renames Implements_Gtk_Buildable.To_Object; |
function "+"
( | Widget | : access Gtk_Entry_Record'Class) return Gtk.Cell_Editable.Gtk_Cell_Editable renames Implements_Gtk_Cell_Editable.To_Interface; |
function "-"
( | Interf | : Gtk.Cell_Editable.Gtk_Cell_Editable) return Gtk_Entry renames Implements_Gtk_Cell_Editable.To_Object; |
function "+"
( | Widget | : access Gtk_Entry_Record'Class) return Gtk.Editable.Gtk_Editable renames Implements_Gtk_Editable.To_Interface; |
function "-"
( | Interf | : Gtk.Editable.Gtk_Editable) return Gtk_Entry renames Implements_Gtk_Editable.To_Object; |
The Gtk.GEntry.Gtk_Entry widget is a single line text entry widget. A fairly large set of key bindings are supported by default. If the entered text is longer than the allocation of the widget, the widget will scroll so that the cursor position is visible.
When using an entry for passwords and other sensitive information, it can be put into "password mode" using Gtk.GEntry.Set_Visibility. In this mode, entered text is displayed using a 'invisible' character. By default, GTK+ picks the best invisible character that is available in the current font, but it can be changed with Gtk.GEntry.Set_Invisible_Char. Since 2.16, GTK+ displays a warning when Caps Lock or input methods might interfere with entering text in a password entry. The warning can be turned off with the Gtk.GEntry.Gtk_Entry:caps-lock-warning property.
Since 2.16, GtkEntry has the ability to display progress or activity information behind the text. To make an entry display such information, use Gtk.GEntry.Set_Progress_Fraction or Gtk.GEntry.Set_Progress_Pulse_Step.
Additionally, GtkEntry can show icons at either side of the entry. These icons can be activatable by clicking, can be set up as drag source and can have tooltips. To add an icon, use Gtk.GEntry.Set_Icon_From_Gicon or one of the various other functions that set an icon from a stock id, an icon name or a pixbuf. To trigger an action when the user clicks an icon, connect to the Gtk.GEntry.Gtk_Entry::icon-press signal. To allow DND operations from an icon, use Gtk.GEntry.Set_Icon_Drag_Source. To set a tooltip on an icon, use Gtk.GEntry.Set_Icon_Tooltip_Text or the corresponding function for markup.
Note that functionality or information that is only available by clicking on an icon in an entry may not be accessible at all to users which are not able to use a mouse or other pointing device. It is therefore recommended that any such functionality should also be available by other means, e.g. via the context menu of the entry.
A Gtk_Entry is a single line text editing widget. The text is automatically scrolled if it is longer than can be displayed on the screen, so that the cursor position is visible at all times.
See Gtk_Text_View for a multiple-line text editing widget.