Index

Package: GEntry

Description

package Gtk.GEntry is

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.

Screenshot

gtk-gentry.png
<testgtk>create_entry.adb</testgtk>

Packages

Gtk_Entry_Icon_Position_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

package Gtk_Entry_Icon_Position_Properties is
      new Generic_Internal_Discrete_Property (Gtk_Entry_Icon_Position);

Implements_Gtk_Buildable (new Glib.Types.Implements)

Implements_Gtk_Cell_Editable (new Glib.Types.Implements)

Implements_Gtk_Editable (new Glib.Types.Implements)

Classes

Gtk_Entry_Record

type Gtk_Entry_Record is new Gtk_Widget_Record with null record;

Ancestors:

Immediate Children:

Primitive operations:

Copy_Clipboard
Cut_Clipboard
Delete_Selection
Editing_Done
Get_Activates_Default
Get_Alignment
Get_Attributes
Get_Completion
Get_Current_Icon_Drag_Source
Get_Cursor_Hadjustment
Get_Editable
Get_Has_Frame
Get_Icon_Activatable
Get_Icon_Area
Get_Icon_At_Pos
Get_Icon_Gicon
Get_Icon_Name
Get_Icon_Pixbuf
Get_Icon_Sensitive
Get_Icon_Stock
Get_Icon_Storage_Type
Get_Icon_Tooltip_Markup
Get_Icon_Tooltip_Text
Get_Inner_Border
Get_Input_Hints
Get_Input_Purpose
Get_Invisible_Char
Get_Layout_Offsets
Get_Max_Length
Get_Overwrite_Mode
Get_Placeholder_Text
Get_Position
Get_Progress_Fraction
Get_Progress_Pulse_Step
Get_Selection_Bounds
Get_Text_Area
Get_Text_Length
Get_Visibility
Get_Width_Chars
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.Widget.Activate (Inherited)
Gtk.Widget.Add_Accelerator (Inherited)
Gtk.Widget.Add_Device_Events (Inherited)
Gtk.Widget.Add_Events (Inherited)
Gtk.Widget.Add_Mnemonic_Label (Inherited)
Gtk.Widget.Add_Tick_Callback (Inherited)
Gtk.Widget.Can_Activate_Accel (Inherited)
Gtk.Widget.Child_Focus (Inherited)
Gtk.Widget.Child_Notify (Inherited)
Gtk.Widget.Compute_Expand (Inherited)
Gtk.Widget.Create_Pango_Context (Inherited)
Gtk.Widget.Create_Pango_Layout (Inherited)
Gtk.Widget.Destroy (Inherited)
Gtk.Widget.Destroyed (Inherited)
Gtk.Widget.Device_Is_Shadowed (Inherited)
Gtk.Widget.Drag_Check_Threshold (Inherited)
Gtk.Widget.Drag_Dest_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Text_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Dest_Get_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Set_Proxy (Inherited)
Gtk.Widget.Drag_Dest_Set_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Unset (Inherited)
Gtk.Widget.Drag_Get_Data (Inherited)
Gtk.Widget.Drag_Highlight (Inherited)
Gtk.Widget.Drag_Source_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Source_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Source_Set_Icon_Pixbuf (Inherited)
Gtk.Widget.Drag_Source_Unset (Inherited)
Gtk.Widget.Drag_Unhighlight (Inherited)
Gtk.Widget.Draw (Inherited)
Gtk.Widget.Ensure_Style (Inherited)
Gtk.Widget.Error_Bell (Inherited)
Gtk.Widget.Event (Inherited)
Gtk.Widget.Freeze_Child_Notify (Inherited)
Gtk.Widget.Get_Allocated_Height (Inherited)
Gtk.Widget.Get_Allocated_Width (Inherited)
Gtk.Widget.Get_Allocation (Inherited)
Gtk.Widget.Get_Ancestor (Inherited)
Gtk.Widget.Get_App_Paintable (Inherited)
Gtk.Widget.Get_Can_Default (Inherited)
Gtk.Widget.Get_Can_Focus (Inherited)
Gtk.Widget.Get_Child_Requisition (Inherited)
Gtk.Widget.Get_Child_Visible (Inherited)
Gtk.Widget.Get_Composite_Name (Inherited)
Gtk.Widget.Get_Device_Enabled (Inherited)
Gtk.Widget.Get_Device_Events (Inherited)
Gtk.Widget.Get_Direction (Inherited)
Gtk.Widget.Get_Display (Inherited)
Gtk.Widget.Get_Double_Buffered (Inherited)
Gtk.Widget.Get_Events (Inherited)
Gtk.Widget.Get_Frame_Clock (Inherited)
Gtk.Widget.Get_Halign (Inherited)
Gtk.Widget.Get_Has_Tooltip (Inherited)
Gtk.Widget.Get_Has_Window (Inherited)
Gtk.Widget.Get_Hexpand (Inherited)
Gtk.Widget.Get_Hexpand_Set (Inherited)
Gtk.Widget.Get_Mapped (Inherited)
Gtk.Widget.Get_Margin_Bottom (Inherited)
Gtk.Widget.Get_Margin_Left (Inherited)
Gtk.Widget.Get_Margin_Right (Inherited)
Gtk.Widget.Get_Margin_Top (Inherited)
Gtk.Widget.Get_Modifier_Mask (Inherited)
Gtk.Widget.Get_Name (Inherited)
Gtk.Widget.Get_No_Show_All (Inherited)
Gtk.Widget.Get_Opacity (Inherited)
Gtk.Widget.Get_Pango_Context (Inherited)
Gtk.Widget.Get_Parent (Inherited)
Gtk.Widget.Get_Parent_Window (Inherited)
Gtk.Widget.Get_Path (Inherited)
Gtk.Widget.Get_Pointer (Inherited)
Gtk.Widget.Get_Preferred_Height (Inherited)
Gtk.Widget.Get_Preferred_Height_For_Width (Inherited)
Gtk.Widget.Get_Preferred_Size (Inherited)
Gtk.Widget.Get_Preferred_Width (Inherited)
Gtk.Widget.Get_Preferred_Width_For_Height (Inherited)
Gtk.Widget.Get_Realized (Inherited)
Gtk.Widget.Get_Receives_Default (Inherited)
Gtk.Widget.Get_Request_Mode (Inherited)
Gtk.Widget.Get_Requisition (Inherited)
Gtk.Widget.Get_Root_Window (Inherited)
Gtk.Widget.Get_Screen (Inherited)
Gtk.Widget.Get_Sensitive (Inherited)
Gtk.Widget.Get_Size_Request (Inherited)
Gtk.Widget.Get_State (Inherited)
Gtk.Widget.Get_State_Flags (Inherited)
Gtk.Widget.Get_Style (Inherited)
Gtk.Widget.Get_Support_Multidevice (Inherited)
Gtk.Widget.Get_Tooltip_Markup (Inherited)
Gtk.Widget.Get_Tooltip_Text (Inherited)
Gtk.Widget.Get_Tooltip_Window (Inherited)
Gtk.Widget.Get_Toplevel (Inherited)
Gtk.Widget.Get_Valign (Inherited)
Gtk.Widget.Get_Vexpand (Inherited)
Gtk.Widget.Get_Vexpand_Set (Inherited)
Gtk.Widget.Get_Visible (Inherited)
Gtk.Widget.Get_Visual (Inherited)
Gtk.Widget.Get_Window (Inherited)
Gtk.Widget.Grab_Add (Inherited)
Gtk.Widget.Grab_Default (Inherited)
Gtk.Widget.Grab_Focus (Inherited)
Gtk.Widget.Grab_Remove (Inherited)
Gtk.Widget.Has_Default (Inherited)
Gtk.Widget.Has_Focus (Inherited)
Gtk.Widget.Has_Grab (Inherited)
Gtk.Widget.Has_Rc_Style (Inherited)
Gtk.Widget.Has_Screen (Inherited)
Gtk.Widget.Has_Visible_Focus (Inherited)
Gtk.Widget.Hide (Inherited)
Gtk.Widget.Hide_On_Delete (Inherited)
Gtk.Widget.In_Destruction (Inherited)
Gtk.Widget.Input_Shape_Combine_Region (Inherited)
Gtk.Widget.Intersect (Inherited)
Gtk.Widget.Is_Ancestor (Inherited)
Gtk.Widget.Is_Composited (Inherited)
Gtk.Widget.Is_Drawable (Inherited)
Gtk.Widget.Is_Focus (Inherited)
Gtk.Widget.Is_Sensitive (Inherited)
Gtk.Widget.Is_Toplevel (Inherited)
Gtk.Widget.Is_Visible (Inherited)
Gtk.Widget.Keynav_Failed (Inherited)
Gtk.Widget.List_Mnemonic_Labels (Inherited)
Gtk.Widget.Map (Inherited)
Gtk.Widget.Mnemonic_Activate (Inherited)
Gtk.Widget.Modify_Base (Inherited)
Gtk.Widget.Modify_Bg (Inherited)
Gtk.Widget.Modify_Cursor (Inherited)
Gtk.Widget.Modify_Fg (Inherited)
Gtk.Widget.Modify_Font (Inherited)
Gtk.Widget.Modify_Text (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.Override_Background_Color (Inherited)
Gtk.Widget.Override_Color (Inherited)
Gtk.Widget.Override_Cursor (Inherited)
Gtk.Widget.Override_Font (Inherited)
Gtk.Widget.Override_Symbolic_Color (Inherited)
Gtk.Widget.Queue_Compute_Expand (Inherited)
Gtk.Widget.Queue_Draw (Inherited)
Gtk.Widget.Queue_Draw_Area (Inherited)
Gtk.Widget.Queue_Draw_Region (Inherited)
Gtk.Widget.Queue_Resize (Inherited)
Gtk.Widget.Queue_Resize_No_Redraw (Inherited)
Gtk.Widget.Realize (Inherited)
Gtk.Widget.Region_Intersect (Inherited)
Gtk.Widget.Register_Window (Inherited)
Gtk.Widget.Remove_Accelerator (Inherited)
Gtk.Widget.Remove_Mnemonic_Label (Inherited)
Gtk.Widget.Remove_Tick_Callback (Inherited)
Gtk.Widget.Render_Icon (Inherited)
Gtk.Widget.Render_Icon_Pixbuf (Inherited)
Gtk.Widget.Reparent (Inherited)
Gtk.Widget.Reset_Rc_Styles (Inherited)
Gtk.Widget.Reset_Style (Inherited)
Gtk.Widget.Send_Expose (Inherited)
Gtk.Widget.Send_Focus_Change (Inherited)
Gtk.Widget.Set_Accel_Path (Inherited)
Gtk.Widget.Set_Allocation (Inherited)
Gtk.Widget.Set_App_Paintable (Inherited)
Gtk.Widget.Set_Can_Default (Inherited)
Gtk.Widget.Set_Can_Focus (Inherited)
Gtk.Widget.Set_Child_Visible (Inherited)
Gtk.Widget.Set_Composite_Name (Inherited)
Gtk.Widget.Set_Device_Enabled (Inherited)
Gtk.Widget.Set_Device_Events (Inherited)
Gtk.Widget.Set_Direction (Inherited)
Gtk.Widget.Set_Double_Buffered (Inherited)
Gtk.Widget.Set_Events (Inherited)
Gtk.Widget.Set_Halign (Inherited)
Gtk.Widget.Set_Has_Tooltip (Inherited)
Gtk.Widget.Set_Has_Window (Inherited)
Gtk.Widget.Set_Hexpand (Inherited)
Gtk.Widget.Set_Hexpand_Set (Inherited)
Gtk.Widget.Set_Mapped (Inherited)
Gtk.Widget.Set_Margin_Bottom (Inherited)
Gtk.Widget.Set_Margin_Left (Inherited)
Gtk.Widget.Set_Margin_Right (Inherited)
Gtk.Widget.Set_Margin_Top (Inherited)
Gtk.Widget.Set_Name (Inherited)
Gtk.Widget.Set_No_Show_All (Inherited)
Gtk.Widget.Set_Opacity (Inherited)
Gtk.Widget.Set_Parent (Inherited)
Gtk.Widget.Set_Parent_Window (Inherited)
Gtk.Widget.Set_Realized (Inherited)
Gtk.Widget.Set_Receives_Default (Inherited)
Gtk.Widget.Set_Redraw_On_Allocate (Inherited)
Gtk.Widget.Set_Sensitive (Inherited)
Gtk.Widget.Set_Size_Request (Inherited)
Gtk.Widget.Set_State (Inherited)
Gtk.Widget.Set_State_Flags (Inherited)
Gtk.Widget.Set_Style (Inherited)
Gtk.Widget.Set_Support_Multidevice (Inherited)
Gtk.Widget.Set_Tooltip_Markup (Inherited)
Gtk.Widget.Set_Tooltip_Text (Inherited)
Gtk.Widget.Set_Tooltip_Window (Inherited)
Gtk.Widget.Set_Valign (Inherited)
Gtk.Widget.Set_Vexpand (Inherited)
Gtk.Widget.Set_Vexpand_Set (Inherited)
Gtk.Widget.Set_Visible (Inherited)
Gtk.Widget.Set_Visual (Inherited)
Gtk.Widget.Set_Window (Inherited)
Gtk.Widget.Shape_Combine_Region (Inherited)
Gtk.Widget.Show (Inherited)
Gtk.Widget.Show_All (Inherited)
Gtk.Widget.Show_Now (Inherited)
Gtk.Widget.Size_Allocate (Inherited)
Gtk.Widget.Size_Request (Inherited)
Gtk.Widget.Style_Attach (Inherited)
Gtk.Widget.Style_Get_Property (Inherited)
Gtk.Widget.Thaw_Child_Notify (Inherited)
Gtk.Widget.Translate_Coordinates (Inherited)
Gtk.Widget.Trigger_Tooltip_Query (Inherited)
Gtk.Widget.Unmap (Inherited)
Gtk.Widget.Unparent (Inherited)
Gtk.Widget.Unrealize (Inherited)
Gtk.Widget.Unregister_Window (Inherited)
Gtk.Widget.Unset_State_Flags (Inherited)
Im_Context_Filter_Keypress
Layout_Index_To_Text_Index
On_Backspace
On_Backspace
On_Copy_Clipboard
On_Copy_Clipboard
On_Cut_Clipboard
On_Cut_Clipboard
On_Delete_From_Cursor
On_Delete_From_Cursor
On_Icon_Press
On_Icon_Press
On_Icon_Release
On_Icon_Release
On_Insert_At_Cursor
On_Insert_At_Cursor
On_Move_Cursor
On_Move_Cursor
On_Paste_Clipboard
On_Paste_Clipboard
On_Populate_Popup
On_Populate_Popup
On_Preedit_Changed
On_Preedit_Changed
On_Toggle_Overwrite
On_Toggle_Overwrite
Paste_Clipboard
Progress_Pulse
Remove_Widget
Reset_Im_Context
Select_Region
Set_Activates_Default
Set_Alignment
Set_Attributes
Set_Completion
Set_Cursor_Hadjustment
Set_Editable
Set_Has_Frame
Set_Icon_Activatable
Set_Icon_Drag_Source
Set_Icon_From_Gicon
Set_Icon_From_Icon_Name
Set_Icon_From_Pixbuf
Set_Icon_From_Stock
Set_Icon_Sensitive
Set_Icon_Tooltip_Markup
Set_Icon_Tooltip_Text
Set_Inner_Border
Set_Input_Hints
Set_Input_Purpose
Set_Invisible_Char
Set_Max_Length
Set_Overwrite_Mode
Set_Placeholder_Text
Set_Position
Set_Progress_Fraction
Set_Progress_Pulse_Step
Set_Visibility
Set_Width_Chars
Start_Editing
Text_Index_To_Layout_Index
Unset_Invisible_Char

Types

Gtk_Entry

type Gtk_Entry is access all Gtk_Entry_Record'Class;

Gtk_Entry_Icon_Position

type Gtk_Entry_Icon_Position is (
      Gtk_Entry_Icon_Primary,
      Gtk_Entry_Icon_Secondary);

Property_Gtk_Entry_Icon_Position

type Property_Gtk_Entry_Icon_Position is new Gtk_Entry_Icon_Position_Properties.Property;

Gtk_GEntry

subtype Gtk_GEntry is Gtk_Entry;

Cb_Gtk_Entry_Void

type Cb_Gtk_Entry_Void is not null access procedure (Self : access Gtk_Entry_Record'Class);

Cb_GObject_Void

type Cb_GObject_Void is not null access procedure
     (Self : access Glib.Object.GObject_Record'Class);

Cb_Gtk_Entry_Gtk_Delete_Type_Gint_Void

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);

Cb_GObject_Gtk_Delete_Type_Gint_Void

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);

Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void

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);

