1. Compilation Units

    1. Cairo
    2. Cairo.Font_Face
    3. Cairo.Font_Options
    4. Cairo.Image_Surface
    5. Cairo.PDF
    6. Cairo.Matrix
    7. Cairo.Pattern
    8. Cairo.Png
    9. Cairo.SVG
    10. Cairo.Region
    11. Cairo.Scaled_Font
    12. Cairo.Surface
    13. Fontconfig
    14. Gdk
    15. Gdk.Cairo
    16. Gdk.Color
    17. Gdk.Cursor
    18. Gdk.Device
    19. Gdk.Device_Manager
    20. Gdk.Device_Tool
    21. Gdk.Display
    22. Gdk.Display_Manager
    23. Gdk.Dnd
    24. Gdk.Drag_Contexts
    25. Gdk.Drawing_Context
    26. Gdk.Event
      1. Gdk.Event.Handler_Set_User_Data
    27. Gdk.Frame_Clock
    28. Gdk.Frame_Timings
    29. Gdk.GLContext
    30. Gdk.Input
      1. Gdk.Input.Input_Add
    31. Gdk.Keyval
    32. Gdk.Main
    33. Gdk.Monitor
    34. Gdk.Pixbuf
    35. Gdk.RGBA
    36. Gdk.Property
    37. Gdk.Rectangle
    38. Gdk.Screen
    39. Gdk.Seat
    40. Gdk.Threads
    41. Gdk.Types
    42. Gdk.Types.Keysyms
    43. Gdk.Visual
    44. Gdk.Window
      1. Gdk.Window.Invalidate_Maybe_Recurse_User_Data
    45. Gdk.Window_Attr
    46. Glib
    47. Glib.Action
    48. Glib.Action_Group
    49. Glib.Action_Map
    50. Glib.Application
    51. Glib.Cancellable
      1. Glib.Cancellable.Connect_User_Data
    52. Glib.Convert
    53. Glib.Enums
    54. Glib.GSlist
      1. Glib.GSlist.Generic_SList
    55. Glib.Error
    56. Glib.G_Icon
    57. Glib.Generic_Properties
      1. Glib.Generic_Properties.Generic_Enumeration_Property
      2. Glib.Generic_Properties.Generic_Internal_Boxed_Property
      3. Glib.Generic_Properties.Generic_Internal_Discrete_Property
    58. Glib.Glist
      1. Glib.Glist.Generic_List
    59. Glib.Gnodes
      1. Glib.Gnodes.Gnode_Data
    60. Glib.Graphs
    61. Glib.Graphs.Layouts
      1. Glib.Graphs.Layouts.Layered_Layouts
    62. Glib.IOChannel
    63. Glib.Key_File
    64. Glib.List_Model
    65. Glib.Main
      1. Glib.Main.Generic_Sources
    66. Glib.Menu
    67. Glib.Menu_Model
    68. Glib.Messages
    69. Glib.Module
    70. Glib.Notification
    71. Glib.Object
      1. Glib.Object.User_Data
      2. Glib.Object.User_Data_Closure
    72. Glib.Option
      1. Glib.Option.Set_Translate_Func_User_Data
    73. Glib.Poll
    74. Glib.Properties
    75. Glib.Properties.Creation
    76. Glib.Simple_Action
    77. Glib.Simple_Action_Group
    78. Glib.Spawn
    79. Glib.String
    80. Glib.Type_Conversion_Hooks
      1. Glib.Type_Conversion_Hooks.Hook_Registrator
    81. Glib.Types
      1. Glib.Types.Implements
    82. Glib.Unicode
    83. Glib.Utils
    84. Glib.Values
    85. Glib.Variant
    86. Glib.XML
    87. Gtk
    88. Gtk.About_Dialog
    89. Gtk.Accel_Group
    90. Gtk.Accel_Label
    91. Gtk.Accel_Map
      1. Gtk.Accel_Map.Foreach_Unfiltered_User_Data
      2. Gtk.Accel_Map.Foreach_User_Data
    92. Gtk.Action
    93. Gtk.Action_Bar
    94. Gtk.Action_Group
      1. Gtk.Action_Group.Set_Translate_Func_User_Data
    95. Gtk.Actionable
    96. Gtk.Activatable
    97. Gtk.Adjustment
    98. Gtk.Alignment
    99. Gtk.Application
    100. Gtk.Application_Window
    101. Gtk.Arguments
    102. Gtk.Arrow
    103. Gtk.Aspect_Frame
    104. Gtk.Assistant
      1. Gtk.Assistant.Set_Forward_Page_Func_User_Data
    105. Gtk.Bin
    106. Gtk.Binding_Set
    107. Gtk.Bindings
    108. Gtk.Box
    109. Gtk.Buildable
    110. Gtk.Builder
    111. Gtk.Button
    112. Gtk.Button_Box
    113. Gtk.Calendar
      1. Gtk.Calendar.Set_Detail_Func_User_Data
    114. Gtk.Cell_Area
      1. Gtk.Cell_Area.Foreach_Alloc_User_Data
      2. Gtk.Cell_Area.Foreach_User_Data
      3. Gtk.Cell_Area.Set_Cell_Data_Func_User_Data
    115. Gtk.Cell_Area_Box
      1. Gtk.Cell_Area_Box.Set_Cell_Data_Func_User_Data
    116. Gtk.Cell_Area_Context
    117. Gtk.Cell_Editable
    118. Gtk.Cell_Layout
      1. Gtk.Cell_Layout.Set_Cell_Data_Func_User_Data
    119. Gtk.Cell_Renderer
    120. Gtk.Cell_Renderer_Accel
    121. Gtk.Cell_Renderer_Combo
    122. Gtk.Cell_Renderer_Pixbuf
    123. Gtk.Cell_Renderer_Progress
    124. Gtk.Cell_Renderer_Spin
    125. Gtk.Cell_Renderer_Spinner
    126. Gtk.Cell_Renderer_Text
    127. Gtk.Cell_Renderer_Toggle
    128. Gtk.Cell_View
      1. Gtk.Cell_View.Set_Cell_Data_Func_User_Data
    129. Gtk.Check_Button
    130. Gtk.Check_Menu_Item
    131. Gtk.Clipboard
    132. Gtk.Color_Button
    133. Gtk.Color_Chooser
    134. Gtk.Color_Chooser_Dialog
    135. Gtk.Color_Chooser_Widget
    136. Gtk.Color_Selection
    137. Gtk.Color_Selection_Dialog
    138. Gtk.Combo_Box
      1. Gtk.Combo_Box.Set_Cell_Data_Func_User_Data
      2. Gtk.Combo_Box.Set_Row_Separator_Func_User_Data
    139. Gtk.Combo_Box_Text
      1. Gtk.Combo_Box_Text.Set_Cell_Data_Func_User_Data
    140. Gtk.Container
      1. Gtk.Container.Forall_User_Data
      2. Gtk.Container.Foreach_User_Data
    141. Gtk.Css_Provider
    142. Gtk.Css_Section
    143. Gtk.Dialog
    144. Gtk.Dnd
    145. Gtk.Drawing_Area
    146. Gtk.Editable
    147. Gtk.Entry_Buffer
    148. Gtk.Entry_Completion
      1. Gtk.Entry_Completion.Set_Cell_Data_Func_User_Data
      2. Gtk.Entry_Completion.Set_Match_Func_User_Data
    149. Gtk.Enums
    150. Gtk.Event_Box
    151. Gtk.Event_Controller
    152. Gtk.Expander
    153. Gtk.File_Chooser
    154. Gtk.File_Chooser_Button
    155. Gtk.File_Chooser_Dialog
    156. Gtk.File_Chooser_Widget
    157. Gtk.File_Filter
      1. Gtk.File_Filter.Add_Custom_User_Data
    158. Gtk.Fixed
    159. Gtk.Flow_Box
      1. Gtk.Flow_Box.Bind_Model_User_Data
      2. Gtk.Flow_Box.Selected_Foreach_User_Data
      3. Gtk.Flow_Box.Set_Filter_Func_User_Data
      4. Gtk.Flow_Box.Set_Sort_Func_User_Data
    160. Gtk.Flow_Box_Child
    161. Gtk.Font_Button
      1. Gtk.Font_Button.Set_Filter_Func_User_Data
    162. Gtk.Font_Chooser
      1. Gtk.Font_Chooser.Set_Filter_Func_User_Data
    163. Gtk.Font_Chooser_Dialog
      1. Gtk.Font_Chooser_Dialog.Set_Filter_Func_User_Data
    164. Gtk.Font_Chooser_Widget
      1. Gtk.Font_Chooser_Widget.Set_Filter_Func_User_Data
    165. Gtk.Font_Selection
    166. Gtk.Font_Selection_Dialog
    167. Gtk.Frame
    168. Gtk.GLArea
    169. Gtk.GRange
    170. Gtk.GEntry
    171. Gtk.Gesture
    172. Gtk.Gesture_Drag
    173. Gtk.Gesture_Long_Press
    174. Gtk.Gesture_Multi_Press
    175. Gtk.Gesture_Pan
    176. Gtk.Gesture_Rotate
    177. Gtk.Gesture_Single
    178. Gtk.Gesture_Swipe
    179. Gtk.Gesture_Zoom
    180. Gtk.Gradient
    181. Gtk.Grid
    182. Gtk.Handle_Box
    183. Gtk.Hbutton_Box
    184. Gtk.Header_Bar
    185. Gtk.IM_Context
    186. Gtk.IM_Context_Simple
    187. Gtk.IM_Multi_Context
    188. Gtk.Hsv
    189. Gtk.Icon_Factory
    190. Gtk.Icon_Set
    191. Gtk.Icon_Source
    192. Gtk.Icon_Theme
    193. Gtk.Icon_View
      1. Gtk.Icon_View.Selected_Foreach_User_Data
      2. Gtk.Icon_View.Set_Cell_Data_Func_User_Data
    194. Gtk.Image
    195. Gtk.Image_Menu_Item
    196. Gtk.Info_Bar
    197. Gtk.Invisible
    198. Gtk.Label
    199. Gtk.Layout
    200. Gtk.Level_Bar
    201. Gtk.Link_Button
    202. Gtk.List_Box
      1. Gtk.List_Box.Bind_Model_User_Data
      2. Gtk.List_Box.Selected_Foreach_User_Data
      3. Gtk.List_Box.Set_Filter_Func_User_Data
      4. Gtk.List_Box.Set_Header_Func_User_Data
      5. Gtk.List_Box.Set_Sort_Func_User_Data
    203. Gtk.List_Box_Row
    204. Gtk.List_Store
      1. Gtk.List_Store.Foreach_User_Data
      2. Gtk.List_Store.Set_Default_Sort_Func_User_Data
      3. Gtk.List_Store.Set_Sort_Func_User_Data
    205. Gtk.Main
    206. Gtk.Menu
      1. Gtk.Menu.Popup_For_Device_User_Data
      2. Gtk.Menu.Popup_User_Data
    207. Gtk.Menu_Bar
    208. Gtk.Menu_Button
    209. Gtk.Menu_Item
    210. Gtk.Menu_Shell
    211. Gtk.Menu_Tool_Button
    212. Gtk.Message_Dialog
    213. Gtk.Misc
    214. Gtk.Notebook
    215. Gtk.Offscreen_Window
    216. Gtk.Orientable
    217. Gtk.Overlay
    218. Gtk.Page_Setup
    219. Gtk.Paned
    220. Gtk.Paper_Size
    221. Gtk.Popover
    222. Gtk.Print_Context
    223. Gtk.Print_Operation
    224. Gtk.Print_Operation_Preview
    225. Gtk.Print_Settings
      1. Gtk.Print_Settings.Foreach_User_Data
    226. Gtk.Progress_Bar
    227. Gtk.Radio_Action
    228. Gtk.Radio_Button
    229. Gtk.Radio_Menu_Item
    230. Gtk.Radio_Tool_Button
    231. Gtk.Rc
    232. Gtk.Recent_Action
      1. Gtk.Recent_Action.Set_Sort_Func_User_Data
    233. Gtk.Recent_Chooser
      1. Gtk.Recent_Chooser.Set_Sort_Func_User_Data
    234. Gtk.Recent_Chooser_Dialog
      1. Gtk.Recent_Chooser_Dialog.Set_Sort_Func_User_Data
    235. Gtk.Recent_Chooser_Menu
      1. Gtk.Recent_Chooser_Menu.Set_Sort_Func_User_Data
    236. Gtk.Recent_Chooser_Widget
      1. Gtk.Recent_Chooser_Widget.Set_Sort_Func_User_Data
    237. Gtk.Recent_Filter
      1. Gtk.Recent_Filter.Add_Custom_User_Data
    238. Gtk.Recent_Info
    239. Gtk.Recent_Manager
    240. Gtk.Revealer
    241. Gtk.Scale
    242. Gtk.Scale_Button
    243. Gtk.Scrollable
    244. Gtk.Scrollbar
    245. Gtk.Scrolled_Window
    246. Gtk.Search_Bar
    247. Gtk.Search_Entry
    248. Gtk.Selection_Data
    249. Gtk.Separator
    250. Gtk.Separator_Menu_Item
    251. Gtk.Separator_Tool_Item
    252. Gtk.Settings
    253. Gtk.Shortcuts_Window
    254. Gtk.Size_Group
    255. Gtk.Spin_Button
    256. Gtk.Spinner
    257. Gtk.Stack
    258. Gtk.Stack_Switcher
    259. Gtk.Status_Bar
    260. Gtk.Status_Icon
    261. Gtk.Stock
    262. Gtk.Style
    263. Gtk.Style_Context
    264. Gtk.Style_Properties
    265. Gtk.Style_Provider
    266. Gtk.Switch
    267. Gtk.Symbolic_Color
    268. Gtk.Table
    269. Gtk.Target_Entry
    270. Gtk.Target_List
    271. Gtk.Tearoff_Menu_Item
    272. Gtk.Text_Attributes
    273. Gtk.Text_Buffer
    274. Gtk.Text_Child
    275. Gtk.Text_Child_Anchor
    276. Gtk.Text_Iter
    277. Gtk.Text_Mark
    278. Gtk.Text_Tag
    279. Gtk.Text_Tag_Table
      1. Gtk.Text_Tag_Table.Foreach_User_Data
    280. Gtk.Text_View
    281. Gtk.Theming_Engine
    282. Gtk.Toggle_Action
    283. Gtk.Toggle_Button
    284. Gtk.Toggle_Tool_Button
    285. Gtk.Tool_Button
    286. Gtk.Tool_Item
    287. Gtk.Tool_Item_Group
    288. Gtk.Tool_Palette
    289. Gtk.Tool_Shell
    290. Gtk.Toolbar
    291. Gtk.Tooltip
    292. Gtk.Tree_Drag_Dest
    293. Gtk.Tree_Drag_Source
    294. Gtk.Tree_Model
      1. Gtk.Tree_Model.Foreach_User_Data
    295. Gtk.Tree_Model.Utils
    296. Gtk.Tree_Model_Filter
      1. Gtk.Tree_Model_Filter.Foreach_User_Data
      2. Gtk.Tree_Model_Filter.Set_Modify_Func_User_Data
      3. Gtk.Tree_Model_Filter.Set_Visible_Func_User_Data
    297. Gtk.Tree_Model_Sort
      1. Gtk.Tree_Model_Sort.Foreach_User_Data
      2. Gtk.Tree_Model_Sort.Set_Default_Sort_Func_User_Data
      3. Gtk.Tree_Model_Sort.Set_Sort_Func_User_Data
    298. Gtk.Tree_Row_Reference
    299. Gtk.Tree_Selection
      1. Gtk.Tree_Selection.Selected_Foreach_User_Data
      2. Gtk.Tree_Selection.Set_Select_Function_User_Data
    300. Gtk.Tree_Sortable
      1. Gtk.Tree_Sortable.Set_Default_Sort_Func_User_Data
      2. Gtk.Tree_Sortable.Set_Sort_Func_User_Data
    301. Gtk.Tree_Store
      1. Gtk.Tree_Store.Foreach_User_Data
      2. Gtk.Tree_Store.Generic_Set
      3. Gtk.Tree_Store.Set_Default_Sort_Func_User_Data
      4. Gtk.Tree_Store.Set_Sort_Func_User_Data
    302. Gtk.Tree_View
      1. Gtk.Tree_View.Insert_Column_With_Data_Func_User_Data
      2. Gtk.Tree_View.Map_Expanded_Rows_User_Data
      3. Gtk.Tree_View.Set_Column_Drag_Function_User_Data
      4. Gtk.Tree_View.Set_Destroy_Count_Func_User_Data
      5. Gtk.Tree_View.Set_Row_Separator_Func_User_Data
      6. Gtk.Tree_View.Set_Search_Equal_Func_User_Data
      7. Gtk.Tree_View.Set_Search_Position_Func_User_Data
    303. Gtk.Tree_View_Column
      1. Gtk.Tree_View_Column.Set_Cell_Data_Func_User_Data
    304. Gtk.Type_Conversion
    305. Gtk.UI_Manager
    306. Gtk.Vbutton_Box
    307. Gtk.Viewport
    308. Gtk.Volume_Button
    309. Gtk.Widget
      1. Gtk.Widget.Add_Tick_Callback_User_Data
      2. Gtk.Widget.Set_Connect_Func_User_Data
    310. Gtk.Window
    311. Gtkada
    312. Gtkada.Abstract_List_Model
    313. Gtkada.Abstract_Tree_Model
    314. Gtkada.Application
    315. Gtkada.Bindings
    316. Gtkada.Builder
    317. Gtkada.C
      1. Gtkada.C.Unbounded_Arrays
    318. Gtkada.Canvas
    319. Gtkada.Canvas_View
    320. Gtkada.Canvas_View.Astar
    321. Gtkada.Canvas_View.Links
    322. Gtkada.Canvas_View.Models
      1. Gtkada.Canvas_View.Models.Rtree_Models
    323. Gtkada.Canvas_View.Models.Layers
    324. Gtkada.Canvas_View.Objects
    325. Gtkada.Canvas_View.Rtrees
    326. Gtkada.Canvas_View.Views
    327. Gtkada.Dialogs
    328. Gtkada.File_Selection
    329. Gtkada.Handlers
    330. Gtkada.Intl
    331. Gtkada.MDI
      1. Gtkada.MDI.Desktop
    332. Gtkada.Multi_Paned
    333. Gtkada.Multiline_Entry
    334. Gtkada.Pixmaps
    335. Gtkada.Printing
    336. Gtkada.Stock_Icons
    337. Gtkada.Stock_Labels
    338. Gtkada.Style
    339. Gtkada.Types
    340. Pango
    341. Pango.Attributes
    342. Pango.Cairo
    343. Pango.Context
    344. Pango.Coverage
    345. Pango.Enums
    346. Pango.Font
    347. Pango.Font_Face
    348. Pango.Font_Family
    349. Pango.Font_Map
    350. Pango.Font_Metrics
    351. Pango.Fontset
      1. Pango.Fontset.Foreach_User_Data
    352. Pango.Language
    353. Pango.Layout
    354. Pango.Matrix
    355. Pango.Tabs
  2. Tagged Types

    1. Gdk.Device.Gdk_Device_Record
    2. Gdk.Device_Manager.Gdk_Device_Manager_Record
    3. Gdk.Device_Tool.Gdk_Device_Tool_Record
    4. Gdk.Display.Gdk_Display_Record
    5. Gdk.Drag_Contexts.Drag_Context_Record
    6. Gdk.Drawing_Context.Gdk_Drawing_Context_Record
    7. Gdk.Frame_Clock.Gdk_Frame_Clock_Record
    8. Gdk.Frame_Timings.Gdk_Frame_Timings
    9. Gdk.GLContext.Gdk_GLContext_Record
    10. Gdk.Monitor.Gdk_Monitor_Record
    11. Gdk.Pixbuf.Gdk_Pixbuf_Record
    12. Gdk.Screen.Gdk_Screen_Record
    13. Glib.Application.Gapplication_Command_Line_Record
    14. Glib.Application.Gapplication_Record
    15. Gdk.Seat.Gdk_Seat_Record
    16. Glib.C_Boxed
    17. Glib.Cancellable.Gcancellable_Record
    18. Glib.Graphs.Layouts.Base_Dummy_Vertex
    19. Glib.Graphs.Edge
    20. Glib.Graphs.Vertex
    21. Glib.Menu.Gmenu_Item_Record
    22. Glib.Menu.Gmenu_Record
    23. Glib.Menu_Model.Gmenu_Attribute_Iter_Record
    24. Glib.Menu_Model.Gmenu_Link_Iter_Record
    25. Glib.Menu_Model.Gmenu_Model_Record
    26. Glib.Object.GObject_Record
    27. Glib.Notification.Gnotification_Record
    28. Glib.Object.G_Binding_Record
    29. Glib.Option.Goption_Context
    30. Glib.Simple_Action.Gsimple_Action_Record
    31. Glib.Simple_Action_Group.Gsimple_Action_Group_Record
    32. Glib.Variant.Gvariant
    33. Gtk.About_Dialog.Gtk_About_Dialog_Record
    34. Gtk.Accel_Group.Gtk_Accel_Group_Record
    35. Gtk.Accel_Label.Gtk_Accel_Label_Record
    36. Gtk.Accel_Map.Gtk_Accel_Map_Record
    37. Gtk.Action.Gtk_Action_Record
    38. Gtk.Action_Bar.Gtk_Action_Bar_Record
    39. Gtk.Action_Group.Gtk_Action_Group_Record
    40. Gtk.Adjustment.Gtk_Adjustment_Record
    41. Gtk.Alignment.Gtk_Alignment_Record
    42. Gtk.Application.Gtk_Application_Record
    43. Gtk.Application_Window.Gtk_Application_Window_Record
    44. Gtk.Arrow.Gtk_Arrow_Record
    45. Gtk.Aspect_Frame.Gtk_Aspect_Frame_Record
    46. Gtk.Assistant.Gtk_Assistant_Record
    47. Gtk.Bin.Gtk_Bin_Record
    48. Gtk.Box.Gtk_Box_Record
    49. Gtk.Builder.Gtk_Builder_Record
    50. Gtk.Button.Gtk_Button_Record
    51. Gtk.Button_Box.Gtk_Button_Box_Record
    52. Gtk.Calendar.Gtk_Calendar_Record
    53. Gtk.Cell_Area.Gtk_Cell_Area_Record
    54. Gtk.Cell_Area_Box.Gtk_Cell_Area_Box_Record
    55. Gtk.Cell_Area_Context.Gtk_Cell_Area_Context_Record
    56. Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record
    57. Gtk.Cell_Renderer_Accel.Gtk_Cell_Renderer_Accel_Record
    58. Gtk.Cell_Renderer_Combo.Gtk_Cell_Renderer_Combo_Record
    59. Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf_Record
    60. Gtk.Cell_Renderer_Progress.Gtk_Cell_Renderer_Progress_Record
    61. Gtk.Cell_Renderer_Spin.Gtk_Cell_Renderer_Spin_Record
    62. Gtk.Cell_Renderer_Spinner.Gtk_Cell_Renderer_Spinner_Record
    63. Gtk.Cell_Renderer_Text.Gtk_Cell_Renderer_Text_Record
    64. Gtk.Cell_Renderer_Toggle.Gtk_Cell_Renderer_Toggle_Record
    65. Gtk.Cell_View.Gtk_Cell_View_Record
    66. Gtk.Check_Button.Gtk_Check_Button_Record
    67. Gtk.Check_Menu_Item.Gtk_Check_Menu_Item_Record
    68. Gtk.Clipboard.Gtk_Clipboard_Record
    69. Gtk.Color_Button.Gtk_Color_Button_Record
    70. Gtk.Color_Chooser_Dialog.Gtk_Color_Chooser_Dialog_Record
    71. Gtk.Color_Chooser_Widget.Gtk_Color_Chooser_Widget_Record
    72. Gtk.Color_Selection.Gtk_Color_Selection_Record
    73. Gtk.Color_Selection_Dialog.Gtk_Color_Selection_Dialog_Record
    74. Gtk.Combo_Box.Gtk_Combo_Box_Record
    75. Gtk.Combo_Box_Text.Gtk_Combo_Box_Text_Record
    76. Gtk.Container.Gtk_Container_Record
    77. Gtk.Css_Provider.Gtk_Css_Provider_Record
    78. Gtk.Css_Section.Gtk_Css_Section
    79. Gtk.Dialog.Gtk_Dialog_Record
    80. Gtk.Drawing_Area.Gtk_Drawing_Area_Record
    81. Gtk.Entry_Buffer.Gtk_Entry_Buffer_Record
    82. Gtk.Entry_Completion.Gtk_Entry_Completion_Record
    83. Gtk.Event_Box.Gtk_Event_Box_Record
    84. Gtk.Event_Controller.Gtk_Event_Controller_Record
    85. Gtk.Expander.Gtk_Expander_Record
    86. Gtk.File_Chooser_Button.Gtk_File_Chooser_Button_Record
    87. Gtk.File_Chooser_Dialog.Gtk_File_Chooser_Dialog_Record
    88. Gtk.File_Chooser_Widget.Gtk_File_Chooser_Widget_Record
    89. Gtk.File_Filter.Gtk_File_Filter_Record
    90. Gtk.Fixed.Gtk_Fixed_Record
    91. Gtk.Flow_Box.Gtk_Flow_Box_Record
    92. Gtk.Flow_Box_Child.Gtk_Flow_Box_Child_Record
    93. Gtk.Font_Button.Gtk_Font_Button_Record
    94. Gtk.Font_Chooser_Dialog.Gtk_Font_Chooser_Dialog_Record
    95. Gtk.Font_Chooser_Widget.Gtk_Font_Chooser_Widget_Record
    96. Gtk.Font_Selection.Gtk_Font_Selection_Record
    97. Gtk.Font_Selection_Dialog.Gtk_Font_Selection_Dialog_Record
    98. Gtk.Frame.Gtk_Frame_Record
    99. Gtk.GLArea.Gtk_GLArea_Record
    100. Gtk.GRange.Gtk_Range_Record
    101. Gtk.GEntry.Gtk_Entry_Record
    102. Gtk.Gesture.Gtk_Gesture_Record
    103. Gtk.Gesture_Drag.Gtk_Gesture_Drag_Record
    104. Gtk.Gesture_Long_Press.Gtk_Gesture_Long_Press_Record
    105. Gtk.Gesture_Multi_Press.Gtk_Gesture_Multi_Press_Record
    106. Gtk.Gesture_Pan.Gtk_Gesture_Pan_Record
    107. Gtk.Gesture_Rotate.Gtk_Gesture_Rotate_Record
    108. Gtk.Gesture_Single.Gtk_Gesture_Single_Record
    109. Gtk.Gesture_Swipe.Gtk_Gesture_Swipe_Record
    110. Gtk.Gesture_Zoom.Gtk_Gesture_Zoom_Record
    111. Gtk.Gradient.Gtk_Gradient
    112. Gtk.Grid.Gtk_Grid_Record
    113. Gtk.Handle_Box.Gtk_Handle_Box_Record
    114. Gtk.Hbutton_Box.Gtk_Hbutton_Box_Record
    115. Gtk.Header_Bar.Gtk_Header_Bar_Record
    116. Gtk.IM_Context.Gtk_IM_Context_Record
    117. Gtk.IM_Context_Simple.Gtk_IM_Context_Simple_Record
    118. Gtk.IM_Multi_Context.Gtk_IM_Multi_Context_Record
    119. Gtk.Hsv.Gtk_Hsv_Record
    120. Gtk.Icon_Factory.Gtk_Icon_Factory_Record
    121. Gtk.Icon_Set.Gtk_Icon_Set
    122. Gtk.Icon_Source.Gtk_Icon_Source
    123. Gtk.Icon_Theme.Gtk_Icon_Info_Record
    124. Gtk.Icon_Theme.Gtk_Icon_Theme_Record
    125. Gtk.Icon_View.Gtk_Icon_View_Record
    126. Gtk.Image.Gtk_Image_Record
    127. Gtk.Image_Menu_Item.Gtk_Image_Menu_Item_Record
    128. Gtk.Info_Bar.Gtk_Info_Bar_Record
    129. Gtk.Invisible.Gtk_Invisible_Record
    130. Gtk.Label.Gtk_Label_Record
    131. Gtk.Layout.Gtk_Layout_Record
    132. Gtk.Level_Bar.Gtk_Level_Bar_Record
    133. Gtk.Link_Button.Gtk_Link_Button_Record
    134. Gtk.List_Box.Gtk_List_Box_Record
    135. Gtk.List_Box_Row.Gtk_List_Box_Row_Record
    136. Gtk.List_Store.Gtk_List_Store_Record
    137. Gtk.Menu.Gtk_Menu_Record
    138. Gtk.Menu_Bar.Gtk_Menu_Bar_Record
    139. Gtk.Menu_Button.Gtk_Menu_Button_Record
    140. Gtk.Menu_Item.Gtk_Menu_Item_Record
    141. Gtk.Menu_Shell.Gtk_Menu_Shell_Record
    142. Gtk.Menu_Tool_Button.Gtk_Menu_Tool_Button_Record
    143. Gtk.Message_Dialog.Gtk_Message_Dialog_Record
    144. Gtk.Misc.Gtk_Misc_Record
    145. Gtk.Notebook.Gtk_Notebook_Record
    146. Gtk.Offscreen_Window.Gtk_Offscreen_Window_Record
    147. Gtk.Overlay.Gtk_Overlay_Record
    148. Gtk.Page_Setup.Gtk_Page_Setup_Record
    149. Gtk.Paned.Gtk_Paned_Record
    150. Gtk.Paper_Size.Gtk_Paper_Size
    151. Gtk.Popover.Gtk_Popover_Record
    152. Gtk.Print_Context.Gtk_Print_Context_Record
    153. Gtk.Print_Operation.Gtk_Print_Operation_Record
    154. Gtk.Print_Settings.Gtk_Print_Settings_Record
    155. Gtk.Progress_Bar.Gtk_Progress_Bar_Record
    156. Gtk.Radio_Action.Gtk_Radio_Action_Record
    157. Gtk.Radio_Button.Gtk_Radio_Button_Record
    158. Gtk.Radio_Menu_Item.Gtk_Radio_Menu_Item_Record
    159. Gtk.Radio_Tool_Button.Gtk_Radio_Tool_Button_Record
    160. Gtk.Recent_Action.Gtk_Recent_Action_Record
    161. Gtk.Recent_Chooser_Dialog.Gtk_Recent_Chooser_Dialog_Record
    162. Gtk.Recent_Chooser_Menu.Gtk_Recent_Chooser_Menu_Record
    163. Gtk.Recent_Chooser_Widget.Gtk_Recent_Chooser_Widget_Record
    164. Gtk.Recent_Filter.Gtk_Recent_Filter_Record
    165. Gtk.Recent_Info.Gtk_Recent_Info
    166. Gtk.Recent_Manager.Gtk_Recent_Manager_Record
    167. Gtk.Revealer.Gtk_Revealer_Record
    168. Gtk.Scale.Gtk_Scale_Record
    169. Gtk.Scale_Button.Gtk_Scale_Button_Record
    170. Gtk.Scrollbar.Gtk_Scrollbar_Record
    171. Gtk.Scrolled_Window.Gtk_Scrolled_Window_Record
    172. Gtk.Search_Bar.Gtk_Search_Bar_Record
    173. Gtk.Search_Entry.Gtk_Search_Entry_Record
    174. Gtk.Selection_Data.Gtk_Selection_Data
    175. Gtk.Separator.Gtk_Separator_Record
    176. Gtk.Separator_Menu_Item.Gtk_Separator_Menu_Item_Record
    177. Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item_Record
    178. Gtk.Settings.Gtk_Settings_Record
    179. Gtk.Shortcuts_Window.Gtk_Shortcuts_Window_Record
    180. Gtk.Size_Group.Gtk_Size_Group_Record
    181. Gtk.Spin_Button.Gtk_Spin_Button_Record
    182. Gtk.Spinner.Gtk_Spinner_Record
    183. Gtk.Stack.Gtk_Stack_Record
    184. Gtk.Stack_Switcher.Gtk_Stack_Switcher_Record
    185. Gtk.Status_Bar.Gtk_Status_Bar_Record
    186. Gtk.Status_Icon.Gtk_Status_Icon_Record
    187. Gtk.Style.Gtk_Style_Record
    188. Gtk.Style_Context.Gtk_Style_Context_Record
    189. Gtk.Style_Properties.Gtk_Style_Properties_Record
    190. Gtk.Switch.Gtk_Switch_Record
    191. Gtk.Symbolic_Color.Gtk_Symbolic_Color
    192. Gtk.Table.Gtk_Table_Record
    193. Gtk.Target_List.Gtk_Target_List
    194. Gtk.Tearoff_Menu_Item.Gtk_Tearoff_Menu_Item_Record
    195. Gtk.Text_Buffer.Gtk_Text_Buffer_Record
    196. Gtk.Text_Child.Gtk_Text_Child_Anchor_Record
    197. Gtk.Text_Child_Anchor.Gtk_Text_Child_Anchor_Record
    198. Gtk.Text_Mark.Gtk_Text_Mark_Record
    199. Gtk.Text_Tag.Gtk_Text_Tag_Record
    200. Gtk.Text_Tag_Table.Gtk_Text_Tag_Table_Record
    201. Gtk.Text_View.Gtk_Text_View_Record
    202. Gtk.Theming_Engine.Gtk_Theming_Engine_Record
    203. Gtk.Toggle_Action.Gtk_Toggle_Action_Record
    204. Gtk.Toggle_Button.Gtk_Toggle_Button_Record
    205. Gtk.Toggle_Tool_Button.Gtk_Toggle_Tool_Button_Record
    206. Gtk.Tool_Button.Gtk_Tool_Button_Record
    207. Gtk.Tool_Item.Gtk_Tool_Item_Record
    208. Gtk.Tool_Item_Group.Gtk_Tool_Item_Group_Record
    209. Gtk.Tool_Palette.Gtk_Tool_Palette_Record
    210. Gtk.Toolbar.Gtk_Toolbar_Record
    211. Gtk.Tooltip.Gtk_Tooltip_Record
    212. Gtk.Tree_Model.Gtk_Root_Tree_Model_Record
    213. Gtk.Tree_Model.Gtk_Tree_Path
    214. Gtk.Tree_Model_Filter.Gtk_Tree_Model_Filter_Record
    215. Gtk.Tree_Model_Sort.Gtk_Tree_Model_Sort_Record
    216. Gtk.Tree_Row_Reference.Gtk_Tree_Row_Reference
    217. Gtk.Tree_Selection.Gtk_Tree_Selection_Record
    218. Gtk.Tree_Store.Gtk_Tree_Store_Record
    219. Gtk.Tree_View.Gtk_Tree_View_Record
    220. Gtk.Tree_View_Column.Gtk_Tree_View_Column_Record
    221. Gtk.UI_Manager.Gtk_UI_Manager_Record
    222. Gtk.Vbutton_Box.Gtk_Vbutton_Box_Record
    223. Gtk.Viewport.Gtk_Viewport_Record
    224. Gtk.Volume_Button.Gtk_Volume_Button_Record
    225. Gtk.Widget.Gtk_Widget_Record
    226. Gtk.Window.Gtk_Window_Group_Record
    227. Gtk.Window.Gtk_Window_Record
    228. Gtkada.Abstract_List_Model.Gtk_Abstract_List_Model_Record
    229. Gtkada.Abstract_Tree_Model.Gtk_Abstract_Tree_Model_Record
    230. Gtkada.Application.Gtkada_Application_Record
    231. Gtkada.Builder.Gtkada_Builder_Record
    232. Gtkada.Canvas.Buffered_Item_Record
    233. Gtkada.Canvas.Canvas_Item_Record
    234. Gtkada.Canvas.Canvas_Link_Record
    235. Gtkada.Canvas_View.Abstract_Item_Record
    236. Gtkada.Canvas.Interactive_Canvas_Record
    237. Gtkada.Canvas_View.Canvas_Item_Record
    238. Gtkada.Canvas_View.Canvas_Link_Record
    239. Gtkada.Canvas_View.Canvas_Model_Record
    240. Gtkada.Canvas_View.Canvas_View_Record
    241. Gtkada.Canvas_View.Container_Item_Record
    242. Gtkada.Canvas_View.Editable_Text_Item_Record
    243. Gtkada.Canvas_View.Ellipse_Item_Record
    244. Gtkada.Canvas_View.Hr_Item_Record
    245. Gtkada.Canvas_View.Image_Item_Record
    246. Gtkada.Canvas_View.Models.Rtree_Models.Rtree_Model_Record
    247. Gtkada.Canvas_View.List_Canvas_Model_Record
    248. Gtkada.Canvas_View.Polyline_Item_Record
    249. Gtkada.Canvas_View.Rtrees.Rtree
    250. Gtkada.Canvas_View.Rect_Item_Record
    251. Gtkada.Canvas_View.Text_Item_Record
    252. Gtkada.Canvas_View.Views.Animator
    253. Gtkada.Canvas_View.Views.Minimap_View_Record
    254. Gtkada.MDI.MDI_Child_Record
    255. Gtkada.MDI.MDI_Window_Record
    256. Gtkada.Multi_Paned.Gtkada_Multi_Paned_Record
    257. Gtkada.Multiline_Entry.Gtkada_Multiline_Entry_Record
    258. Gtkada.Printing.Gtkada_Print_Operation_Record
    259. Gtkada.Style.Drawing_Style
    260. Pango.Attributes.Pango_Attr_List
    261. Pango.Context.Pango_Context_Record
    262. Pango.Coverage.Pango_Coverage_Record
    263. Pango.Font.Pango_Font_Record
    264. Pango.Font_Face.Pango_Font_Face_Record
    265. Pango.Font_Family.Pango_Font_Family_Record
    266. Pango.Font_Map.Pango_Font_Map_Record
    267. Pango.Font_Metrics.Pango_Font_Metrics
    268. Pango.Fontset.Pango_Fontset_Record
    269. Pango.Language.Pango_Language
    270. Pango.Layout.Pango_Layout_Iter
    271. Pango.Layout.Pango_Layout_Record
    272. Pango.Tabs.Pango_Tab_Array

