TABLE OF CONTENTS
TkAda/TkPlace [ Packages ]
[ Top ] [ TkAda ] [ Packages ]
FUNCTION
Provides code for manipulate Tk command Place
SOURCE
package Tcl.Tk.Ada.Place with SPARK_Mode is
TkPlace/TkPlace.Place [ Subprograms ]
[ Top ] [ TkPlace ] [ Subprograms ]
FUNCTION
Place selected widget with selected options
SOURCE
procedure Place(Slave: in Tk_Widget'Class; Options: in String := "");
PARAMETERS
Slave - Tk_Widget to place Options - Option to place action
EXAMPLE
-- Add My_Entry widget at point (12, 32) Place.Place(My_Entry, "-x 12 -y 32");
COMMANDS
place slave ?options?
HISTORY
8.6.4 - Added
TkPlace/TkPlace.Place_Configure [ Subprograms ]
[ Top ] [ TkPlace ] [ Subprograms ]
FUNCTION
Tells the packer how to configure the specified Slave window.
SOURCE
procedure Place_Configure (Slave: in Tk_Widget'Class; Options: in String := "");
PARAMETERS
Slave - Tk_Widget to configure Options - Place options for the slave
EXAMPLE
-- Set My_Label widget width to 20 pixels Place_Configure(My_Label, "-width 20");
COMMANDS
place configure slave ?options?
HISTORY
8.6.4 - Added
TkPlace/TkPlace.Place_Forget [ Subprograms ]
[ Top ] [ TkPlace ] [ Subprograms ]
FUNCTION
Removes the Slave window from the packing list for its master and unmaps their windows.
SOURCE
procedure Place_Forget(Slave: in Tk_Widget'Class);
PARAMETERS
Slave - Tk_Widget to remove
EXAMPLE
-- Remove (hide) My_Label widget from UI Place_Forget(My_Label);
COMMANDS
place forget slave
HISTORY
8.6.4 - Added
TkPlace/TkPlace.Place_Info [ Subprograms ]
[ Top ] [ TkPlace ] [ Subprograms ]
FUNCTION
Get place options of the selected widget
SOURCE
function Place_Info(Slave: in Tk_Widget'Class) return String;
PARAMETERS
Slave - Tk_Widget to query
RESULT
String with list whose elements are the current configuration state of the specified Slave window.
EXAMPLE
-- Get the place configuration of the My_Label widget Place_Options: constant String := Place_Info(My_Label);
COMMANDS
place info slave
HISTORY
8.6.4 - Added
TkPlace/TkPlace.Place_Slaves [ Subprograms ]
[ Top ] [ TkPlace ] [ Subprograms ]
FUNCTION
Get list of slaves widget of selected widget
SOURCE
function Place_Slaves(Master: in Tk_Widget'Class) return String;
PARAMETERS
Master - Tk_Widget which will be queried for slaves
RESULT
Returns a list of slaves in the packing order of the specified Master window.
EXAMPLE
-- Get the list of slaves for the My_Main_Window Slaves: constant String := Place_Slaves(My_Main_Window)
COMMANDS
place slaves master
HISTORY
8.6.4 - Added