Cb_GObject_Gtk_Entry_Icon_Position_Gdk_Event_Button_Void

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);

Cb_Gtk_Entry_UTF8_String_Void

type Cb_Gtk_Entry_UTF8_String_Void is not null access procedure
     (Self   : access Gtk_Entry_Record'Class;
      String : UTF8_String);

Cb_GObject_UTF8_String_Void

type Cb_GObject_UTF8_String_Void is not null access procedure
     (Self   : access Glib.Object.GObject_Record'Class;
      String : UTF8_String);

Cb_Gtk_Entry_Gtk_Movement_Step_Gint_Boolean_Void

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);

Cb_GObject_Gtk_Movement_Step_Gint_Boolean_Void

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);

Cb_Gtk_Entry_Gtk_Widget_Void

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);

Cb_GObject_Gtk_Widget_Void

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);

Constants & Global variables

Activates_Default_Property (Glib.Properties.Property_Boolean)

Activates_Default_Property : constant Glib.Properties.Property_Boolean;

Attributes_Property (Glib.Properties.Property_Object)

Attributes_Property : constant Glib.Properties.Property_Object;
Type: Pango.Attributes.Pango_Attr_List A list of Pango attributes to apply to the text of the entry. This is mainly useful to change the size or weight of the text.

Caps_Lock_Warning_Property (Glib.Properties.Property_Boolean)