Gtk.GEntry

Description

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.

# CSS nodes

entry[.read-only][.flat][.warning][.error]
├── image.left
├── image.right
├── undershoot.left
├── undershoot.right
├── [selection]
├── [progress[.pulse]]
╰── [window.popup]

GtkEntry has a main node with the name entry. Depending on the properties of the entry, the style classes .read-only and .flat may appear. The style classes .warning and .error may also be used with entries.

When the entry shows icons, it adds subnodes with the name image and the style class .left or .right, depending on where the icon appears.

When the entry has a selection, it adds a subnode with the name selection.

When the entry shows progress, it adds a subnode with the name progress. The node has the style class .pulse when the shown progress is pulsing.

The CSS node for a context menu is added as a subnode below entry as well.

The undershoot nodes are used to draw the underflow indication when content is scrolled out of view. These nodes get the .left and .right style classes added depending on where the indication is drawn.

When touch is used and touch selection handles are shown, they are using CSS nodes with name cursor-handle. They get the .top or .bottom style class depending on where they are shown in relation to the selection. If there is just a single handle for the text cursor, it gets the style class .insertion-cursor.

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</screenshot> <group>Numeric/Text Data Entry</group> <testgtk>create_entry.adb</testgtk>

"+"

function "+"
  (Widget : access Gtk_Entry_Record'Class)
return Gtk.Buildable.Gtk_Buildable
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_Entry_Record'Class)
return Gtk.Cell_Editable.Gtk_Cell_Editable
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_Entry_Record'Class)
return Gtk.Editable.Gtk_Editable
Parameters
Widget
Return Value

"-"

function "-"
  (Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Entry
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Cell_Editable.Gtk_Cell_Editable)
return Gtk_Entry
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Editable.Gtk_Editable)
return Gtk_Entry
Parameters
Interf
Return Value

