TABLE OF CONTENTS
- 1. TkAda/Widgets
- 1.1. Widgets/Button
- 1.1.1. Button/CheckButton
- 1.1.1.1. CheckButton/CheckButton.Tk_CheckButton
- 1.1.1.2. CheckButton/CheckButton.Create_(function)
- 1.1.1.3. CheckButton/CheckButton.Create_(procedure)
- 1.1.1.4. CheckButton/CheckButton.Deselect
- 1.1.1.5. CheckButton/CheckButton.Get_Widget
- 1.1.1.6. CheckButton/CheckButton.Tk_Select
- 1.1.1.7. CheckButton/CheckButton.Toggle
- 1.1.2. Button/RadioButton
- 1.1.2.1. RadioButton/RadioButton.Tk_RadioButton
- 1.1.2.2. RadioButton/RadioButton.Create_(function)
- 1.1.2.3. RadioButton/RadioButton.Create_(procedure)
- 1.1.2.4. RadioButton/RadioButton.Deselect
- 1.1.2.5. RadioButton/RadioButton.Get_Widget
- 1.1.2.6. RadioButton/RadioButton.Tk_Select
- 1.1.2.7. RadioButton/RadioButton.Toggle
- 1.1.3. Button/Button.Tk_Button
- 1.1.4. Button/Button.Create_(function)
- 1.1.5. Button/Button.Create_(procedure)
- 1.1.6. Button/Button.Flash
- 1.1.7. Button/Button.Get_Widget
- 1.1.8. Button/Button.Invoke
- 1.2. Widgets/Canvas
- 1.2.1. Canvas/Canvas.Tk_Canvas
- 1.2.2. Canvas/Canvas.Add_Tag
- 1.2.3. Canvas/Canvas.BBox
- 1.2.4. Canvas/Canvas.Bind_(function)
- 1.2.5. Canvas/Canvas.Bind_(procedure)
- 1.2.6. Canvas/Canvas.Canvas_Create_(function)
- 1.2.7. Canvas/Canvas.Canvas_Create_(procedure)
- 1.2.8. Canvas/Canvas.Canvas_Raise
- 1.2.9. Canvas/Canvas.Canvas_Type
- 1.2.10. Canvas/Canvas.CanvasX
- 1.2.11. Canvas/Canvas.CanvasY
- 1.2.12. Canvas/Canvas.Coords_(function)
- 1.2.13. Canvas/Canvas.Coords_(procedure)
- 1.2.14. Canvas/Canvas.Create_(function)
- 1.2.15. Canvas/Canvas.Create_(procedure)
- 1.2.16. Canvas/Canvas.Dchars
- 1.2.17. Canvas/Canvas.Delete
- 1.2.18. Canvas/Canvas.DTag
- 1.2.19. Canvas/Canvas.Find
- 1.2.20. Canvas/Canvas.Focus
- 1.2.21. Canvas/Canvas.Get_Tags
- 1.2.22. Canvas/Canvas.Get_Widget
- 1.2.23. Canvas/Canvas.ICursor
- 1.2.24. Canvas/Canvas.IMove
- 1.2.25. Canvas/Canvas.Index
- 1.2.26. Canvas/Canvas.Insert
- 1.2.27. Canvas/Canvas.Item_Cget
- 1.2.28. Canvas/Canvas.Item_Configure_(function)
- 1.2.29. Canvas/Canvas.Item_Configure_(procedure)
- 1.2.30. Canvas/Canvas.Lower
- 1.2.31. Canvas/Canvas.Move
- 1.2.32. Canvas/Canvas.MoveTo
- 1.2.33. Canvas/Canvas.Postscript
- 1.2.34. Canvas/Canvas.Rchars
- 1.2.35. Canvas/Canvas.Scale
- 1.2.36. Canvas/Canvas.Select_Adjust
- 1.2.37. Canvas/Canvas.Select_Clear
- 1.2.38. Canvas/Canvas.Select_From
- 1.2.39. Canvas/Canvas.Select_Item
- 1.2.40. Canvas/Canvas.Select_To
- 1.2.41. Canvas/Canvas.XView
- 1.2.42. Canvas/Canvas.Xview_Move_To
- 1.2.43. Canvas/Canvas.Xview_Scroll
- 1.2.44. Canvas/Canvas.YView
- 1.2.45. Canvas/Canvas.Yview_Move_To
- 1.2.46. Canvas/Canvas.Yview_Scroll
- 1.3. Widgets/Frame
- 1.3.1. Frame/Frame.Tk_Frame
- 1.3.2. Frame/Frame.Create_(function)
- 1.3.3. Frame/Frame.Create_(procedure)
- 1.3.4. Frame/Frame.Get_Widget
- 1.4. Widgets/Label
- 1.4.1. Label/Label.Tk_Label
- 1.4.2. Label/Label.Create_(function)
- 1.4.3. Label/Label.Create_(procedure)
- 1.4.4. Label/Label.Get_Widget
- 1.5. Widgets/ListBox
- 1.5.1. ListBox/ListBox.Tk_ListBox
- 1.5.2. ListBox/ListBox.Activate
- 1.5.3. ListBox/ListBox.BBox
- 1.5.4. ListBox/ListBox.Create_(function)
- 1.5.5. ListBox/ListBox.Create_(procedure)
- 1.5.6. ListBox/ListBox.CurSelection
- 1.5.7. ListBox/ListBox.Delete
- 1.5.8. ListBox/ListBox.Get
- 1.5.9. ListBox/ListBox.Get_Widget
- 1.5.10. ListBox/ListBox.Index
- 1.5.11. ListBox/ListBox.Insert
- 1.5.12. ListBox/ListBox.Item_Cget
- 1.5.13. ListBox/ListBox.Item_Configure_(function)
- 1.5.14. ListBox/ListBox.Item_Configure_(procedure)
- 1.5.15. ListBox/ListBox.Nearest
- 1.5.16. ListBox/ListBox.Scan_DragTo
- 1.5.17. ListBox/ListBox.Scan_Mark
- 1.5.18. ListBox/ListBox.See
- 1.5.19. ListBox/ListBox.Selection_Anchor
- 1.5.20. ListBox/ListBox.Selection_Clear
- 1.5.21. ListBox/ListBox.Selection_Includes
- 1.5.22. ListBox/ListBox.Selection_Set
- 1.5.23. ListBox/ListBox.Size
- 1.5.24. ListBox/ListBox.XView_(function)
- 1.5.25. ListBox/ListBox.XView_(procedure)
- 1.5.26. ListBox/ListBox.Xview_Move_To
- 1.5.27. ListBox/ListBox.Xview_Scroll
- 1.5.28. ListBox/ListBox.YView_(function)
- 1.5.29. ListBox/ListBox.YView_(procedure)
- 1.5.30. ListBox/ListBox.Yview_Move_To
- 1.5.31. ListBox/ListBox.Yview_Scroll
- 1.6. Widgets/Menu
- 1.6.1. Menu/Menu.Tk_Menu
- 1.6.2. Menu/Menu.Activate
- 1.6.3. Menu/Menu.AddMenu
- 1.6.4. Menu/Menu.Clone
- 1.6.5. Menu/Menu.Create_(function)
- 1.6.6. Menu/Menu.Create_(procedure)
- 1.6.7. Menu/Menu.Delete
- 1.6.8. Menu/Menu.Entry_Cget
- 1.6.9. Menu/Menu.Entry_Configure_(function)
- 1.6.10. Menu/Menu.Entry_Configure_(procedure)
- 1.6.11. Menu/Menu.Get_Widget
- 1.6.12. Menu/Menu.Index
- 1.6.13. Menu/Menu.Insert
- 1.6.14. Menu/Menu.Invoke
- 1.6.15. Menu/Menu.Menu_Type
- 1.6.16. Menu/Menu.Post_(function)
- 1.6.17. Menu/Menu.Post_(procedure)
- 1.6.18. Menu/Menu.PostCascade
- 1.6.19. Menu/Menu.Tk_Popup
- 1.6.20. Menu/Menu.Unpost
- 1.6.21. Menu/Menu.XPosition
- 1.6.22. Menu/Menu.YPosition
- 1.7. Widgets/MenuButton
- 1.7.1. MenuButton/MenuButton.Tk_MenuButton
- 1.7.2. MenuButton/MenuButton.Create_(function)
- 1.7.3. MenuButton/MenuButton.Create_(procedure)
- 1.7.4. MenuButton/MenuButton.Get_Widget
- 1.8. Widgets/Message
- 1.8.1. Message/Message.Tk_Message
- 1.8.2. Message/Message.Create_(function)
- 1.8.3. Message/Message.Create_(procedure)
- 1.8.4. Message/Message.Get_Widget
- 1.9. Widgets/OptionMenu
- 1.9.1. OptionMenu/OptionMenu.Tk_OptionMenu
- 1.9.2. OptionMenu/OptionMenu.Create_(function)
- 1.9.3. OptionMenu/OptionMenu.Create_(procedure)
- 1.9.4. OptionMenu/OptionMenu.Get_Widget
- 1.10. Widgets/PanedWindow
- 1.10.1. PanedWindow/PanedWindow.Tk_Paned_Window
- 1.10.2. PanedWindow/PanedWindow.Add
- 1.10.3. PanedWindow/PanedWindow.Create_(function)
- 1.10.4. PanedWindow/PanedWindow.Create_(procedure)
- 1.10.5. PanedWindow/PanedWindow.Forget
- 1.10.6. PanedWindow/PanedWindow.Get_Widget
- 1.10.7. PanedWindow/PanedWindow.Identify
- 1.10.8. PanedWindow/PanedWindow.Pane_Cget
- 1.10.9. PanedWindow/PanedWindow.Pane_Configure_(function)
- 1.10.10. PanedWindow/PanedWindow.Pane_Configure_(procedure)
- 1.10.11. PanedWindow/PanedWindow.Panes
- 1.10.12. PanedWindow/PanedWindow.Proxy_Coord
- 1.10.13. PanedWindow/PanedWindow.Proxy_Forget
- 1.10.14. PanedWindow/PanedWindow.Proxy_Place
- 1.10.15. PanedWindow/PanedWindow.Sash_Coord
- 1.10.16. PanedWindow/PanedWindow.Sash_DragTo
- 1.10.17. PanedWindow/PanedWindow.Sash_Mark
- 1.10.18. PanedWindow/PanedWindow.Sash_Place
- 1.11. Widgets/Scrollbar
- 1.11.1. Scrollbar/Scrollbar.Tk_Scrollbar
- 1.11.2. Scrollbar/Scrollbar.Activate_(function)
- 1.11.3. Scrollbar/Scrollbar.Activate_(procedure)
- 1.11.4. Scrollbar/Scrollbar.Create_(function)
- 1.11.5. Scrollbar/Scrollbar.Create_(procedure)
- 1.11.6. Scrollbar/Scrollbar.Fraction
- 1.11.7. Scrollbar/Scrollbar.Get
- 1.11.8. Scrollbar/Scrollbar.Get_Widget
- 1.11.9. Scrollbar/Scrollbar.Identify
- 1.11.10. Scrollbar/Scrollbar.Scrollbar_Delta
- 1.11.11. Scrollbar/Scrollbar.Set
- 1.12. Widgets/TEntry
- 1.12.1. TEntry/SpinBox
- 1.12.1.1. SpinBox/SpinBox.Tk_SpinBox
- 1.12.1.2. SpinBox/SpinBox.Create_(function)
- 1.12.1.3. SpinBox/SpinBox.Create_(procedure)
- 1.12.1.4. SpinBox/SpinBox.Get_Widget
- 1.12.1.5. SpinBox/SpinBox.Identify
- 1.12.1.6. SpinBox/SpinBox.Invoke
- 1.12.1.7. SpinBox/SpinBox.Selection_Element_(function)
- 1.12.1.8. SpinBox/SpinBox.Selection_Element_(procedure)
- 1.12.1.9. SpinBox/SpinBox.Set_(function)
- 1.12.1.10. SpinBox/SpinBox.Set_(procedure)
- 1.12.2. TEntry/TEntry.Tk_Entry
- 1.12.3. TEntry/TEntry.BBox
- 1.12.4. TEntry/TEntry.Create_(function)
- 1.12.5. TEntry/TEntry.Create_(procedure)
- 1.12.6. TEntry/TEntry.Delete
- 1.12.7. TEntry/TEntry.Entry_Index
- 1.12.8. TEntry/TEntry.Get
- 1.12.9. TEntry/TEntry.Get_Widget
- 1.12.10. TEntry/TEntry.ICursor
- 1.12.11. TEntry/TEntry.Insert
- 1.12.12. TEntry/TEntry.Scan_DragTo
- 1.12.13. TEntry/TEntry.Scan_Mark
- 1.12.14. TEntry/TEntry.Selection_Adjust
- 1.12.15. TEntry/TEntry.Selection_Clear
- 1.12.16. TEntry/TEntry.Selection_From
- 1.12.17. TEntry/TEntry.Selection_Present
- 1.12.18. TEntry/TEntry.Selection_Range
- 1.12.19. TEntry/TEntry.Selection_To
- 1.12.20. TEntry/TEntry.Validate
- 1.12.21. TEntry/TEntry.XView_(function)
- 1.12.22. TEntry/TEntry.XView_(procedure)
- 1.12.23. TEntry/TEntry.Xview_Move_To
- 1.12.24. TEntry/TEntry.Xview_Scroll
- 1.13. Widgets/Text
- 1.13.1. Text/Text.Tk_Text
- 1.13.2. Text/Text.BBox
- 1.13.3. Text/Text.Compare
- 1.13.4. Text/Text.Count
- 1.13.5. Text/Text.Create_(function)
- 1.13.6. Text/Text.Create_(procedure)
- 1.13.7. Text/Text.Debug_(function)
- 1.13.8. Text/Text.Debug_(procedure)
- 1.13.9. Text/Text.Delete
- 1.13.10. Text/Text.DLineInfo
- 1.13.11. Text/Text.Dump
- 1.13.12. Text/Text.Edit_CanRedo
- 1.13.13. Text/Text.Edit_CanUndo
- 1.13.14. Text/Text.Edit_Modified_(function)
- 1.13.15. Text/Text.Edit_Modified_(procedure)
- 1.13.16. Text/Text.Edit_Redo
- 1.13.17. Text/Text.Edit_Reset
- 1.13.18. Text/Text.Edit_Separator
- 1.13.19. Text/Text.Edit_Undo
- 1.13.20. Text/Text.Get
- 1.13.21. Text/Text.Get_Widget
- 1.13.22. Text/Text.Image_Cget
- 1.13.23. Text/Text.Image_Configure_(function)
- 1.13.24. Text/Text.Image_Configure_(procedure)
- 1.13.25. Text/Text.Image_Create
- 1.13.26. Text/Text.Image_Names
- 1.13.27. Text/Text.Index
- 1.13.28. Text/Text.Insert
- 1.13.29. Text/Text.Mark_Gravity_(function)
- 1.13.30. Text/Text.Mark_Gravity_(procedure)
- 1.13.31. Text/Text.Mark_Names
- 1.13.32. Text/Text.Mark_Next
- 1.13.33. Text/Text.Mark_Previous
- 1.13.34. Text/Text.Mark_Set
- 1.13.35. Text/Text.Mark_Unset
- 1.13.36. Text/Text.Peer_Create
- 1.13.37. Text/Text.Peer_Names
- 1.13.38. Text/Text.PendingSync
- 1.13.39. Text/Text.Replace
- 1.13.40. Text/Text.Scan_DragTo
- 1.13.41. Text/Text.Scan_Mark
- 1.13.42. Text/Text.Search
- 1.13.43. Text/Text.See
- 1.13.44. Text/Text.Sync
- 1.13.45. Text/Text.Sync_Command
- 1.13.46. Text/Text.Tag_Add
- 1.13.47. Text/Text.Tag_Bind_(function)
- 1.13.48. Text/Text.Tag_Bind_(procedure)
- 1.13.49. Text/Text.Tag_Cget
- 1.13.50. Text/Text.Tag_Configure_(function)
- 1.13.51. Text/Text.Tag_Configure_(procedure)
- 1.13.52. Text/Text.Tag_Delete
- 1.13.53. Text/Text.Tag_Lower
- 1.13.54. Text/Text.Tag_Names
- 1.13.55. Text/Text.Tag_NextRange
- 1.13.56. Text/Text.Tag_PrevRange
- 1.13.57. Text/Text.Tag_Raise
- 1.13.58. Text/Text.Tag_Ranges
- 1.13.59. Text/Text.Tag_Remove
- 1.13.60. Text/Text.Window_Cget
- 1.13.61. Text/Text.Window_Configure_(function)
- 1.13.62. Text/Text.Window_Configure_(procedure)
- 1.13.63. Text/Text.Window_Create
- 1.13.64. Text/Text.Window_Names
- 1.13.65. Text/Text.XView
- 1.13.66. Text/Text.Xview_Move_To
- 1.13.67. Text/Text.Xview_Scroll
- 1.13.68. Text/Text.YView
- 1.13.69. Text/Text.Yview_Move_To
- 1.13.70. Text/Text.Yview_Scroll
- 1.14. Widgets/TkScale
- 1.14.1. TkScale/TkScale.Tk_Scale
- 1.14.2. TkScale/TkScale.Coords
- 1.14.3. TkScale/TkScale.Create_(function)
- 1.14.4. TkScale/TkScale.Create_(procedure)
- 1.14.5. TkScale/TkScale.Get_(at_selected_pixel)
- 1.14.6. TkScale/TkScale.Get_(current_value)
- 1.14.7. TkScale/TkScale.Get_Widget
- 1.14.8. TkScale/TkScale.Identify
- 1.14.9. TkScale/TkScale.Set
- 1.15. Widgets/Toplevel
- 1.15.1. Toplevel/MainWindow
- 1.15.1.1. MainWindow/MainWindow.Bind_To_Main_Window_(function)
- 1.15.1.2. MainWindow/MainWindow.Bind_To_Main_Window_(procedure)
- 1.15.1.3. MainWindow/MainWindow.Get_Main_Window
- 1.15.1.4. MainWindow/MainWindow.Unbind_From_Main_Window_(function)
- 1.15.1.5. MainWindow/MainWindow.Unbind_From_Main_Window_(procedure)
- 1.15.2. Toplevel/Toplevel.Tk_Toplevel
- 1.15.3. Toplevel/Toplevel.Create_(function)
- 1.15.4. Toplevel/Toplevel.Create_(procedure)
- 1.15.5. Toplevel/Toplevel.Get_Widget
- 1.16. Widgets/TtkButton
- 1.16.1. TtkButton/TtkCheckButton
- 1.16.1.1. TtkCheckButton/TtkCheckButton.Ttk_CheckButton
- 1.16.1.2. TtkCheckButton/TtkCheckButton.Create_(function)
- 1.16.1.3. TtkCheckButton/TtkCheckButton.Create_(procedure)
- 1.16.1.4. TtkCheckButton/TtkCheckButton.Get_Widget
- 1.16.2. TtkButton/TtkRadioButton
- 1.16.2.1. TtkRadioButton/TtkRadioButton.Ttk_RadioButton
- 1.16.2.2. TtkRadioButton/TtkRadioButton.Create_(function)
- 1.16.2.3. TtkRadioButton/TtkRadioButton.Create_(procedure)
- 1.16.2.4. TtkRadioButton/TtkRadioButton.Get_Widget
- 1.16.3. TtkButton/TtkButton.Ttk_Button
- 1.16.4. TtkButton/TtkButton.Create_(function)
- 1.16.5. TtkButton/TtkButton.Create_(procedure)
- 1.16.6. TtkButton/TtkButton.Get_Widget
- 1.16.7. TtkButton/TtkButton.Invoke
- 1.17. Widgets/TtkEntry
- 1.17.1. TtkEntry/TtkComboBox
- 1.17.1.1. TtkComboBox/TtkComboBox.Ttk_ComboBox
- 1.17.1.2. TtkComboBox/TtkComboBox.Create_(function)
- 1.17.1.3. TtkComboBox/TtkComboBox.Create_(procedure)
- 1.17.1.4. TtkComboBox/TtkComboBox.Current_(function)
- 1.17.1.5. TtkComboBox/TtkComboBox.Current_(procedure)
- 1.17.1.6. TtkComboBox/TtkComboBox.Get_Widget
- 1.17.1.7. TtkComboBox/TtkComboBox.Set
- 1.17.2. TtkEntry/TtkSpinBox
- 1.17.2.1. TtkSpinBox/TtkSpinBox.Ttk_SpinBox
- 1.17.2.2. TtkSpinBox/TtkSpinBox.Create_(function)
- 1.17.2.3. TtkSpinBox/TtkSpinBox.Create_(procedure)
- 1.17.2.4. TtkSpinBox/TtkSpinBox.Current_(function)
- 1.17.2.5. TtkSpinBox/TtkSpinBox.Current_(procedure)
- 1.17.2.6. TtkSpinBox/TtkSpinBox.Get_Widget
- 1.17.2.7. TtkSpinBox/TtkSpinBox.Set
- 1.17.3. TtkEntry/TtkEntry.Ttk_Entry
- 1.17.4. TtkEntry/TtkEntry.BBox
- 1.17.5. TtkEntry/TtkEntry.Create_(function)
- 1.17.6. TtkEntry/TtkEntry.Create_(procedure)
- 1.17.7. TtkEntry/TtkEntry.Delete
- 1.17.8. TtkEntry/TtkEntry.Get
- 1.17.9. TtkEntry/TtkEntry.Get_Widget
- 1.17.10. TtkEntry/TtkEntry.ICursor
- 1.17.11. TtkEntry/TtkEntry.Index
- 1.17.12. TtkEntry/TtkEntry.Insert
- 1.17.13. TtkEntry/TtkEntry.Selection_Clear
- 1.17.14. TtkEntry/TtkEntry.Selection_Present
- 1.17.15. TtkEntry/TtkEntry.Selection_Range
- 1.17.16. TtkEntry/TtkEntry.Validate
- 1.17.17. TtkEntry/TtkEntry.XView_(function)
- 1.17.18. TtkEntry/TtkEntry.XView_(procedure)
- 1.17.19. TtkEntry/TtkEntry.Xview_Move_To
- 1.17.20. TtkEntry/TtkEntry.Xview_Scroll
- 1.18. Widgets/TtkFrame
- 1.18.1. TtkFrame/TtkFrame.Ttk_Frame
- 1.18.2. TtkFrame/TtkFrame.Create_(function)
- 1.18.3. TtkFrame/TtkFrame.Create_(procedure)
- 1.18.4. TtkFrame/TtkFrame.Get_Widget
- 1.19. Widgets/TtkLabel
- 1.19.1. TtkLabel/TtkLabel.Ttk_Label
- 1.19.2. TtkLabel/TtkLabel.Create_(function)
- 1.19.3. TtkLabel/TtkLabel.Create_(procedure)
- 1.19.4. TtkLabel/TtkLabel.Get_Widget
- 1.20. Widgets/TtkLabelFrame
- 1.20.1. TtkLabelFrame/TtkLabelFrame.Ttk_LabelFrame
- 1.20.2. TtkLabelFrame/TtkLabelFrame.Create_(function)
- 1.20.3. TtkLabelFrame/TtkLabelFrame.Create_(procedure)
- 1.20.4. TtkLabelFrame/TtkLabelFrame.Get_Widget
- 1.21. Widgets/TtkMenuButton
- 1.21.1. TtkMenuButton/TtkMenuButton.Ttk_MenuButton
- 1.21.2. TtkMenuButton/TtkMenuButton.Create_(function)
- 1.21.3. TtkMenuButton/TtkMenuButton.Create_(procedure)
- 1.21.4. TtkMenuButton/TtkMenuButton.Get_Widget
- 1.22. Widgets/TtkNotebook
- 1.22.1. TtkNotebook/TtkNotebook.Ttk_Notebook
- 1.22.2. TtkNotebook/TtkNotebook.Add
- 1.22.3. TtkNotebook/TtkNotebook.Create_(function)
- 1.22.4. TtkNotebook/TtkNotebook.Create_(procedure)
- 1.22.5. TtkNotebook/TtkNotebook.Forget
- 1.22.6. TtkNotebook/TtkNotebook.Get_Selected
- 1.22.7. TtkNotebook/TtkNotebook.Get_Widget
- 1.22.8. TtkNotebook/TtkNotebook.Hide
- 1.22.9. TtkNotebook/TtkNotebook.Identify_Element
- 1.22.10. TtkNotebook/TtkNotebook.Identify_Tab
- 1.22.11. TtkNotebook/TtkNotebook.Index
- 1.22.12. TtkNotebook/TtkNotebook.Insert
- 1.22.13. TtkNotebook/TtkNotebook.Notebook_Select
- 1.22.14. TtkNotebook/TtkNotebook.Tab_(function)
- 1.22.15. TtkNotebook/TtkNotebook.Tab_(procedure)
- 1.22.16. TtkNotebook/TtkNotebook.Tabs
- 1.23. Widgets/TtkPanedWindow
- 1.23.1. TtkPanedWindow/TtkPanedWindow.Ttk_PanedWindow
- 1.23.2. TtkPanedWindow/Panes
- 1.23.3. TtkPanedWindow/TtkPanedWindow.Add
- 1.23.4. TtkPanedWindow/TtkPanedWindow.Create_(function)
- 1.23.5. TtkPanedWindow/TtkPanedWindow.Create_(procedure)
- 1.23.6. TtkPanedWindow/TtkPanedWindow.Forget
- 1.23.7. TtkPanedWindow/TtkPanedWindow.Get_Widget
- 1.23.8. TtkPanedWindow/TtkPanedWindow.Identify_Element
- 1.23.9. TtkPanedWindow/TtkPanedWindow.Identify_Sash
- 1.23.10. TtkPanedWindow/TtkPanedWindow.Insert
- 1.23.11. TtkPanedWindow/TtkPanedWindow.Pane_(function)
- 1.23.12. TtkPanedWindow/TtkPanedWindow.Pane_(procedure)
- 1.23.13. TtkPanedWindow/TtkPanedWindow.SashPos_(function)
- 1.23.14. TtkPanedWindow/TtkPanedWindow.SashPos_(procedure)
- 1.24. Widgets/TtkProgressBar
- 1.24.1. TtkProgressBar/TtkProgressBar.Ttk_ProgressBar
- 1.24.2. TtkProgressBar/TtkProgressBar.Create_(function)
- 1.24.3. TtkProgressBar/TtkProgressBar.Create_(procedure)
- 1.24.4. TtkProgressBar/TtkProgressBar.Get_Widget
- 1.24.5. TtkProgressBar/TtkProgressBar.Start
- 1.24.6. TtkProgressBar/TtkProgressBar.Step
- 1.24.7. TtkProgressBar/TtkProgressBar.Stop
- 1.25. Widgets/TtkScale
- 1.25.1. TtkScale/TtkScale.Ttk_Scale
- 1.25.2. TtkScale/TtkScale.Create_(function)
- 1.25.3. TtkScale/TtkScale.Create_(procedure)
- 1.25.4. TtkScale/TtkScale.Get_(at_pixel)
- 1.25.5. TtkScale/TtkScale.Get_(current)
- 1.25.6. TtkScale/TtkScale.Get_Widget
- 1.25.7. TtkScale/TtkScale.Set
- 1.26. Widgets/TtkScrollbar
- 1.26.1. TtkScrollbar/TtkScrollbar.Ttk_Scrollbar
- 1.26.2. TtkScrollbar/TtkScrollbar.Create_(function)
- 1.26.3. TtkScrollbar/TtkScrollbar.Create_(procedure)
- 1.26.4. TtkScrollbar/TtkScrollbar.Fraction
- 1.26.5. TtkScrollbar/TtkScrollbar.Get
- 1.26.6. TtkScrollbar/TtkScrollbar.Get_Widget
- 1.26.7. TtkScrollbar/TtkScrollbar.Scrollbar_Delta
- 1.26.8. TtkScrollbar/TtkScrollbar.Set
- 1.27. Widgets/TtkSeparator
- 1.27.1. TtkSeparator/TtkSeparator.Ttk_Separator
- 1.27.2. TtkSeparator/TtkSeparator.Create_(function)
- 1.27.3. TtkSeparator/TtkSeparator.Create_(procedure)
- 1.27.4. TtkSeparator/TtkSeparator.Get_Widget
- 1.28. Widgets/TtkSizeGrip
- 1.28.1. TtkSizeGrip/TtkSizeGrip.Ttk_SizeGrip
- 1.28.2. TtkSizeGrip/TtkSizeGrip.Create_(function)
- 1.28.3. TtkSizeGrip/TtkSizeGrip.Create_(procedure)
- 1.28.4. TtkSizeGrip/TtkSizeGrip.Get_Widget
- 1.29. Widgets/TtkTreeView
- 1.29.1. TtkTreeView/TtkTreeView.Ttk_Tree_View
- 1.29.2. TtkTreeView/TtkTreeView.Children
- 1.29.3. TtkTreeView/TtkTreeView.Column_(function)
- 1.29.4. TtkTreeView/TtkTreeView.Column_(procedure)
- 1.29.5. TtkTreeView/TtkTreeView.Create_(function)
- 1.29.6. TtkTreeView/TtkTreeView.Create_(procedure)
- 1.29.7. TtkTreeView/TtkTreeView.Delete
- 1.29.8. TtkTreeView/TtkTreeView.Detach
- 1.29.9. TtkTreeView/TtkTreeView.Exists
- 1.29.10. TtkTreeView/TtkTreeView.Focus_(function)
- 1.29.11. TtkTreeView/TtkTreeView.Focus_(procedure)
- 1.29.12. TtkTreeView/TtkTreeView.Get_Widget
- 1.29.13. TtkTreeView/TtkTreeView.Heading_(function)
- 1.29.14. TtkTreeView/TtkTreeView.Heading_(procedure)
- 1.29.15. TtkTreeView/TtkTreeView.Identify_Column
- 1.29.16. TtkTreeView/TtkTreeView.Identify_Element
- 1.29.17. TtkTreeView/TtkTreeView.Identify_Item
- 1.29.18. TtkTreeView/TtkTreeView.Identify_Region
- 1.29.19. TtkTreeView/TtkTreeView.Index
- 1.29.20. TtkTreeView/TtkTreeView.Insert_(function)
- 1.29.21. TtkTreeView/TtkTreeView.Insert_(procedure)
- 1.29.22. TtkTreeView/TtkTreeView.Item_(function)
- 1.29.23. TtkTreeView/TtkTreeView.Item_(procedure)
- 1.29.24. TtkTreeView/TtkTreeView.Move
- 1.29.25. TtkTreeView/TtkTreeView.Next
- 1.29.26. TtkTreeView/TtkTreeView.Parent
- 1.29.27. TtkTreeView/TtkTreeView.Prev
- 1.29.28. TtkTreeView/TtkTreeView.See
- 1.29.29. TtkTreeView/TtkTreeView.Selection
- 1.29.30. TtkTreeView/TtkTreeView.Selection_Add
- 1.29.31. TtkTreeView/TtkTreeView.Selection_Remove
- 1.29.32. TtkTreeView/TtkTreeView.Selection_Set
- 1.29.33. TtkTreeView/TtkTreeView.Selection_Toggle
- 1.29.34. TtkTreeView/TtkTreeView.Set_(function)
- 1.29.35. TtkTreeView/TtkTreeView.Set_(procedure)
- 1.29.36. TtkTreeView/TtkTreeView.Tag_Add
- 1.29.37. TtkTreeView/TtkTreeView.Tag_Bind_(function)
- 1.29.38. TtkTreeView/TtkTreeView.Tag_Bind_(procedure)
- 1.29.39. TtkTreeView/TtkTreeView.Tag_Configure_(function)
- 1.29.40. TtkTreeView/TtkTreeView.Tag_Configure_(procedure)
- 1.29.41. TtkTreeView/TtkTreeView.Tag_Has
- 1.29.42. TtkTreeView/TtkTreeView.Tag_Names
- 1.29.43. TtkTreeView/TtkTreeView.Tag_Remove
- 1.29.44. TtkTreeView/TtkTreeView.XView
- 1.29.45. TtkTreeView/TtkTreeView.Xview_Move_To
- 1.29.46. TtkTreeView/TtkTreeView.Xview_Scroll
- 1.29.47. TtkTreeView/TtkTreeView.YView
- 1.29.48. TtkTreeView/TtkTreeView.Yview_Move_To
- 1.29.49. TtkTreeView/TtkTreeView.Yview_Scroll
- 1.30. Widgets/TtkWidget
- 1.30.1. TtkWidget/TtkWidget.Identify_Element
- 1.30.2. TtkWidget/TtkWidget.InState
- 1.30.3. TtkWidget/TtkWidget.State_(function)
- 1.30.4. TtkWidget/TtkWidget.State_(procedure)
- 1.31. Widgets/Widgets.Tk_Widget
- 1.32. Widgets/Widgets."&"
- 1.33. Widgets/Widgets.Bell
- 1.34. Widgets/Widgets.Bind_(function)
- 1.35. Widgets/Widgets.Bind_(procedure)
- 1.36. Widgets/Widgets.Bind_Tags_(function)
- 1.37. Widgets/Widgets.Bind_Tags_(procedure)
- 1.38. Widgets/Widgets.cget
- 1.39. Widgets/Widgets.configure_(function)
- 1.40. Widgets/Widgets.configure_(procedure)
- 1.41. Widgets/Widgets.Create_(function)
- 1.42. Widgets/Widgets.Create_(procedure)
- 1.43. Widgets/Widgets.Destroy
- 1.44. Widgets/Widgets.Execute_Widget_Command
- 1.45. Widgets/Widgets.Focus_(function)
- 1.46. Widgets/Widgets.Focus_(procedure)
- 1.47. Widgets/Widgets.Focus_Follows_Mouse
- 1.48. Widgets/Widgets.Focus_Next
- 1.49. Widgets/Widgets.Focus_Prev
- 1.50. Widgets/Widgets.Get_Interp
- 1.51. Widgets/Widgets.Get_Widget
- 1.52. Widgets/Widgets.Grab_Current_(selected_interpreter)
- 1.53. Widgets/Widgets.Grab_Current_(selected_window)
- 1.54. Widgets/Widgets.Grab_Release
- 1.55. Widgets/Widgets.Grab_Set
- 1.56. Widgets/Widgets.Grab_Status
- 1.57. Widgets/Widgets.Lower
- 1.58. Widgets/Widgets.Lower_(below_selected_widget)
- 1.59. Widgets/Widgets.Raise
- 1.60. Widgets/Widgets.Raise_(above_selected_widget)
- 1.61. Widgets/Widgets.Tk_Caret_(function)
- 1.62. Widgets/Widgets.Tk_Caret_(procedure)
- 1.63. Widgets/Widgets.Tk_Inactive_(function)
- 1.64. Widgets/Widgets.Tk_Inactive_(procedure)
- 1.65. Widgets/Widgets.Tk_Scaling_(function)
- 1.66. Widgets/Widgets.Tk_Scaling_(procedure)
- 1.67. Widgets/Widgets.Tk_Use_Input_Methods_(function)
- 1.68. Widgets/Widgets.Tk_Use_Input_Methods_(procedure)
- 1.69. Widgets/Widgets.Tk_Wait
- 1.70. Widgets/Widgets.Unbind_(function)
- 1.71. Widgets/Widgets.Unbind_(procedure)
- 1.72. Widgets/Widgets.Widget_Image
TkAda/Widgets [ Packages ]
[ Top ] [ TkAda ] [ Packages ]
FUNCTION
Provides code for Tk widgets
SOURCE
package Tcl.Tk.Ada.Widgets with SPARK_Mode is
Widgets/Widgets.Tk_Widget [ Types ]
FUNCTION
The Tk_Widget data type, parent of all objects displayed on the screen. It is abstract because it is just a convenience for creating a Tk_Widget class and for creating non-abstract derived widget types. Since there is no such data type in Tk, we make it abstract so that no instance of type Tk_Widget may be created.
SOURCE
type Tk_Widget is abstract tagged record Name: C.Strings.chars_ptr; Interp: Tcl_Interp; end record;
PARAMETERS
Name - Name (Tk path) of the widget Interp - Tcl interpreter to which the widget is added
Widgets/Widgets."&" [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Concatenates and returns the string names of Left and Right. Does not insert the separating dot.
SOURCE
function "&" (Left: in Tk_Widget'Class; Right: in Tk_Widget'Class) return String; function "&"(Left: in Tk_Widget'Class; Right: in String) return String; function "&"(Left: in String; Right: in Tk_Widget'Class) return String;
PARAMETERS
Left - First Tk_Widget or String to concatenate Right - Second Tk_Widget or String to concatenate
RESULT
String with concantenate name
EXAMPLE
-- Create name for a new widget from My_Widget name and .subwindow New_Name: constant String := My_Widget & ".subwindow";
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Bell [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Rings the bell on the selected Widget display
SOURCE
procedure Bell(Widgt: in Tk_Widget'Class; Option: in String := "") with Pre => Option in "" | "-nice";
PARAMETERS
Widgt - Tk_Widget on which display bell will be rings Option - Can be empty or "-nice". Default is empty. If is empty then also reset screen saver state.
EXAMPLE
-- Ring the bell for the widget My_Window display Bell(My_Window);
COMMANDS
bell -displayof Widgt option
HISTORY
8.6.7 - Added
Widgets/Widgets.Bind_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the associated Tcl script Script with the event Sequence.
SOURCE
function Bind(Widgt: in Tk_Widget'Class; Sequence: in String) return String;
PARAMETERS
Widgt - Tk_Widget to which script will be binded Sequence - Name of Tk event which the script will be get
RESULT
Script which is associated with the selected event or {} if no script is binded to that event.
EXAMPLE
-- Get the script associated with left click in My_Window widget Script: constant String := Bind(My_Window, "<1>");
SEE ALSO
Widgets.Bind_(procedure)
COMMANDS
bind Widgt sequence
HISTORY
8.6.8 - Added
Widgets/Widgets.Bind_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Associates Tcl script Script with the event Sequence.
SOURCE
procedure Bind (Widgt: in Tk_Widget'Class; Sequence: in String; Script: in String);
PARAMETERS
Widgt - Tk_Widget to which script will be binded Sequence - Name of Tk event which will be binded with the script Script - Tcl code which will be binded to the Tk_Widget
EXAMPLE
-- Exit from the program on press CTRL-q in My_Window widget Bind(My_Window, "<Control-q>", "exit");
SEE ALSO
Widgets.Bind_(function)
COMMANDS
bind Widgt sequence script
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Bind_Tags_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get binding tags for the selected window
SOURCE
function Bind_Tags(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk_Widget which binding tags will be queried
RESULT
List of binding tags associated with the selected window
EXAMPLE
-- Get the order and tags themself for the My_Button widget Tags_Info: constant String := Bind_Tags(My_Button)
SEE ALSO
Widgets.Bind_Tags_(procedure)
COMMANDS
bindtags Widgt
HISTORY
8.6.7 - Added
Widgets/Widgets.Bind_Tags_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Set binding tags for the selected window
SOURCE
procedure Bind_Tags(Widgt: in Tk_Widget'Class; TagList: in String) with Pre => TagList /= "";
PARAMETERS
Widgt - Tk_Widget which binding tags will be changed TagList - The new list of binding tags for the selected window
EXAMPLE
-- Determine order of bindings for My_Button button as itself (name .button) then all Bind_Tags(My_Button, "{.button all}");
SEE ALSO
Widgets.Bind_Tags_(function)
COMMANDS
bindtags Widgt taglist
HISTORY
8.6.7 - Added
Widgets/Widgets.cget [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the current value of the specified option for specified widget
SOURCE
function cget(Widgt: in Tk_Widget'Class; option: in String) return String;
PARAMETERS
Widgt - Tk_Widget which option will be get option - Name of the option to get
RESULT
Returns the current value of the specified configuration option.
EXAMPLE
-- Get the text of My_Label widget Text: constant String := cget(My_Label, "-text");
COMMANDS
Widgt cget option
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.configure_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Queries the configuration options.
SOURCE
function configure (Widgt: in Tk_Widget'Class; options: in String := "") return String;
PARAMETERS
Widgt - Tk_Widget from which options will be queried or modified options - Options to query. If empty, return list of available options. Default is empty.
RESULT
String with Tcl information about finished action (for example, list of options).
EXAMPLE
-- Get the all available options of the My_Label widget Options: constant String := configure(My_Label);
SEE ALSO
Widgets.cget, Widgets.configure_(procedure)
COMMANDS
Widgt configure ?options?
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.configure_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Queries or modifies the configuration options.
SOURCE
procedure configure(Widgt: in Tk_Widget'Class; options: in String) with Pre => options /= "";
PARAMETERS
Widgt - Tk_Widget from which options will be queried or modified options - Options to configure.
EXAMPLE
-- Configure text to hello world on My_Label widget configure(My_Label, "-text {hello world}");
SEE ALSO
Widgets.cget, Widgets.configure_(function)
COMMANDS
Widgt configure options
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Create_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Creates a new Tk_Widget in the specified interpreter. This is abstract function. Its content depends on each child widget code.
SOURCE
function Create (pathName: in String; options: in String := ""; Interp: in Tcl_Interp := Null_Interp) return Tk_Widget is abstract;
PARAMETERS
pathName - Tk path (starts with dot) for the widget options - Options which will be passed to the widget. Default value is empty Interp - Tcl interpreter to which the widget will be created. If null, the widget will be created in the "contextual" interpreter. Default value is null.
RESULT
Newly created Tk_Widget
SEE ALSO
Widgets.Create_(procedure)
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Create_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Creates a new Tk_Widget in the specified interpreter. This is abstract function. Its content depends on each child widget code.
SOURCE
procedure Create (Widgt: out Tk_Widget; pathName: in String; options: in String := ""; Interp: in Tcl_Interp := Null_Interp) is abstract;
PARAMETERS
Widgt - Tk_Widget which will be created pathName - Tk path (starts with dot) for the widget options - Options which will be passed to the widget. Default value is empty Interp - Tcl interpreter to which the widget will be created. If null, the widget will be created in the "contextual" interpreter. Default value is null.
OUTPUT
Newly created Tk_Widget as parameter Widgt
SEE ALSO
Widgets.Create_(function)
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Destroy [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Destroys a Tk_Widget.
SOURCE
procedure Destroy(Widgt: in out Tk_Widget'Class);
PARAMETERS
Widgt - Tk_Widget to destroy
EXAMPLE
-- Destroy My_Widget widget Destroy(My_Widget);
COMMANDS
destroy Widgt
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Execute_Widget_Command [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Execute selected Tcl command in the selected widget. Generally, you should not use this procedure outside library, unless here are no direct binding for selected Tk widget command. Widgt - Tk_Widget in which command will be executed command - Tcl command to execute options - Options for the selected Tcl command
SOURCE
procedure Execute_Widget_Command (Widgt: in Tk_Widget'Class; command: in String; options: in String := "");
EXAMPLE
-- -- Change background of My_Window to black -- Execute_Widget_Command(My_Window, "configure", "-background=black");
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Focus_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get input focus Tk widget name in the selected Tcl interpreter
SOURCE
function Focus (Interp: in Tcl_Interp := Get_Context; Option: in String := "") return String;
PARAMETERS
Interp - Tcl interpreter in which input focus will be queried. Default value is current interpreter Option - Additional option for command.
RESULT
A name of a Tk widget which have input focus or empty string if no window in this application has focus (depending on the option)
EXAMPLE
-- Get the name of the currently focused widget on the default Tcl interpreter Focused_Name: constant String := Focus;
SEE ALSO
Widgets.Focus_(procedure)
COMMANDS
focus
HISTORY
8.6.3 - Added
Widgets/Widgets.Focus_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Set input focus on the selected Tk_Widget with the selected option
SOURCE
procedure Focus(Widgt: in Tk_Widget'Class; Option: in String := "") with Pre => Option in "" | "-force";
PARAMETERS
Widgt - Tk_Widget to set as input focus Option - Set to "-force" to set input focus even if application don't have it. Default value is empty
EXAMPLE
-- Set the input focus on My_Entry widget Focus(My_Entry);
SEE ALSO
Widgets.Focus_(function)
COMMANDS
focus Widgt
HISTORY
8.6.3 - Added
Widgets/Widgets.Focus_Follows_Mouse [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Set focus model to follow the mouse movement in the selected Tcl interpreter PARAMERERS Interp - Tcl interpreter in which the focus model will be set
SOURCE
procedure Focus_Follows_Mouse(Interp: Tcl_Interp := Get_Context);
EXAMPLE
-- Set the focus model to follow the mouse on the default Tcl interpreter Focus_Follows_Mouse;
COMMANDS
tk_focusFollowsMouse
HISTORY
8.6.6 - Added
Widgets/Widgets.Focus_Next [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the next Widget in focus order after the selected Widget
SOURCE
function Focus_Next(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk Widget after which the next Widget will be get
RESULT
Name of the next Tk_Widget in focus order
EXAMPLE
-- Get the name of the next widget in focus traversal order after My_Window widget Widget_Name: constant String := Focus_Next(My_Window);
SEE ALSO
Widgets.Focus_Prev
COMMANDS
tk_focusNext Widgt
HISTORY
8.6.6 - Added
Widgets/Widgets.Focus_Prev [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the previous Widget in focus order after the selected Widget
SOURCE
function Focus_Prev(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk Widget before which the previous Widget will be get
RESULT
Name of the previous Tk_Widget in focus order
EXAMPLE
-- Get the name of the previous widget in focus traversal order before My_Button widget Widget_Name: constant String := Focus_Prev(My_Button);
SEE ALSO
Widgets.Focus_Next
COMMANDS
tk_focusPrev Widgt
HISTORY
8.6.6 - Added
Widgets/Widgets.Get_Interp [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Gets the interpreter of the specified Tk_Widget.
SOURCE
function Get_Interp(Widgt: in Tk_Widget'Class) return Tcl_Interp;
PARAMETERS
Widgt - Tk_Widget which belongs to Tcl interpreter
RESULT
Tcl interpreter of the specified Tk_Widget
EXAMPLE
-- Get the interpreter of My_Widget widget Interp: constant Tcl_Interp := Get_Interp(My_Widget);
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Get_Widget [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the existing Tk_Widget. This is abstract function. Its content depends on each child widget code.
SOURCE
function Get_Widget (pathName: in String; Interp: in Tcl_Interp := Get_Context) return Tk_Widget is abstract;
PARAMETERS
pathName - Tk path (starts with dot) for the widget Interp - Tcl interpreter on which the widget exists. Can be empty. Default value is current Tcl interpreter
RESULT
Existing Tk_Widget
HISTORY
8.6.9 - Added
Widgets/Widgets.Grab_Current_(selected_interpreter) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the name of the currently set as grab window on the selected Tcl interpreter
SOURCE
function Grab_Current(Interp: Tcl_Interp := Get_Context) return String;
PARAMETERS
Interp - Tcl interpreter which will be queried for the grab window. Can be empty. Default value is current interpreter
RESULT
Name of the gra window in the selected Tcl interpreter or {} if no window is set as grab window
EXAMPLE
-- Get the name of currently set as grab window widget on default Tcl interpreter Widget_Name: constant String := Grab_Current;
SEE ALSO
Widgets.Grab_Current_(selected_window)
COMMANDS
grab current
HISTORY
8.6.6 - Added
Widgets/Widgets.Grab_Current_(selected_window) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the name of the currently set as grab window on the display where the selected window is
SOURCE
function Grab_Current(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk_Widget which display will be queried for the grab window
RESULT
Name of the gra window in the selected display or {} if no window is set as grab window
EXAMPLE
Get the name of currently set as grab window widget on display where My_Label is Widget_Name: constant String := Grab_Current(My_Label);
SEE ALSO
Widgets.Grab_Current_(selected_interpreter)
COMMANDS
grab current Widgt
HISTORY
8.6.6 - Added
Widgets/Widgets.Grab_Release [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Release the grab on the selected Widget
SOURCE
procedure Grab_Release(Widgt: in Tk_Widget'Class);
PARAMETERS
Widgt - Tk_Widget on which the grab will be released
EXAMPLE
-- Release the grab from My_Window widget Grab_Release(My_Window);
COMMANDS
grab release Widgt
HISTORY
8.6.6 - Added
Widgets/Widgets.Grab_Set [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Set the grab to the selected widget
SOURCE
procedure Grab_Set(Widgt: in Tk_Widget'Class; Global: in String := "") with Pre => Global in "" | "-global";
PARAMETERS
Widgt - Tk_Widget on which the grab will be set Global - If empty, the grab is local, when "-global" then the grab is global. Default value is empty
EXAMPLE
-- Set the grab to the My_Entry widget Grab_Set(My_Entry);
COMMANDS
grab set global Widgt
HISTORY
8.6.6 - Added
Widgets/Widgets.Grab_Status [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the status of the grab for the selected widget
SOURCE
function Grab_Status(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk_Widget which will be queried for the grab status
RESULT
"none" if no grab on the selected widget, "local" if the grab is local and "global" if the grab is global
EXAMPLE
-- Get the status of the grab for My_Window widget Status: constant String := Grab_Status(My_Window);
COMMANDS
grab status Widgt
HISTORY
8.6.6 - Added
Widgets/Widgets.Lower [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Lowers the selected Tk_Widget below of all its siblings in the stacking order
SOURCE
procedure Lower(Widgt: in Tk_Widget'Class);
PARAMETERS
Widgt - Tk_Widget to lower
EXAMPLE
-- Move the My_Window widget at the end of stacking order Lower(My_Window);
SEE ALSO
Widgets.Lower_(below_selected_widget)
COMMANDS
lower Widgt
HISTORY
8.6.4 - Added
Widgets/Widgets.Lower_(below_selected_widget) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Insert the Tk_Widget below the selected widget in the stacking order
SOURCE
procedure Lower(Widgt, BelowThis: in Tk_Widget'Class);
PARAMETERS
Widgt - Tk_Widget to lower BelowThis - Tk_Widget before which Widgt will be inserted
EXAMPLE
-- Move My_Window widget after My_Dialog widget in the stacking order Lower(My_Window, My_Dialog);
SEE ALSO
Widgets.Lower
COMMANDS
lower Widgt BelowThis
HISTORY
8.6.4 - Added
Widgets/Widgets.Raise [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Raisess the selected Tk_Widget below of all its siblings in the stacking order
SOURCE
procedure Widget_Raise(Widgt: in Tk_Widget'Class);
PARAMETERS
Widgt - Tk_Widget to raise
EXAMPLE
-- Raise My_Window widget at top of the stacking order Widget_Raise(My_Window);
SEE ALSO
Widgets.Raise_(above_selected_widget)
COMMANDS
raise Widgt
HISTORY
8.6.4 - Added
Widgets/Widgets.Raise_(above_selected_widget) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Insert the Tk_Widget above the selected widget in the stacking order
SOURCE
procedure Widget_Raise(Widgt, AboveThis: in Tk_Widget'Class);
PARAMETERS
Widgt - Tk_Widget to insert AboveThis - Tk_Widget above which Widgt will be inserted
EXAMPLE
-- Raise My_Window widget above My_Dialog widget in the stacking order Widget_Raise(My_Window, My_Dialog);
SEE ALSO
Widgets.Raise
COMMANDS
raise Widgt AboveThis
HISTORY
8.6.4 - Added
Widgets/Widgets.Tk_Caret_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the caret location in the selected window
SOURCE
function Tk_Caret(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk_Widget in which the caret will be get
RESULT
String with 3 values: X coordinate of the carret, Y coordinate of the caret and height of the Widgt
EXAMPLE
-- Get the coordinates of the caret in My_Window widget Coordinates: constant String := Tk_Caret(My_Window);
SEE ALSO
Widgets.Tk_Caret_(procedure)
COMMANDS
tk caret Widgt
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Caret_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Set the caret location in the selected window
SOURCE
procedure Tk_Caret(Widgt: in Tk_Widget'Class; X, Y, Height: in String) with Pre => X /= "" and Y /= "" and Height /= "";
PARAMETERS
Widgt - Tk_Widget in which the caret will be set X - The new X coordinate of the caret Y - The new Y coordinate of the caret Height - The height of current cursor location
EXAMPLE
-- Set the caret to point (24, 56) and height 54 in My_Text widget Tk_Caret(My_Text, "24", "56", "54");
SEE ALSO
Widgets.Tk_Caret_(function)
COMMANDS
tk caret Widgt x y height
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Inactive_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the number of miliseconds since last interaction of the user on the selected display
SOURCE
function Tk_Inactive(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk_Widget on which display inactivity timer will be get
RESULT
Number of miliseconds since last interaction of the user
EXAMPLE
-- Get the inactivity time for My_Entry widget Inactive_For: constant String := Tk_Inactive(My_Entry);
SEE ALSO
Widgets.Tk_Inactive_(procedure)
COMMANDS
tk inactive -displayof Widgt
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Inactive_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Reset the user inactivity timer
SOURCE
procedure Tk_Inactive(Widgt: in Tk_Widget'Class);
PARAMETERS
Widgt - Tk_Widget on which display inactivity timer will be reseted
EXAMPLE
-- Reset the user inactivity timer for My_Window widget Tk_Inactive(My_Window);
SEE ALSO
Widgets.Tk_Inactive_(function)
COMMANDS
tk inactive -displayof Widgt reset
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Scaling_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get the scaling factor of the selected display
SOURCE
function Tk_Scaling(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk_Widget on which display the scaling factor will be get
RESULT
Floating point number which specifies the number of pixels per point of Widgt display
EXAMPLE
-- Get the scaling factor for the My_Window window Scaling: constant String := Tk_Scaling(My_Window);
SEE ALSO
Widgets.Tk_Scaling_(procedure)
COMMANDS
tk scaling -displayof Widgt
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Scaling_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Set the scaling factor for the selected display
SOURCE
procedure Tk_Scaling(Widgt: in Tk_Widget'Class; Number: in String) with Pre => Number /= "";
PARAMETERS
Widgt - Tk_Widget on which display the scaling factor will be set Number - Floating point number which specifies the number of pixels per point of Widgt display. 1.0 means 72 dpi.
EXAMPLE
-- Set scaling to 1.2 (90 dpi) for My_Window widget Tk_Scaling(My_Window, "1.2");
SEE ALSO
Widgets.Tk_Scaling_(function)
COMMANDS
tk scaling -displayof Widgt number
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Use_Input_Methods_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Get if Tk uses XIM (X Input Methods) for filtering events
SOURCE
function Tk_Use_Input_Methods(Widgt: in Tk_Widget'Class) return String;
PARAMETERS
Widgt - Tk_Widget on which display the filtering will be get
RESULT
"1" if Tk uses XIM otherwise "0"
EXAMPLE
-- Get the state of XIM for My_Window widget XIM_Enabled: constant String := Tk_Use_Input_Methods(My_Window);
SEE ALSO
Widgets.Tk_Use_Input_Methods_(procedure)
COMMANDS
tk useinputmethods -displayof window
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Use_Input_Methods_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Set Tk to use XIM (X Input Methods) for filtering events
SOURCE
procedure Tk_Use_Input_Methods (Widgt: in Tk_Widget'Class; Enabled: in String) with Pre => Enabled in "1" | "0";
PARAMETERS
Widgt - Tk_Widget on which display the filtering will be set Enabled - If "1" then enable filtering, when "0" disable it
EXAMPLE
-- Enable XIM for My_Window widget Tk_Use_Input_Methods(M_Window, "true");
SEE ALSO
Widgets.Tk_Use_Input_Methods_(function)
COMMANDS
tk useinputmethods -displayof window enabled
HISTORY
8.6.7 - Added
Widgets/Widgets.Tk_Wait [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Wait until the selected thing to happen
SOURCE
procedure Tk_Wait(WaitFor, Name: in String) with Pre => WaitFor in "variable" | "visibility" | "window" and Name /= "";
PARAMETERS
WaitFor - "variable" - the selected variable was modified, "visibility" the selected window visibility state was changed, "window" the selected window was destroyed Name - Name of variable or window on which Tk_Wait should waits
EXAMPLE
-- Wait until Tcl variable myvariable will be modified Tk_Wait("variable", "myvariable");
COMMANDS
tkwait waitfor name
HISTORY
8.6.6 - Added
Widgets/Widgets.Unbind_(function) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Disassociates the binding from the event Sequence.
SOURCE
function Unbind (Widgt: in Tk_Widget'Class; Sequence: in String) return String;
PARAMETERS
Widgt - Tk_Widget from which selected event will be removed Sequence - Name of Tk event which will be removed from the widget
RESULT
String with Tcl information about finished action
EXAMPLE
-- Remove Control-q binding from My_Frame widget and get info about finished action Result: constant String := Unbind(My_Frame, "<Control-q>");
SEE ALSO
Widgets.Unbind_(procedure)
COMMANDS
bind Widgt sequence {}
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Unbind_(procedure) [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Disassociates the binding from the event Sequence.
SOURCE
procedure Unbind(Widgt: in Tk_Widget'Class; Sequence: in String);
PARAMETERS
Widgt - Tk_Widget from which selected event will be removed Sequence - Name of Tk event which will be removed from the widget
EXAMPLE
-- Remove left click binding for My_Window widget Unbind(My_Window, "<1>");
SEE ALSO
Widgets.Unbind_(function)
COMMANDS
bind Widgt sequence {}
HISTORY
8.6.0 - Imported from TASH
Widgets/Widgets.Widget_Image [ Subprograms ]
[ Top ] [ Widgets ] [ Subprograms ]
FUNCTION
Returns the string name of Win.
SOURCE
function Widget_Image(Win: in Tk_Widget'Class) return String;
PARAMETERS
Win - Tk_Widget which name will be returned.
RESULT
String with name of Tk_Widget
EXAMPLE
-- Get the name of widget My_Widget Name: constant String := Widget_Image(My_Widget);
HISTORY
8.6.0 - Imported from TASH