Caps_Lock_Warning_Property : constant Glib.Properties.Property_Boolean;
Whether password entries will show a warning when Caps Lock is on. Note that the warning is shown using a secondary icon, and thus does not work if you are using the secondary icon position for some other purpose.

Completion_Property (Glib.Properties.Property_Object)

Completion_Property : constant Glib.Properties.Property_Object;
Type: Gtk.Entry_Completion.Gtk_Entry_Completion The auxiliary completion object to use with the entry.

Cursor_Position_Property (Glib.Properties.Property_Int)

Cursor_Position_Property : constant Glib.Properties.Property_Int;

Im_Module_Property (Glib.Properties.Property_String)

Im_Module_Property : constant Glib.Properties.Property_String;
Which IM (input method) module should be used for this entry. See Gtk.IM_Context.Gtk_IM_Context. Setting this to a non-null value overrides the system-wide IM module setting. See the GtkSettings Gtk.Settings.Gtk_Settings:gtk-im-module property.

Inner_Border_Property (Glib.Properties.Property_Boxed)

Inner_Border_Property : constant Glib.Properties.Property_Boxed;
Type: Gtk.Style.Gtk_Border Sets the text area's border between the text and the frame.

Input_Hints_Property (Gtk.Enums.Property_Gtk_Input_Hints)

Input_Hints_Property : constant Gtk.Enums.Property_Gtk_Input_Hints;
Additional hints (beyond Gtk.GEntry.Gtk_Entry:input-purpose) that allow input methods to fine-tune their behaviour.

Input_Purpose_Property (Gtk.Enums.Property_Gtk_Input_Purpose)

Input_Purpose_Property : constant Gtk.Enums.Property_Gtk_Input_Purpose;
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.Enums.Input_Purpose_Password or Gtk.Enums.Input_Purpose_Pin is independent from setting Gtk.GEntry.Gtk_Entry:visibility.

Invisible_Char_Property (Glib.Properties.Property_Uint)

Invisible_Char_Property : constant Glib.Properties.Property_Uint;
The invisible character is used when masking entry contents (in \"password mode\")"). When it is not explicitly set with the Gtk.GEntry.Gtk_Entry:invisible-char property, GTK+ determines the character to use from a list of possible candidates, depending on availability in the current font. This style property allows the theme to prepend a character to the list of candidates.

Invisible_Char_Set_Property (Glib.Properties.Property_Boolean)

Invisible_Char_Set_Property : constant Glib.Properties.Property_Boolean;
Whether the invisible char has been set for the Gtk.GEntry.Gtk_Entry.

Max_Length_Property (Glib.Properties.Property_Int)

Max_Length_Property : constant Glib.Properties.Property_Int;

Overwrite_Mode_Property (Glib.Properties.Property_Boolean)

Overwrite_Mode_Property : constant Glib.Properties.Property_Boolean;
If text is overwritten when typing in the Gtk.GEntry.Gtk_Entry.

Placeholder_Text_Property (Glib.Properties.Property_String)

Placeholder_Text_Property : constant Glib.Properties.Property_String;
The text that will be displayed in the Gtk.GEntry.Gtk_Entry when it is empty and unfocused.

Populate_All_Property (Glib.Properties.Property_Boolean)

Populate_All_Property : constant Glib.Properties.Property_Boolean;

Primary_Icon_Activatable_Property (Glib.Properties.Property_Boolean)

Primary_Icon_Activatable_Property : constant Glib.Properties.Property_Boolean;
Whether the primary icon is activatable. GTK+ emits the Gtk.GEntry.Gtk_Entry::icon-press and Gtk.GEntry.Gtk_Entry::icon-release signals only on sensitive, activatable icons. Sensitive, but non-activatable icons can be used for purely informational purposes.

Primary_Icon_Gicon_Property (Glib.Properties.Property_Boxed)

Primary_Icon_Gicon_Property : constant Glib.Properties.Property_Boxed;
Type: Glib.G_Icon.G_Icon The Glib.G_Icon.G_Icon to use for the primary icon for the entry.

Primary_Icon_Name_Property (Glib.Properties.Property_String)

Primary_Icon_Name_Property : constant Glib.Properties.Property_String;
The icon name to use for the primary icon for the entry.

Primary_Icon_Pixbuf_Property (Glib.Properties.Property_Object)

Primary_Icon_Pixbuf_Property : constant Glib.Properties.Property_Object;
Type: Gdk.Pixbuf.Gdk_Pixbuf A pixbuf to use as the primary icon for the entry.

Primary_Icon_Sensitive_Property (Glib.Properties.Property_Boolean)

Primary_Icon_Sensitive_Property : constant Glib.Properties.Property_Boolean;
Whether the primary icon is sensitive. An insensitive icon appears grayed out. GTK+ does not emit the Gtk.GEntry.Gtk_Entry::icon-press and Gtk.GEntry.Gtk_Entry::icon-release signals and does not allow DND from insensitive icons. An icon should be set insensitive if the action that would trigger when clicked is currently not available.

Primary_Icon_Stock_Property (Glib.Properties.Property_String)

Primary_Icon_Stock_Property : constant Glib.Properties.Property_String;
The stock id to use for the primary icon for the entry.

Primary_Icon_Storage_Type_Property (Gtk.Image.Property_Gtk_Image_Type)

Primary_Icon_Storage_Type_Property : constant Gtk.Image.Property_Gtk_Image_Type;
Type: Gtk.Image.Gtk_Image_Type The representation which is used for the primary icon of the entry.

Primary_Icon_Tooltip_Markup_Property (Glib.Properties.Property_String)