Activates_Default_Property

Activates_Default_Property : constant Glib.Properties.Property_Boolean;

Attributes_Property

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.

The Pango.Attributes.Pango_Attribute's Start_Index and End_Index must refer to the Gtk.Entry_Buffer.Gtk_Entry_Buffer text, i.e. without the preedit string.

Buffer_Property

Buffer_Property : constant Glib.Properties.Property_Object;

Type: Gtk.Entry_Buffer.Gtk_Entry_Buffer

Caps_Lock_Warning_Property

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.

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    : Glib.Gint);
Parameters
Self
The_Type
Count

Cb_GObject_Gtk_Entry_Icon_Position_Void

type Cb_GObject_Gtk_Entry_Icon_Position_Void is not null access procedure
  (Self     : access Glib.Object.GObject_Record'Class;
   Icon_Pos : Gtk_Entry_Icon_Position);
Parameters
Self
Icon_Pos

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            : Glib.Gint;
   Extend_Selection : Boolean);
Parameters
Self
Step
Count
Extend_Selection

Cb_GObject_Gtk_Widget_Void

type Cb_GObject_Gtk_Widget_Void is not null access procedure
  (Self   : access Glib.Object.GObject_Record'Class;
   Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class);
Parameters
Self
Widget

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);
Parameters
Self
String

