TABLE OF CONTENTS
Widgets/TtkSizeGrip [ Packages ]
[ Top ] [ Widgets ] [ Packages ]
FUNCTION
Provides code for manipulate Tk widget Ttk::SizeGrip
SOURCE
package Tcl.Tk.Ada.Widgets.TtkSizeGrip with SPARK_Mode is pragma Elaborate_Body;
TtkSizeGrip/TtkSizeGrip.Ttk_SizeGrip [ Types ]
[ Top ] [ TtkSizeGrip ] [ Types ]
FUNCTION
This is a non-abstract type derived directly from Tk_Widget. Each of the derived widgets redefines the Create subprogram in order to create the correct type of widget.
SOURCE
type Ttk_SizeGrip is new Tk_Widget with private;
TtkSizeGrip/TtkSizeGrip.Create_(function) [ Subprograms ]
[ Top ] [ TtkSizeGrip ] [ Subprograms ]
FUNCTION
Creates a new Ttk_SizeGrip in the specified interpreter.
SOURCE
overriding function Create (pathName: in String; options: in String := ""; Interp: in Tcl_Interp := Null_Interp) return Ttk_SizeGrip with Global => null;
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 Ttk_SizeGrip
EXAMPLE
-- Create a new sizegrip with pathname .mygrip My_Grip: constant Ttk_SizeGrip := Create(".mygrip");
SEE ALSO
TtkSizeGrip.Create_(procedure)
COMMANDS
ttk::sizegrip pathName ?options?
HISTORY
8.6.6 - Added
TtkSizeGrip/TtkSizeGrip.Create_(procedure) [ Subprograms ]
[ Top ] [ TtkSizeGrip ] [ Subprograms ]
FUNCTION
Creates a new Ttk_SizeGrip in the specified interpreter.
SOURCE
overriding procedure Create (Widgt: out Ttk_SizeGrip; pathName: in String; options: in String := ""; Interp: in Tcl_Interp := Null_Interp) with Global => null;
PARAMETERS
Widgt - Ttk_SizeGrip 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 Ttk_Separator as parameter Widgt
EXAMPLE
-- Create sizegrip My_Grip with pathname .mygrip on the current Tcl interpreter declare My_Grip: Ttk_SizeGrip; begin Create(My_Grip, ".mygrip"); end;
SEE ALSO
TtkSizeGrip.Create_(function)
COMMANDS
ttk::sizegrip pathName ?options?
HISTORY
8.6.6 - Added
TtkSizeGrip/TtkSizeGrip.Get_Widget [ Subprograms ]
[ Top ] [ TtkSizeGrip ] [ Subprograms ]
FUNCTION
Get the existing Ttk_SizeGrip widget
SOURCE
overriding function Get_Widget (pathName: in String; Interp: in Tcl_Interp := Get_Context) return Ttk_SizeGrip with Global => null;
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 Ttk_SizeGrip widget
EXAMPLE
-- Get sizegrip widget with name .mygrip on the current Tcl interpreter My_Grip: constant Ttk_SizeGrip := Get_Widget(".mygrip");
HISTORY
8.6.9 - Added