Primary_Icon_Tooltip_Markup_Property : constant Glib.Properties.Property_String;
The contents of the tooltip on the primary icon, which is marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>. Also see Gtk.GEntry.Set_Icon_Tooltip_Markup.

Primary_Icon_Tooltip_Text_Property (Glib.Properties.Property_String)

Primary_Icon_Tooltip_Text_Property : constant Glib.Properties.Property_String;
The contents of the tooltip on the primary icon. Also see Gtk.GEntry.Set_Icon_Tooltip_Text.

Progress_Fraction_Property (Glib.Properties.Property_Double)

Progress_Fraction_Property : constant Glib.Properties.Property_Double;
Type: Gdouble The current fraction of the task that's been completed.

Progress_Pulse_Step_Property (Glib.Properties.Property_Double)

Progress_Pulse_Step_Property : constant Glib.Properties.Property_Double;
Type: Gdouble The fraction of total entry width to move the progress bouncing block for each call to Gtk.GEntry.Progress_Pulse.

Scroll_Offset_Property (Glib.Properties.Property_Int)

Scroll_Offset_Property : constant Glib.Properties.Property_Int;

Secondary_Icon_Activatable_Property (Glib.Properties.Property_Boolean)

Secondary_Icon_Activatable_Property : constant Glib.Properties.Property_Boolean;
Whether the secondary icon is activatable. GTK+ emits the Gtk.GEntry.Gtk_Entry::icon-press and Gtk.GEntry.Gtk_Entry::icon-release signals only on sensitive, activatable icons. Sensitive, but non-activatable icons can be used for purely informational purposes.

Secondary_Icon_Gicon_Property (Glib.Properties.Property_Boxed)

Secondary_Icon_Gicon_Property : constant Glib.Properties.Property_Boxed;
Type: Glib.G_Icon.G_Icon The Glib.G_Icon.G_Icon to use for the secondary icon for the entry.

Secondary_Icon_Name_Property (Glib.Properties.Property_String)

Secondary_Icon_Name_Property : constant Glib.Properties.Property_String;
The icon name to use for the secondary icon for the entry.

Secondary_Icon_Pixbuf_Property (Glib.Properties.Property_Object)

Secondary_Icon_Pixbuf_Property : constant Glib.Properties.Property_Object;
Type: Gdk.Pixbuf.Gdk_Pixbuf An pixbuf to use as the secondary icon for the entry.

Secondary_Icon_Sensitive_Property (Glib.Properties.Property_Boolean)

Secondary_Icon_Sensitive_Property : constant Glib.Properties.Property_Boolean;
Whether the secondary icon is sensitive. An insensitive icon appears grayed out. GTK+ does not emit the Gtk.GEntry.Gtk_Entry::icon-press and Gtk.GEntry.Gtk_Entry::icon-release signals and does not allow DND from insensitive icons. An icon should be set insensitive if the action that would trigger when clicked is currently not available.

Secondary_Icon_Stock_Property (Glib.Properties.Property_String)

Secondary_Icon_Stock_Property : constant Glib.Properties.Property_String;
The stock id to use for the secondary icon for the entry.

Secondary_Icon_Storage_Type_Property (Gtk.Image.Property_Gtk_Image_Type)

Secondary_Icon_Storage_Type_Property : constant Gtk.Image.Property_Gtk_Image_Type;
Type: Gtk.Image.Gtk_Image_Type The representation which is used for the secondary icon of the entry.

Secondary_Icon_Tooltip_Markup_Property (Glib.Properties.Property_String)

Secondary_Icon_Tooltip_Markup_Property : constant Glib.Properties.Property_String;
The contents of the tooltip on the secondary icon, which is marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>. Also see Gtk.GEntry.Set_Icon_Tooltip_Markup.

Secondary_Icon_Tooltip_Text_Property (Glib.Properties.Property_String)

Secondary_Icon_Tooltip_Text_Property : constant Glib.Properties.Property_String;
The contents of the tooltip on the secondary icon. Also see Gtk.GEntry.Set_Icon_Tooltip_Text.

Selection_Bound_Property (Glib.Properties.Property_Int)

Selection_Bound_Property : constant Glib.Properties.Property_Int;

Shadow_Type_Property (Gtk.Enums.Property_Gtk_Shadow_Type)

Shadow_Type_Property : constant Gtk.Enums.Property_Gtk_Shadow_Type;
Which kind of shadow to draw around the entry when Gtk.GEntry.Gtk_Entry:has-frame is set to True.

Text_Length_Property (Glib.Properties.Property_Uint)

Text_Length_Property : constant Glib.Properties.Property_Uint;
The length of the text in the Gtk.GEntry.Gtk_Entry.

Truncate_Multiline_Property (Glib.Properties.Property_Boolean)

Truncate_Multiline_Property : constant Glib.Properties.Property_Boolean;
When True, pasted multi-line text is truncated to the first line.

Width_Chars_Property (Glib.Properties.Property_Int)

Width_Chars_Property : constant Glib.Properties.Property_Int;

Xalign_Property (Glib.Properties.Property_Float)

Xalign_Property : constant Glib.Properties.Property_Float;
The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Signal_Activate (Glib.Signal_Name)

Signal_Activate : constant Glib.Signal_Name := "activate";

Signal_Backspace (Glib.Signal_Name)

Signal_Backspace : constant Glib.Signal_Name := "backspace";

Signal_Copy_Clipboard (Glib.Signal_Name)

Signal_Copy_Clipboard : constant Glib.Signal_Name := "copy-clipboard";

Signal_Cut_Clipboard (Glib.Signal_Name)

Signal_Cut_Clipboard : constant Glib.Signal_Name := "cut-clipboard";

Signal_Delete_From_Cursor (Glib.Signal_Name)

Signal_Delete_From_Cursor : constant Glib.Signal_Name := "delete-from-cursor";

Signal_Icon_Press (Glib.Signal_Name)

Signal_Icon_Press : constant Glib.Signal_Name := "icon-press";

Signal_Icon_Release (Glib.Signal_Name)

Signal_Icon_Release : constant Glib.Signal_Name := "icon-release";

Signal_Insert_At_Cursor (Glib.Signal_Name)

Signal_Insert_At_Cursor : constant Glib.Signal_Name := "insert-at-cursor";

Signal_Move_Cursor (Glib.Signal_Name)

Signal_Move_Cursor : constant Glib.Signal_Name := "move-cursor";

Signal_Paste_Clipboard (Glib.Signal_Name)

Signal_Paste_Clipboard : constant Glib.Signal_Name := "paste-clipboard";

Signal_Populate_Popup (Glib.Signal_Name)

Signal_Populate_Popup : constant Glib.Signal_Name := "populate-popup";

Signal_Preedit_Changed (Glib.Signal_Name)

Signal_Preedit_Changed : constant Glib.Signal_Name := "preedit-changed";

Signal_Toggle_Overwrite (Glib.Signal_Name)

Signal_Toggle_Overwrite : constant Glib.Signal_Name := "toggle-overwrite";

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(The_Entry: out Gtk_Entry);

Initialize