Cb_GObject_Void

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

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    : Glib.Gint);
Parameters
Self
The_Type
Count

Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Void

type Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Void is not null access procedure
  (Self     : access Gtk_Entry_Record'Class;
   Icon_Pos : Gtk_Entry_Icon_Position);
Parameters
Self
Icon_Pos

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            : Glib.Gint;
   Extend_Selection : Boolean);
Parameters
Self
Step
Count
Extend_Selection

Cb_Gtk_Entry_Gtk_Widget_Void

type Cb_Gtk_Entry_Gtk_Widget_Void is not null access procedure
  (Self   : access Gtk_Entry_Record'Class;
   Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class);
Parameters
Self
Widget

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);
Parameters
Self
String

Cb_Gtk_Entry_Void

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

Completion_Property

Completion_Property : constant Glib.Properties.Property_Object;

Type: Gtk.Entry_Completion.Gtk_Entry_Completion The auxiliary completion object to use with the entry.

Copy_Clipboard

procedure Copy_Clipboard (Editable : not null access Gtk_Entry_Record)
Parameters
Editable

Cursor_Position_Property

Cursor_Position_Property : constant Glib.Properties.Property_Int;

Cut_Clipboard

procedure Cut_Clipboard (Editable : not null access Gtk_Entry_Record)
Parameters
Editable