procedure Initialize 
(The_Entry: not null access Gtk_Entry_Record'Class);
Creates a new entry.

Gtk_Entry_New

function Gtk_Entry_New return Gtk_Entry;
Creates a new entry.

Gtk_New_With_Buffer

procedure Gtk_New_With_Buffer 
(The_Entry: out Gtk_Entry;
Buffer: not null access Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record'Class);

Initialize_With_Buffer

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);
Creates a new entry with the specified text buffer. Since: gtk+ 2.18 "buffer": The buffer to use for the new Gtk.GEntry.Gtk_Entry.

Gtk_Entry_New_With_Buffer

function Gtk_Entry_New_With_Buffer 
(Buffer: not null access Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record'Class) return Gtk_Entry;
Creates a new entry with the specified text buffer. Since: gtk+ 2.18 "buffer": The buffer to use for the new Gtk.GEntry.Gtk_Entry.

Get_Type

function Get_Type return Glib.GType;

Get_Activates_Default

function Get_Activates_Default 
(The_Entry: not null access Gtk_Entry_Record) return Boolean;
Retrieves the value set by Gtk.GEntry.Set_Activates_Default.

Set_Activates_Default

procedure Set_Activates_Default 
(The_Entry: not null access Gtk_Entry_Record;
Setting: Boolean);
If Setting is True, pressing Enter in the Entry will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons. (For experts: if Setting is True, the entry calls Gtk.Window.Activate_Default on the window containing the entry, in the default handler for the Gtk.GEntry.Gtk_Entry::activate signal.) "setting": True to activate window's default widget on Enter keypress

Get_Alignment

function Get_Alignment 
(The_Entry: not null access Gtk_Entry_Record) return Gfloat;
Gets the value set by Gtk.GEntry.Set_Alignment. Since: gtk+ 2.4

Set_Alignment

procedure Set_Alignment 
(The_Entry: not null access Gtk_Entry_Record;
Xalign: Gfloat);
Sets the alignment for the contents of the entry. This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry. Since: gtk+ 2.4 "xalign": The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts

Get_Attributes

function Get_Attributes 
(The_Entry: not null access Gtk_Entry_Record) return Pango.Attributes.Pango_Attr_List;
Gets the attribute list that was set on the entry using Gtk.GEntry.Set_Attributes, if any. Since: gtk+ 3.6

Set_Attributes

procedure Set_Attributes 
(The_Entry: not null access Gtk_Entry_Record;
Attrs: Pango.Attributes.Pango_Attr_List);
Sets a Pango.Attributes.Pango_Attr_List; the attributes in the list are applied to the entry text. Since: gtk+ 3.6 "attrs": a Pango.Attributes.Pango_Attr_List

Get_Buffer

function Get_Buffer 
(The_Entry: not null access Gtk_Entry_Record) return Gtk.Entry_Buffer.Gtk_Entry_Buffer;
Get the Gtk.Entry_Buffer.Gtk_Entry_Buffer object which holds the text for this widget. Since: gtk+ 2.18

Set_Buffer

procedure Set_Buffer 
(The_Entry: not null access Gtk_Entry_Record;
Buffer: not null access Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record'Class);
Set the Gtk.Entry_Buffer.Gtk_Entry_Buffer object which holds the text for this widget. Since: gtk+ 2.18 "buffer": a Gtk.Entry_Buffer.Gtk_Entry_Buffer

Get_Completion

function Get_Completion 
(The_Entry: not null access Gtk_Entry_Record) return Gtk.Entry_Completion.Gtk_Entry_Completion;
Returns the auxiliary completion object currently in use by Entry. Since: gtk+ 2.4

Set_Completion

procedure Set_Completion 
(The_Entry: not null access Gtk_Entry_Record;
Completion: access Gtk.Entry_Completion.Gtk_Entry_Completion_Record'Class);
Sets Completion to be the auxiliary completion object to use with Entry. All further configuration of the completion mechanism is done on Completion using the Gtk.Entry_Completion.Gtk_Entry_Completion API. Completion is disabled if Completion is set to null. Since: gtk+ 2.4 "completion": The Gtk.Entry_Completion.Gtk_Entry_Completion or null

Get_Current_Icon_Drag_Source

function Get_Current_Icon_Drag_Source 
(The_Entry: not null access Gtk_Entry_Record) return Gint;
Returns the index of the icon which is the source of the current DND operation, or -1. This function is meant to be used in a Gtk.Widget.Gtk_Widget::drag-data-get callback. Since: gtk+ 2.16

Get_Cursor_Hadjustment

function Get_Cursor_Hadjustment 
(The_Entry: not null access Gtk_Entry_Record) return Gtk.Adjustment.Gtk_Adjustment;
Retrieves the horizontal cursor adjustment for the entry. See Gtk.GEntry.Set_Cursor_Hadjustment. Since: gtk+ 2.12

Set_Cursor_Hadjustment

procedure Set_Cursor_Hadjustment 
(The_Entry: not null access Gtk_Entry_Record;
Adjustment: not null access Gtk.Adjustment.Gtk_Adjustment_Record'Class);
Hooks up an adjustment to the cursor position in an entry, so that when the cursor is moved, the adjustment is scrolled to show that position. See Gtk.Scrolled_Window.Get_Hadjustment for a typical way of obtaining the adjustment. The adjustment has to be in pixel units and in the same coordinate system as the entry. Since: gtk+ 2.12 "adjustment": an adjustment which should be adjusted when the cursor is moved, or null

Get_Has_Frame

function Get_Has_Frame 
(The_Entry: not null access Gtk_Entry_Record) return Boolean;
Gets the value set by Gtk.GEntry.Set_Has_Frame.

Set_Has_Frame

procedure Set_Has_Frame 
(The_Entry: not null access Gtk_Entry_Record;
Setting: Boolean := True);
Sets whether the entry has a beveled frame around it. "setting": new value

Get_Icon_Activatable

function Get_Icon_Activatable 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return Boolean;
Returns whether the icon is activatable. Since: gtk+ 2.16 "icon_pos": Icon position

Set_Icon_Activatable

procedure Set_Icon_Activatable 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position;
Activatable: Boolean);
Sets whether the icon is activatable. Since: gtk+ 2.16 "icon_pos": Icon position "activatable": True if the icon should be activatable

Get_Icon_Area

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);
Gets the area where entry's icon at Icon_Pos is drawn. This function is useful when drawing something to the entry in a draw callback. If the entry is not realized or has no icon at the given position, Icon_Area is filled with zeros. See also Gtk.GEntry.Get_Text_Area Since: gtk+ 3.0 "icon_pos": Icon position "icon_area": Return location for the icon's area

Get_Icon_At_Pos

function Get_Icon_At_Pos 
(The_Entry: not null access Gtk_Entry_Record;
X: Gint;
Y: Gint) return Gint;
Finds the icon at the given position and return its index. The position's coordinates are relative to the Entry's top left corner. If X, Y doesn't lie inside an icon, -1 is returned. This function is intended for use in a Gtk.Widget.Gtk_Widget::query-tooltip signal handler. Since: gtk+ 2.16 "x": the x coordinate of the position to find "y": the y coordinate of the position to find

Get_Icon_Gicon

function Get_Icon_Gicon 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return Glib.G_Icon.G_Icon;
Retrieves the Glib.G_Icon.G_Icon used for the icon, or null if there is no icon or if the icon was set by some other method (e.g., by stock, pixbuf, or icon name). Since: gtk+ 2.16 "icon_pos": Icon position

Get_Icon_Name

function Get_Icon_Name 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return UTF8_String;
Retrieves the icon name used for the icon, or null if there is no icon or if the icon was set by some other method (e.g., by pixbuf, stock or gicon). Since: gtk+ 2.16 "icon_pos": Icon position

Get_Icon_Pixbuf

function Get_Icon_Pixbuf 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return Gdk.Pixbuf.Gdk_Pixbuf;
Retrieves the image used for the icon. Unlike the other methods of setting and getting icon data, this method will work regardless of whether the icon was set using a Gdk.Pixbuf.Gdk_Pixbuf, a Glib.G_Icon.G_Icon, a stock item, or an icon name. Since: gtk+ 2.16 "icon_pos": Icon position

Get_Icon_Sensitive

function Get_Icon_Sensitive 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return Boolean;
Returns whether the icon appears sensitive or insensitive. Since: gtk+ 2.16 "icon_pos": Icon position

Set_Icon_Sensitive

procedure Set_Icon_Sensitive 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position;
Sensitive: Boolean);
Sets the sensitivity for the specified icon. Since: gtk+ 2.16 "icon_pos": Icon position "sensitive": Specifies whether the icon should appear sensitive or insensitive

Get_Icon_Stock

function Get_Icon_Stock 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return UTF8_String;
Retrieves the stock id used for the icon, or null if there is no icon or if the icon was set by some other method (e.g., by pixbuf, icon name or gicon). Since: gtk+ 2.16 "icon_pos": Icon position

Get_Icon_Storage_Type

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;
Gets the type of representation being used by the icon to store image data. If the icon has no image data, the return value will be Gtk.Image.Image_Empty. Since: gtk+ 2.16 "icon_pos": Icon position

Get_Icon_Tooltip_Markup

function Get_Icon_Tooltip_Markup 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return UTF8_String;
Gets the contents of the tooltip on the icon at the specified position in Entry. Since: gtk+ 2.16 "icon_pos": the icon position

Set_Icon_Tooltip_Markup

procedure Set_Icon_Tooltip_Markup 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position;
Tooltip: UTF8_String := "");
Sets Tooltip as the contents of the tooltip for the icon at the specified position. Tooltip is assumed to be marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>. Use null for Tooltip to remove an existing tooltip. See also Gtk.Widget.Set_Tooltip_Markup and Gtk.GEntry.Set_Icon_Tooltip_Text. Since: gtk+ 2.16 "icon_pos": the icon position "tooltip": the contents of the tooltip for the icon, or null

Get_Icon_Tooltip_Text

function Get_Icon_Tooltip_Text 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position) return UTF8_String;
Gets the contents of the tooltip on the icon at the specified position in Entry. Since: gtk+ 2.16 "icon_pos": the icon position