Delete_Selection

procedure Delete_Selection (Editable : not null access Gtk_Entry_Record)
Parameters
Editable

Delete_Text

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

Editable_Property

Editable_Property : constant Glib.Properties.Property_Boolean;

Editing_Done

procedure Editing_Done (Cell_Editable : not null access Gtk_Entry_Record)
Parameters
Cell_Editable

Enable_Emoji_Completion_Property

Enable_Emoji_Completion_Property : constant Glib.Properties.Property_Boolean;

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.

Parameters
The_Entry
Return Value

True if the entry will activate the default widget

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

Parameters
The_Entry
Return Value

the alignment

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

Parameters
The_Entry
Return Value

the attribute list, or null if none was set.

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

Parameters
The_Entry
Return Value

A Gtk.Entry_Buffer.Gtk_Entry_Buffer object.

Get_Chars

function Get_Chars
   (Editable  : not null access Gtk_Entry_Record;
    Start_Pos : Glib.Gint;
    End_Pos   : Glib.Gint := -1) return UTF8_String
Parameters
Editable
Start_Pos
End_Pos
Return Value

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

Parameters
The_Entry
Return Value

The auxiliary completion object currently in use by Entry.

Get_Current_Icon_Drag_Source

function Get_Current_Icon_Drag_Source
   (The_Entry : not null access Gtk_Entry_Record) return Glib.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

Parameters
The_Entry
Return Value

index of the icon which is the source of the current DND operation, or -1.

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

Parameters
The_Entry
Return Value

the horizontal cursor adjustment, or null if none has been set.

Get_Editable

function Get_Editable
   (Editable : not null access Gtk_Entry_Record) return Boolean
Parameters
Editable
Return Value

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.

Parameters
The_Entry
Return Value

whether the entry has a beveled frame

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

Parameters
The_Entry
Icon_Pos

Icon position

Return Value

True if the icon is 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. Otherwise, Icon_Area will be filled with the icon's allocation, relative to Entry's allocation. See also Gtk.GEntry.Get_Text_Area Since: gtk+ 3.0

Parameters
The_Entry
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         : Glib.Gint;
    Y         : Glib.Gint) return Glib.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

Parameters
The_Entry
X

the x coordinate of the position to find

Y

the y coordinate of the position to find

Return Value

the index of the icon at the given position, or -1

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

Parameters
The_Entry
Icon_Pos

Icon position

Return Value

A Glib.G_Icon.G_Icon, or null if no icon is set or if the icon is not a Glib.G_Icon.G_Icon

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

Parameters
The_Entry
Icon_Pos

Icon position

Return Value

An icon name, or null if no icon is set or if the icon wasn't set from an icon name

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

Parameters
The_Entry
Icon_Pos

Icon position

Return Value

A Gdk.Pixbuf.Gdk_Pixbuf, or null if no icon is set for this 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

Parameters
The_Entry
Icon_Pos

Icon position

Return Value

True if the icon is sensitive.

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 Deprecated since 3.10, 1

Parameters
The_Entry
Icon_Pos

Icon position

Return Value

A stock id, or null if no icon is set or if the icon wasn't set from a stock id

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

Parameters
The_Entry
Icon_Pos

Icon position

Return Value

image representation being used

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

Parameters
The_Entry
Icon_Pos

the icon position

Return Value

the tooltip text, or null. Free the returned string with g_free when done.

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

Parameters
The_Entry
Icon_Pos

the icon position

Return Value

the tooltip text, or null. Free the returned string with g_free when done.

Get_Inner_Border

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

This function returns the entry's Gtk.GEntry.Gtk_Entry:inner-border property. See Gtk.GEntry.Set_Inner_Border for more information. Since: gtk+ 2.10 Deprecated since 3.4, 1

Parameters
The_Entry
Return Value

the entry's Gtk.Style.Gtk_Border, or null if none was set.

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

Parameters
The_Entry
Return Value

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

Parameters
The_Entry
Return Value

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.

Parameters
The_Entry
Return Value

the current invisible char, or 0, if the entry does not show invisible text at all.

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.

Parameters
The_Entry
Return Value

the Pango.Layout.Pango_Layout for this entry

Get_Layout_Offsets

procedure Get_Layout_Offsets
   (The_Entry : not null access Gtk_Entry_Record;
    X         : out Glib.Gint;
    Y         : out Glib.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.

Parameters
The_Entry
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 Glib.Gint

Retrieves the maximum allowed length of the text in Entry. See Gtk.GEntry.Set_Max_Length. This is equivalent to getting Entry's Gtk.Entry_Buffer.Gtk_Entry_Buffer and calling Gtk.Entry_Buffer.Get_Max_Length on it.

Parameters
The_Entry
Return Value

the maximum allowed number of characters in Gtk.GEntry.Gtk_Entry, or 0 if there is no maximum.

Get_Max_Width_Chars

function Get_Max_Width_Chars
   (The_Entry : not null access Gtk_Entry_Record) return Glib.Gint

Retrieves the desired maximum width of Entry, in characters. See Gtk.GEntry.Set_Max_Width_Chars. Since: gtk+ 3.12

Parameters
The_Entry
Return Value

the maximum width of the entry, in characters

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

Parameters
The_Entry
Return Value

whether the text is overwritten when typing.

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

Parameters
The_Entry
Return Value

a pointer to the placeholder text as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.

Get_Position

function Get_Position
   (Editable : not null access Gtk_Entry_Record) return Glib.Gint
Parameters
Editable
Return Value

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

Parameters
The_Entry
Return Value

a fraction from 0.0 to 1.0

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

Parameters
The_Entry
Return Value

a fraction from 0.0 to 1.0

Get_Selection_Bounds

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

Get_Tabs

function Get_Tabs
   (The_Entry : not null access Gtk_Entry_Record)
    return Pango.Tabs.Pango_Tab_Array

Gets the tabstops that were set on the entry using Gtk.GEntry.Set_Tabs, if any. Since: gtk+ 3.10

Parameters
The_Entry
Return Value

the tabstops, or null if none was set.

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 getting Entry's Gtk.Entry_Buffer.Gtk_Entry_Buffer and calling Gtk.Entry_Buffer.Get_Text on it.

Parameters
The_Entry
Return Value

a pointer to the contents of the widget as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.

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

Parameters
The_Entry
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 getting Entry's Gtk.Entry_Buffer.Gtk_Entry_Buffer and calling Gtk.Entry_Buffer.Get_Length on it. Since: gtk+ 2.14

Parameters
The_Entry
Return Value

the current number of characters in Gtk.GEntry.Gtk_Entry, or 0 if there are none.

Get_Type

function Get_Type return Glib.GType
Return Value

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.

Parameters
The_Entry
Return Value

True if the text is currently visible

Get_Width_Chars

function Get_Width_Chars
   (The_Entry : not null access Gtk_Entry_Record) return Glib.Gint

Gets the value set by Gtk.GEntry.Set_Width_Chars.

Parameters
The_Entry
Return Value

number of chars to request space for, or negative if unset

Grab_Focus_Without_Selecting

procedure Grab_Focus_Without_Selecting
   (The_Entry : not null access Gtk_Entry_Record)

Causes Entry to have keyboard focus. It behaves like Gtk.Widget.Grab_Focus, except that it doesn't select the contents of the entry. You only want to call this on some special entries which the user usually doesn't want to replace all text in, such as search-as-you-type entries. Since: gtk+ 3.16

Parameters
The_Entry

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

Specifies the side of the entry at which an icon is placed.

Enumeration Literal
Gtk_Entry_Icon_Primary
Gtk_Entry_Icon_Secondary

Gtk_Entry_Icon_Position_Properties

package Gtk_Entry_Icon_Position_Properties is
   new Generic_Internal_Discrete_Property (Gtk_Entry_Icon_Position);

Gtk_Entry_New

function Gtk_Entry_New return Gtk_Entry

Creates a new entry.

Return Value

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

Parameters
Buffer

The buffer to use for the new Gtk.GEntry.Gtk_Entry.

Return Value

Gtk_Entry_Record

type Gtk_Entry_Record is new Gtk_Widget_Record with null record;

Gtk_GEntry

subtype Gtk_GEntry is Gtk_Entry;

Gtk_New

procedure Gtk_New (The_Entry : out Gtk_Entry)

Creates a new entry. Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
The_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)

Creates a new entry with the specified text buffer. Since: gtk+ 2.18 Initialize_With_Buffer does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
The_Entry
Buffer

The buffer to use for the new Gtk.GEntry.Gtk_Entry.

Has_Frame_Property

Has_Frame_Property : constant Glib.Properties.Property_Boolean;

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

Parameters
The_Entry
Event

the key event

Return Value