Set_Icon_Tooltip_Text

procedure Set_Icon_Tooltip_Text 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position;
Tooltip: UTF8_String := "");
Sets Tooltip as the contents of the tooltip for the icon at the specified position. Use null for Tooltip to remove an existing tooltip. See also Gtk.Widget.Set_Tooltip_Text and Gtk.GEntry.Set_Icon_Tooltip_Markup. Since: gtk+ 2.16 "icon_pos": the icon position "tooltip": the contents of the tooltip for the icon, or null

Get_Inner_Border

function Get_Inner_Border 
(The_Entry: not null access Gtk_Entry_Record) return Gtk.Style.Gtk_Border;

Set_Inner_Border

procedure Set_Inner_Border 
(The_Entry: not null access Gtk_Entry_Record;
Border: Gtk.Style.Gtk_Border);

Get_Input_Hints

function Get_Input_Hints 
(The_Entry: not null access Gtk_Entry_Record) return Gtk.Enums.Gtk_Input_Hints;
Gets the value of the Gtk.GEntry.Gtk_Entry:input-hints property. Since: gtk+ 3.6

Set_Input_Hints

procedure Set_Input_Hints 
(The_Entry: not null access Gtk_Entry_Record;
Hints: Gtk.Enums.Gtk_Input_Hints);
Sets the Gtk.GEntry.Gtk_Entry:input-hints property, which allows input methods to fine-tune their behaviour. Since: gtk+ 3.6 "hints": the hints

Get_Input_Purpose

function Get_Input_Purpose 
(The_Entry: not null access Gtk_Entry_Record) return Gtk.Enums.Gtk_Input_Purpose;
Gets the value of the Gtk.GEntry.Gtk_Entry:input-purpose property. Since: gtk+ 3.6

Set_Input_Purpose

procedure Set_Input_Purpose 
(The_Entry: not null access Gtk_Entry_Record;
Purpose: Gtk.Enums.Gtk_Input_Purpose);
Sets the Gtk.GEntry.Gtk_Entry:input-purpose property which can be used by on-screen keyboards and other input methods to adjust their behaviour. Since: gtk+ 3.6 "purpose": the purpose

Get_Invisible_Char

function Get_Invisible_Char 
(The_Entry: not null access Gtk_Entry_Record) return Gunichar;
Retrieves the character displayed in place of the real characters for entries with visibility set to false. See Gtk.GEntry.Set_Invisible_Char.

Set_Invisible_Char

procedure Set_Invisible_Char 
(The_Entry: not null access Gtk_Entry_Record;
Char: Gunichar);
Sets the character to use in place of the actual text when Gtk.GEntry.Set_Visibility has been called to set text visibility to False. i.e. this is the character used in "password mode" to show the user how many characters have been typed. By default, GTK+ picks the best invisible char available in the current font. If you set the invisible char to 0, then the user will get no feedback at all; there will be no text on the screen as they type. "Char": a Unicode character

Get_Layout

function Get_Layout 
(The_Entry: not null access Gtk_Entry_Record) return Pango.Layout.Pango_Layout;
Gets the Pango.Layout.Pango_Layout used to display the entry. The layout is useful to e.g. convert text positions to pixel positions, in combination with Gtk.GEntry.Get_Layout_Offsets. The returned layout is owned by the entry and must not be modified or freed by the caller. Keep in mind that the layout text may contain a preedit string, so Gtk.GEntry.Layout_Index_To_Text_Index and Gtk.GEntry.Text_Index_To_Layout_Index are needed to convert byte indices in the layout to byte indices in the entry contents.

Get_Layout_Offsets

procedure Get_Layout_Offsets 
(The_Entry: not null access Gtk_Entry_Record;
X: out Gint;
Y: out Gint);
Obtains the position of the Pango.Layout.Pango_Layout used to render text in the entry, in widget coordinates. Useful if you want to line up the text in an entry with some other text, e.g. when using the entry to implement editable cells in a sheet widget. Also useful to convert mouse events into coordinates inside the Pango.Layout.Pango_Layout, e.g. to take some action if some part of the entry text is clicked. Note that as the user scrolls around in the entry the offsets will change; you'll need to connect to the "notify::scroll-offset" signal to track this. Remember when using the Pango.Layout.Pango_Layout functions you need to convert to and from pixels using PANGO_PIXELS or PANGO_SCALE. Keep in mind that the layout text may contain a preedit string, so Gtk.GEntry.Layout_Index_To_Text_Index and Gtk.GEntry.Text_Index_To_Layout_Index are needed to convert byte indices in the layout to byte indices in the entry contents. "x": location to store X offset of layout, or null "y": location to store Y offset of layout, or null

Get_Max_Length

function Get_Max_Length 
(The_Entry: not null access Gtk_Entry_Record) return Gint;
Retrieves the maximum allowed length of the text in Entry. See Gtk.GEntry.Set_Max_Length. This is equivalent to: gtk_entry_buffer_get_max_length (gtk_entry_get_buffer (entry));

Set_Max_Length

procedure Set_Max_Length 
(The_Entry: not null access Gtk_Entry_Record;
Max: Gint);
Sets the maximum allowed length of the contents of the widget. If the current contents are longer than the given length, then they will be truncated to fit. This is equivalent to: gtk_entry_buffer_set_max_length (gtk_entry_get_buffer (entry), max); "max": the maximum length of the entry, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be clamped to the range 0-65536.

Get_Overwrite_Mode

function Get_Overwrite_Mode 
(The_Entry: not null access Gtk_Entry_Record) return Boolean;
Gets the value set by Gtk.GEntry.Set_Overwrite_Mode. Since: gtk+ 2.14

Set_Overwrite_Mode

procedure Set_Overwrite_Mode 
(The_Entry: not null access Gtk_Entry_Record;
Overwrite: Boolean);
Sets whether the text is overwritten when typing in the Gtk.GEntry.Gtk_Entry. Since: gtk+ 2.14 "overwrite": new value

Get_Placeholder_Text

function Get_Placeholder_Text 
(The_Entry: not null access Gtk_Entry_Record) return UTF8_String;
Retrieves the text that will be displayed when Entry is empty and unfocused Since: gtk+ 3.2

Set_Placeholder_Text

procedure Set_Placeholder_Text 
(The_Entry: not null access Gtk_Entry_Record;
Text: UTF8_String);
Sets text to be displayed in Entry when it is empty and unfocused. This can be used to give a visual hint of the expected contents of the Gtk.GEntry.Gtk_Entry. Note that since the placeholder text gets removed when the entry received focus, using this feature is a bit problematic if the entry is given the initial focus in a window. Sometimes this can be worked around by delaying the initial focus setting until the first key event arrives. Since: gtk+ 3.2 "text": a string to be displayed when Entry is empty an unfocused, or null

Get_Progress_Fraction

function Get_Progress_Fraction 
(The_Entry: not null access Gtk_Entry_Record) return Gdouble;
Returns the current fraction of the task that's been completed. See Gtk.GEntry.Set_Progress_Fraction. Since: gtk+ 2.16

Set_Progress_Fraction

procedure Set_Progress_Fraction 
(The_Entry: not null access Gtk_Entry_Record;
Fraction: Gdouble);
Causes the entry's progress indicator to "fill in" the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive. Since: gtk+ 2.16 "fraction": fraction of the task that's been completed

Get_Progress_Pulse_Step

function Get_Progress_Pulse_Step 
(The_Entry: not null access Gtk_Entry_Record) return Gdouble;
Retrieves the pulse step set with Gtk.GEntry.Set_Progress_Pulse_Step. Since: gtk+ 2.16

Set_Progress_Pulse_Step

procedure Set_Progress_Pulse_Step 
(The_Entry: not null access Gtk_Entry_Record;
Fraction: Gdouble);
Sets the fraction of total entry width to move the progress bouncing block for each call to Gtk.GEntry.Progress_Pulse. Since: gtk+ 2.16 "fraction": fraction between 0.0 and 1.0

Get_Text

function Get_Text 
(The_Entry: not null access Gtk_Entry_Record) return UTF8_String;
Retrieves the contents of the entry widget. See also Gtk.Editable.Get_Chars. This is equivalent to: gtk_entry_buffer_get_text (gtk_entry_get_buffer (entry));

Set_Text

procedure Set_Text 
(The_Entry: not null access Gtk_Entry_Record;
Text: UTF8_String);
Sets the text in the widget to the given value, replacing the current contents. See Gtk.Entry_Buffer.Set_Text. "text": the new text

Get_Text_Area

procedure Get_Text_Area 
(The_Entry: not null access Gtk_Entry_Record;
Text_Area: out Gdk.Rectangle.Gdk_Rectangle);
Gets the area where the entry's text is drawn. This function is useful when drawing something to the entry in a draw callback. If the entry is not realized, Text_Area is filled with zeros. See also Gtk.GEntry.Get_Icon_Area. Since: gtk+ 3.0 "text_area": Return location for the text area.

Get_Text_Length

function Get_Text_Length 
(The_Entry: not null access Gtk_Entry_Record) return Guint16;
Retrieves the current length of the text in Entry. This is equivalent to: gtk_entry_buffer_get_length (gtk_entry_get_buffer (entry)); Since: gtk+ 2.14

Get_Visibility

function Get_Visibility 
(The_Entry: not null access Gtk_Entry_Record) return Boolean;
Retrieves whether the text in Entry is visible. See Gtk.GEntry.Set_Visibility.

Set_Visibility

procedure Set_Visibility 
(The_Entry: not null access Gtk_Entry_Record;
Visible: Boolean);
Sets whether the contents of the entry are visible or not. When visibility is set to False, characters are displayed as the invisible char, and will also appear that way when the text in the entry widget is copied elsewhere. By default, GTK+ picks the best invisible character available in the current font, but it can be changed with Gtk.GEntry.Set_Invisible_Char. Note that you probably want to set Gtk.GEntry.Gtk_Entry:input-purpose to Gtk.Enums.Input_Purpose_Password or Gtk.Enums.Input_Purpose_Pin to inform input methods about the purpose of this entry, in addition to setting visibility to False. "visible": True if the contents of the entry are displayed as plaintext

Get_Width_Chars

function Get_Width_Chars 
(The_Entry: not null access Gtk_Entry_Record) return Gint;
Gets the value set by Gtk.GEntry.Set_Width_Chars.

Set_Width_Chars

procedure Set_Width_Chars 
(The_Entry: not null access Gtk_Entry_Record;
Width: Gint);
Changes the size request of the entry to be about the right size for N_Chars characters. Note that it changes the size *request*, the size can still be affected by how you pack the widget into containers. If N_Chars is -1, the size reverts to the default entry size. "Width": width in chars

Im_Context_Filter_Keypress

function Im_Context_Filter_Keypress 
(The_Entry: not null access Gtk_Entry_Record;
Event: Gdk.Event.Gdk_Event_Key) return Boolean;
Allow the Gtk.GEntry.Gtk_Entry input method to internally handle key press and release events. If this function returns True, then no further processing should be done for this key event. See Gtk.IM_Context.Filter_Keypress. Note that you are expected to call this function from your handler when overriding key event handling. This is needed in the case when you need to insert your own key handling between the input method and the default key event handling of the Gtk.GEntry.Gtk_Entry. See Gtk.Text_View.Reset_Im_Context for an example of use. Since: gtk+ 2.22 "event": the key event

Layout_Index_To_Text_Index

function Layout_Index_To_Text_Index 
(The_Entry: not null access Gtk_Entry_Record;
Layout_Index: Gint) return Gint;
Converts from a position in the entry contents (returned by Gtk.GEntry.Get_Text) to a position in the entry's Pango.Layout.Pango_Layout (returned by Gtk.GEntry.Get_Layout, with text retrieved via Pango.Layout.Get_Text). "layout_index": byte index into the entry layout text

Progress_Pulse

procedure Progress_Pulse 
(The_Entry: not null access Gtk_Entry_Record);
Indicates that some progress is made, but you don't know how much. Causes the entry's progress indicator to enter "activity mode," where a block bounces back and forth. Each call to Gtk.GEntry.Progress_Pulse causes the block to move by a little bit (the amount of movement per pulse is determined by Gtk.GEntry.Set_Progress_Pulse_Step). Since: gtk+ 2.16

Reset_Im_Context

procedure Reset_Im_Context 
(The_Entry: not null access Gtk_Entry_Record);
Reset the input method context of the entry if needed. This can be necessary in the case where modifying the buffer would confuse on-going input method behavior. Since: gtk+ 2.22

Set_Icon_Drag_Source

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);
Sets up the icon at the given position so that GTK+ will start a drag operation when the user clicks and drags the icon. To handle the drag operation, you need to connect to the usual Gtk.Widget.Gtk_Widget::drag-data-get (or possibly Gtk.Widget.Gtk_Widget::drag-data-delete) signal, and use Gtk.GEntry.Get_Current_Icon_Drag_Source in your signal handler to find out if the drag was started from an icon. By default, GTK+ uses the icon as the drag icon. You can use the Gtk.Widget.Gtk_Widget::drag-begin signal to set a different icon. Note that you have to use g_signal_connect_after to ensure that your signal handler gets executed after the default handler. Since: gtk+ 2.16 "icon_pos": icon position "target_list": the targets (data formats) in which the data can be provided "actions": a bitmask of the allowed drag actions

Set_Icon_From_Gicon

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);
Sets the icon shown in the entry at the specified position from the current icon theme. If the icon isn't known, a "broken image" icon will be displayed instead. If Icon is null, no icon will be shown in the specified position. Since: gtk+ 2.16 "icon_pos": The position at which to set the icon "icon": The icon to set, or null

Set_Icon_From_Icon_Name

procedure Set_Icon_From_Icon_Name 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position;
Icon_Name: UTF8_String := "");
Sets the icon shown in the entry at the specified position from the current icon theme. If the icon name isn't known, a "broken image" icon will be displayed instead. If Icon_Name is null, no icon will be shown in the specified position. Since: gtk+ 2.16 "icon_pos": The position at which to set the icon "icon_name": An icon name, or null

Set_Icon_From_Pixbuf

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);
Sets the icon shown in the specified position using a pixbuf. If Pixbuf is null, no icon will be shown in the specified position. Since: gtk+ 2.16 "icon_pos": Icon position "pixbuf": A Gdk.Pixbuf.Gdk_Pixbuf, or null

Set_Icon_From_Stock

procedure Set_Icon_From_Stock 
(The_Entry: not null access Gtk_Entry_Record;
Icon_Pos: Gtk_Entry_Icon_Position;
Stock_Id: UTF8_String := "");
Sets the icon shown in the entry at the specified position from a stock image. If Stock_Id is null, no icon will be shown in the specified position. Since: gtk+ 2.16 "icon_pos": Icon position "stock_id": The name of the stock item, or null