True if the input method handled the key event.

Im_Module_Property

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.

Implements_Gtk_Buildable

package Implements_Gtk_Buildable is new Glib.Types.Implements
  (Gtk.Buildable.Gtk_Buildable, Gtk_Entry_Record, Gtk_Entry);

Implements_Gtk_Cell_Editable

package Implements_Gtk_Cell_Editable is new Glib.Types.Implements
  (Gtk.Cell_Editable.Gtk_Cell_Editable, Gtk_Entry_Record, Gtk_Entry);

Implements_Gtk_Editable

package Implements_Gtk_Editable is new Glib.Types.Implements
  (Gtk.Editable.Gtk_Editable, Gtk_Entry_Record, Gtk_Entry);

Initialize

procedure Initialize (The_Entry : not null access Gtk_Entry_Record'Class)

Creates a new entry. Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
The_Entry

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 Initialize_With_Buffer does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
The_Entry
Buffer

The buffer to use for the new Gtk.GEntry.Gtk_Entry.

Inner_Border_Property

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

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

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.

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.

Parameters
Editable
New_Text
Position

Insert_Text

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

Invisible_Char_Property

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

Invisible_Char_Set_Property : constant Glib.Properties.Property_Boolean;

Whether the invisible char has been set for the Gtk.GEntry.Gtk_Entry.

Layout_Index_To_Text_Index

function Layout_Index_To_Text_Index
   (The_Entry    : not null access Gtk_Entry_Record;
    Layout_Index : Glib.Gint) return Glib.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).

Parameters
The_Entry
Layout_Index

byte index into the entry layout text

Return Value

byte index into the entry contents

Max_Length_Property

Max_Length_Property : constant Glib.Properties.Property_Int;

Max_Width_Chars_Property

Max_Width_Chars_Property : constant Glib.Properties.Property_Int;

The desired maximum width of the entry, in characters. If this property is set to -1, the width will be calculated automatically.

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 [keybinding signal][GtkBindingSignal], 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.

Parameters
Self
Call
Slot
After

On_Activate

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

The ::activate signal is emitted when the user hits the Enter key.

While this signal is used as a [keybinding signal][GtkBindingSignal], 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.

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

The default bindings for this signal are Backspace and Shift-Backspace.

Parameters
Self
Call
Slot
After

On_Backspace

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

The ::backspace signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

The default bindings for this signal are Backspace and Shift-Backspace.

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] which gets emitted to copy the selection to the clipboard.

The default bindings for this signal are Ctrl-c and Ctrl-Insert.

Parameters
Self
Call
Slot
After

On_Copy_Clipboard

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

The ::copy-clipboard signal is a [keybinding signal][GtkBindingSignal] which gets emitted to copy the selection to the clipboard.

The default bindings for this signal are Ctrl-c and Ctrl-Insert.

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] which gets emitted to cut the selection to the clipboard.

The default bindings for this signal are Ctrl-x and Shift-Delete.

Parameters
Self
Call
Slot
After

On_Cut_Clipboard

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

The ::cut-clipboard signal is a [keybinding signal][GtkBindingSignal] which gets emitted to cut the selection to the clipboard.

The default bindings for this signal are Ctrl-x and Shift-Delete.

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] 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: -- @param The_Type the granularity of the deletion, as a -- Gtk.Enums.Gtk_Delete_Type -- @param Count the number of Type units to delete

Parameters
Self
Call
Slot
After

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)

The ::delete-from-cursor signal is a [keybinding signal][GtkBindingSignal] 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: -- @param The_Type the granularity of the deletion, as a -- Gtk.Enums.Gtk_Delete_Type -- @param Count the number of Type units to delete

Parameters
Self
Call
After

On_Icon_Press

procedure On_Icon_Press
   (Self  : not null access Gtk_Entry_Record;
    Call  : Cb_GObject_Gtk_Entry_Icon_Position_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.

Parameters
Self
Call
Slot
After

On_Icon_Press

procedure On_Icon_Press
   (Self  : not null access Gtk_Entry_Record;
    Call  : Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Void;
    After : Boolean := False)

The ::icon-press signal is emitted when an activatable icon is clicked.

Parameters
Self
Call
After

On_Icon_Release

procedure On_Icon_Release
   (Self  : not null access Gtk_Entry_Record;
    Call  : Cb_GObject_Gtk_Entry_Icon_Position_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.

Parameters
Self
Call
Slot
After

On_Icon_Release

procedure On_Icon_Release
   (Self  : not null access Gtk_Entry_Record;
    Call  : Cb_Gtk_Entry_Gtk_Entry_Icon_Position_Void;
    After : Boolean := False)

The ::icon-release signal is emitted on the button release from a mouse click over an activatable icon.

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates the insertion of a fixed string at the cursor.

This signal has no default bindings.

Parameters
Self
Call
Slot
After

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)

The ::insert-at-cursor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates the insertion of a fixed string at the cursor.

This signal has no default bindings.

Parameters
Self
Call
After

On_Insert_Emoji

procedure On_Insert_Emoji
   (Self  : not null access Gtk_Entry_Record;
    Call  : Cb_GObject_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

The ::insert-emoji signal is a [keybinding signal][GtkBindingSignal] which gets emitted to present the Emoji chooser for the Entry.

The default bindings for this signal are Ctrl-. and Ctrl-;

Parameters
Self
Call
Slot
After

On_Insert_Emoji

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

The ::insert-emoji signal is a [keybinding signal][GtkBindingSignal] which gets emitted to present the Emoji chooser for the Entry.

The default bindings for this signal are Ctrl-. and Ctrl-;

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] 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: -- @param Step the granularity of the move, as a -- Gtk.Enums.Gtk_Movement_Step -- @param Count the number of Step units to move -- @param Extend_Selection True if the move should extend the selection

Parameters
Self
Call
Slot
After

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)

The ::move-cursor signal is a [keybinding signal][GtkBindingSignal] 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: -- @param Step the granularity of the move, as a -- Gtk.Enums.Gtk_Movement_Step -- @param Count the number of Step units to move -- @param Extend_Selection True if the move should extend the selection

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] 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.

Parameters
Self
Call
Slot
After

On_Paste_Clipboard

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

The ::paste-clipboard signal is a [keybinding signal][GtkBindingSignal] 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.

Parameters
Self
Call
After

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.

Parameters
Self
Call
Slot
After

On_Populate_Popup