Text_Index_To_Layout_Index

function Text_Index_To_Layout_Index 
(The_Entry: not null access Gtk_Entry_Record;
Text_Index: Gint) return Gint;
Converts from a position in the entry's Pango.Layout.Pango_Layout (returned by Gtk.GEntry.Get_Layout) to a position in the entry contents (returned by Gtk.GEntry.Get_Text). "text_index": byte index into the entry contents

Unset_Invisible_Char

procedure Unset_Invisible_Char 
(The_Entry: not null access Gtk_Entry_Record);
Unsets the invisible char previously set with Gtk.GEntry.Set_Invisible_Char. So that the default invisible char is used again. Since: gtk+ 2.16

Insert_Text

procedure Insert_Text 
(Editable: access Gtk_Entry_Record;
New_Text: UTF8_String;
Position: in out Gint);
Convenience subprogram, identical to Insert_Text above without the requirement to supply the New_Text_Length argument.

Editing_Done

procedure Editing_Done 
(Cell_Editable: not null access Gtk_Entry_Record);

Remove_Widget

procedure Remove_Widget 
(Cell_Editable: not null access Gtk_Entry_Record);

Start_Editing

procedure Start_Editing 
(Cell_Editable: not null access Gtk_Entry_Record;
Event: Gdk.Event.Gdk_Event);

Copy_Clipboard

procedure Copy_Clipboard 
(Editable: not null access Gtk_Entry_Record);

Cut_Clipboard

procedure Cut_Clipboard 
(Editable: not null access Gtk_Entry_Record);

Delete_Selection

procedure Delete_Selection 
(Editable: not null access Gtk_Entry_Record);

Delete_Text

procedure Delete_Text 
(Editable: not null access Gtk_Entry_Record;
Start_Pos: Gint;
End_Pos: Gint := -1);

Get_Chars

function Get_Chars 
(Editable: not null access Gtk_Entry_Record;
Start_Pos: Gint;
End_Pos: Gint := -1) return UTF8_String;

Get_Editable

function Get_Editable 
(Editable: not null access Gtk_Entry_Record) return Boolean;

Set_Editable

procedure Set_Editable 
(Editable: not null access Gtk_Entry_Record;
Is_Editable: Boolean);

Get_Position

function Get_Position 
(Editable: not null access Gtk_Entry_Record) return Gint;

Set_Position

procedure Set_Position 
(Editable: not null access Gtk_Entry_Record;
Position: Gint);

Get_Selection_Bounds

procedure Get_Selection_Bounds 
(Editable: not null access Gtk_Entry_Record;
Start_Pos: out Gint;
End_Pos: out Gint;
Has_Selection: out Boolean);

Insert_Text

procedure Insert_Text 
(Editable: not null access Gtk_Entry_Record;
New_Text: UTF8_String;
New_Text_Length: Gint;
Position: in out Gint);

Paste_Clipboard

procedure Paste_Clipboard 
(Editable: not null access Gtk_Entry_Record);

Select_Region

procedure Select_Region 
(Editable: not null access Gtk_Entry_Record;
Start_Pos: Gint;
End_Pos: Gint := -1);

On_Activate

procedure On_Activate 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Void;
After: Boolean := False);

On_Activate

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);
The ::activate signal is emitted when the user hits the Enter key. While this signal is used as a <link linkend="keybinding-signals">keybinding signal</link>, it is also commonly used by applications to intercept activation of entries. The default bindings for this signal are all forms of the Enter key.

On_Backspace

procedure On_Backspace 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Void;
After: Boolean := False);

On_Backspace

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);
The ::backspace signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user asks for it. The default bindings for this signal are Backspace and Shift-Backspace.

On_Copy_Clipboard

procedure On_Copy_Clipboard 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Void;
After: Boolean := False);

On_Copy_Clipboard

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);
The ::copy-clipboard signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted to copy the selection to the clipboard. The default bindings for this signal are Ctrl-c and Ctrl-Insert.

On_Cut_Clipboard

procedure On_Cut_Clipboard 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Void;
After: Boolean := False);

On_Cut_Clipboard

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);
The ::cut-clipboard signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted to cut the selection to the clipboard. The default bindings for this signal are Ctrl-x and Shift-Delete.

On_Delete_From_Cursor

procedure On_Delete_From_Cursor 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Gtk_Delete_Type_Gint_Void;
After: Boolean := False);

On_Delete_From_Cursor

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);
The ::delete-from-cursor signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user initiates a text deletion. If the Type is Gtk.Enums.Delete_Chars, GTK+ deletes the selection if there is one, otherwise it deletes the requested number of characters. The default bindings for this signal are Delete for deleting a character and Ctrl-Delete for deleting a word. Callback parameters: -- "type": the granularity of the deletion, as a Gtk.Enums.Gtk_Delete_Type -- "count": the number of Type units to delete

On_Icon_Press

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);

On_Icon_Press

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);
The ::icon-press signal is emitted when an activatable icon is clicked. Callback parameters: -- "icon_pos": The position of the clicked icon -- "event": the button press event

On_Icon_Release

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);

On_Icon_Release

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);
The ::icon-release signal is emitted on the button release from a mouse click over an activatable icon. Callback parameters: -- "icon_pos": The position of the clicked icon -- "event": the button release event

On_Insert_At_Cursor

procedure On_Insert_At_Cursor 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_UTF8_String_Void;
After: Boolean := False);

On_Insert_At_Cursor

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);
The ::insert-at-cursor signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user initiates the insertion of a fixed string at the cursor. This signal has no default bindings.

On_Move_Cursor

procedure On_Move_Cursor 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Gtk_Movement_Step_Gint_Boolean_Void;
After: Boolean := False);

On_Move_Cursor

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);
The ::move-cursor signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user initiates a cursor movement. If the cursor is not visible in Entry, this signal causes the viewport to be moved instead. Applications should not connect to it, but may emit it with g_signal_emit_by_name if they need to control the cursor programmatically. The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifer does not. There are too many key combinations to list them all here. * Arrow keys move by individual characters/lines * Ctrl-arrow key combinations move by words/paragraphs * Home/End keys move to the ends of the buffer Callback parameters: -- "step": the granularity of the move, as a Gtk.Enums.Gtk_Movement_Step -- "count": the number of Step units to move -- "extend_selection": True if the move should extend the selection

On_Paste_Clipboard

procedure On_Paste_Clipboard 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Void;
After: Boolean := False);

On_Paste_Clipboard

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);
The ::paste-clipboard signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted to paste the contents of the clipboard into the text view. The default bindings for this signal are Ctrl-v and Shift-Insert.

On_Populate_Popup

procedure On_Populate_Popup 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Gtk_Widget_Void;
After: Boolean := False);

On_Populate_Popup

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);
The ::populate-popup signal gets emitted before showing the context menu of the entry. If you need to add items to the context menu, connect to this signal and append your items to the Widget, which will be a Gtk.Menu.Gtk_Menu in this case. If Gtk.GEntry.Gtk_Entry::populate-all is True, this signal will also be emitted to populate touch popups. In this case, Widget will be a different container, e.g. a Gtk.Toolbar.Gtk_Toolbar. The signal handler should not make assumptions about the type of Widget.

On_Preedit_Changed

procedure On_Preedit_Changed 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_UTF8_String_Void;
After: Boolean := False);

On_Preedit_Changed

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);
If an input method is used, the typed text will not immediately be committed to the buffer. So if you are interested in the text, connect to this signal.

On_Toggle_Overwrite

procedure On_Toggle_Overwrite 
(Self: not null access Gtk_Entry_Record;
Call: Cb_Gtk_Entry_Void;
After: Boolean := False);

On_Toggle_Overwrite

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);
The ::toggle-overwrite signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted to toggle the overwrite mode of the entry. The default bindings for this signal is Insert.