procedure On_Populate_Popup
   (Self  : not null access Gtk_Entry_Record;
    Call  : Cb_Gtk_Entry_Gtk_Widget_Void;
    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.

Parameters
Self
Call
After

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.

Parameters
Self
Call
Slot
After

On_Preedit_Changed

procedure On_Preedit_Changed
   (Self  : not null access Gtk_Entry_Record;
    Call  : Cb_Gtk_Entry_UTF8_String_Void;
    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.

Parameters
Self
Call
After

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 [keybinding signal][GtkBindingSignal] which gets emitted to toggle the overwrite mode of the entry.

The default bindings for this signal is Insert.

Parameters
Self
Call
Slot
After

On_Toggle_Overwrite

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

The ::toggle-overwrite signal is a [keybinding signal][GtkBindingSignal] which gets emitted to toggle the overwrite mode of the entry.

The default bindings for this signal is Insert.

Parameters
Self
Call
After

Overwrite_Mode_Property

Overwrite_Mode_Property : constant Glib.Properties.Property_Boolean;

If text is overwritten when typing in the Gtk.GEntry.Gtk_Entry.

Paste_Clipboard

procedure Paste_Clipboard (Editable : not null access Gtk_Entry_Record)
Parameters
Editable

Placeholder_Text_Property

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

Populate_All_Property : constant Glib.Properties.Property_Boolean;

If :populate-all is True, the Gtk.GEntry.Gtk_Entry::populate-popup signal is also emitted for touch popups.

Primary_Icon_Activatable_Property

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

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

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

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

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

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

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

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 [Pango text markup language][PangoMarkupFormat].

Also see Gtk.GEntry.Set_Icon_Tooltip_Markup.

Primary_Icon_Tooltip_Text_Property

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

Progress_Fraction_Property : constant Glib.Properties.Property_Double;

Type: Gdouble The current fraction of the task that's been completed.

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

Parameters
The_Entry

Progress_Pulse_Step_Property

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.

Property_Gtk_Entry_Icon_Position

type Property_Gtk_Entry_Icon_Position is new Gtk_Entry_Icon_Position_Properties.Property;

Remove_Widget

procedure Remove_Widget
   (Cell_Editable : not null access Gtk_Entry_Record)
Parameters
Cell_Editable

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

Parameters
The_Entry

Scroll_Offset_Property

Scroll_Offset_Property : constant Glib.Properties.Property_Int;

Secondary_Icon_Activatable_Property

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

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

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

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

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

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

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

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 [Pango text markup language][PangoMarkupFormat].

Also see Gtk.GEntry.Set_Icon_Tooltip_Markup.

Secondary_Icon_Tooltip_Text_Property

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.

Select_Region

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

Selection_Bound_Property

Selection_Bound_Property : constant Glib.Properties.Property_Int;

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

Parameters
The_Entry
Setting

True to activate window's default widget on Enter keypress

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

Parameters
The_Entry
Xalign

The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts

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

Parameters
The_Entry
Attrs

a Pango.Attributes.Pango_Attr_List

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

Parameters
The_Entry
Buffer

a Gtk.Entry_Buffer.Gtk_Entry_Buffer

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

Parameters
The_Entry
Completion

The Gtk.Entry_Completion.Gtk_Entry_Completion or null

Set_Cursor_Hadjustment

procedure Set_Cursor_Hadjustment
   (The_Entry  : not null access Gtk_Entry_Record;
    Adjustment : 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

Parameters
The_Entry
Adjustment

an adjustment which should be adjusted when the cursor is moved, or null

Set_Editable

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

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.

Parameters
The_Entry
Setting

new value

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

Parameters
The_Entry
Icon_Pos

Icon position

Activatable

True if the icon should be activatable

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

Parameters
The_Entry
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

Parameters
The_Entry
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

Parameters
The_Entry
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

Parameters
The_Entry
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 Deprecated since 3.10, 1

Parameters
The_Entry
Icon_Pos

Icon position

Stock_Id

The name of the stock item, or null

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

Parameters
The_Entry
Icon_Pos

Icon position

Sensitive

Specifies whether the icon should appear sensitive or insensitive

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 [Pango text markup language][PangoMarkupFormat]. 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

Parameters
The_Entry
Icon_Pos

the icon position

Tooltip

the contents of the tooltip for the icon, or null

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. If you unset the widget tooltip via Gtk.Widget.Set_Tooltip_Text or Gtk.Widget.Set_Tooltip_Markup, this sets GtkWidget:has-tooltip to False, which suppresses icon tooltips too. You can resolve this by then calling Gtk.Widget.Set_Has_Tooltip to set GtkWidget:has-tooltip back to True, or setting at least one non-empty tooltip on any icon achieves the same result. Since: gtk+ 2.16

Parameters
The_Entry
Icon_Pos

the icon position

Tooltip

the contents of the tooltip for the icon, or null

Set_Inner_Border

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

Sets %entry's inner-border property to Border, or clears it if null is passed. The inner-border is the area around the entry's text, but inside its frame. If set, this property overrides the inner-border style property. Overriding the style-provided border is useful when you want to do in-place editing of some text in a canvas or list widget, where pixel-exact positioning of the entry is important. Since: gtk+ 2.10 Deprecated since 3.4, 1

Parameters
The_Entry
Border

a Gtk.Style.Gtk_Border, or null

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

Parameters
The_Entry
Hints

the hints

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

Parameters
The_Entry
Purpose

the purpose

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.

Parameters
The_Entry
Char

a Unicode character

Set_Max_Length

procedure Set_Max_Length
   (The_Entry : not null access Gtk_Entry_Record;
    Max       : Glib.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 getting Entry's Gtk.Entry_Buffer.Gtk_Entry_Buffer and calling Gtk.Entry_Buffer.Set_Max_Length on it. ]|

Parameters
The_Entry
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.

Set_Max_Width_Chars

procedure Set_Max_Width_Chars
   (The_Entry : not null access Gtk_Entry_Record;
    N_Chars   : Glib.Gint)

Sets the desired maximum width in characters of Entry. Since: gtk+ 3.12

Parameters
The_Entry
N_Chars

the new desired maximum width, in characters

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

Parameters
The_Entry
Overwrite

new value

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

Parameters
The_Entry
Text

a string to be displayed when Entry is empty and unfocused, or null

Set_Position

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

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

Parameters
The_Entry
Fraction

fraction of the task that's been completed

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

Parameters
The_Entry
Fraction

fraction between 0.0 and 1.0

Set_Tabs

procedure Set_Tabs
   (The_Entry : not null access Gtk_Entry_Record;
    Tabs      : Pango.Tabs.Pango_Tab_Array)

Sets a Pango.Tabs.Pango_Tab_Array; the tabstops in the array are applied to the entry text. Since: gtk+ 3.10

Parameters
The_Entry
Tabs

a Pango.Tabs.Pango_Tab_Array

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.

Parameters
The_Entry
Text

the new text

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.

Parameters
The_Entry
Visible

True if the contents of the entry are displayed as plaintext

Set_Width_Chars

procedure Set_Width_Chars
   (The_Entry : not null access Gtk_Entry_Record;
    Width     : Glib.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.

Parameters
The_Entry
Width

width in chars

Shadow_Type_Property

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.

Show_Emoji_Icon_Property

Show_Emoji_Icon_Property : constant Glib.Properties.Property_Boolean;

Signal_Activate

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

The ::activate signal is emitted when the user hits the Enter key.

While this signal is used as a [keybinding signal][GtkBindingSignal], 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.

Signal_Backspace

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

The ::backspace signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

The default bindings for this signal are Backspace and Shift-Backspace.

Signal_Copy_Clipboard

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

The ::copy-clipboard signal is a [keybinding signal][GtkBindingSignal] which gets emitted to copy the selection to the clipboard.

The default bindings for this signal are Ctrl-c and Ctrl-Insert.

Signal_Cut_Clipboard

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

The ::cut-clipboard signal is a [keybinding signal][GtkBindingSignal] which gets emitted to cut the selection to the clipboard.

The default bindings for this signal are Ctrl-x and Shift-Delete.

Signal_Delete_From_Cursor

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

The ::delete-from-cursor signal is a [keybinding signal][GtkBindingSignal] 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: -- @param The_Type the granularity of the deletion, as a -- Gtk.Enums.Gtk_Delete_Type -- @param Count the number of Type units to delete

Signal_Icon_Press

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

The ::icon-press signal is emitted when an activatable icon is clicked.

Signal_Icon_Release

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

The ::icon-release signal is emitted on the button release from a mouse click over an activatable icon.

Signal_Insert_At_Cursor

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

The ::insert-at-cursor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates the insertion of a fixed string at the cursor.

This signal has no default bindings.

Signal_Insert_Emoji

Signal_Insert_Emoji : constant Glib.Signal_Name := "insert-emoji";

The ::insert-emoji signal is a [keybinding signal][GtkBindingSignal] which gets emitted to present the Emoji chooser for the Entry.

The default bindings for this signal are Ctrl-. and Ctrl-;

Signal_Move_Cursor

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

The ::move-cursor signal is a [keybinding signal][GtkBindingSignal] 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: -- @param Step the granularity of the move, as a -- Gtk.Enums.Gtk_Movement_Step -- @param Count the number of Step units to move -- @param Extend_Selection True if the move should extend the selection

Signal_Paste_Clipboard

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

The ::paste-clipboard signal is a [keybinding signal][GtkBindingSignal] 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.

Signal_Populate_Popup

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

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.

Signal_Preedit_Changed

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

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.

Signal_Toggle_Overwrite

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

The ::toggle-overwrite signal is a [keybinding signal][GtkBindingSignal] which gets emitted to toggle the overwrite mode of the entry.

The default bindings for this signal is Insert.

Start_Editing

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

Tabs_Property

Tabs_Property : constant Glib.Properties.Property_Boxed;

Type: Pango.Tab_Array

Text_Index_To_Layout_Index

function Text_Index_To_Layout_Index
   (The_Entry  : not null access Gtk_Entry_Record;
    Text_Index : Glib.Gint) return Glib.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).

Parameters
The_Entry
Text_Index

byte index into the entry contents

Return Value

byte index into the entry layout text

Text_Length_Property

Text_Length_Property : constant Glib.Properties.Property_Uint;

The length of the text in the Gtk.GEntry.Gtk_Entry.

Text_Property

Text_Property : constant Glib.Properties.Property_String;

Truncate_Multiline_Property

Truncate_Multiline_Property : constant Glib.Properties.Property_Boolean;

When True, pasted multi-line text is truncated to the first line.

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

Parameters
The_Entry

Visibility_Property

Visibility_Property : constant Glib.Properties.Property_Boolean;

Width_Chars_Property

Width_Chars_Property : constant Glib.Properties.Property_Int;

Xalign_Property

Xalign_Property : constant Glib.Properties.Property_Float;

The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Simple Types

Tagged Types

Access Types

Subtypes

Constants

Subprograms

Generic Instantiations