1tixLabelFrame(n)             Tix Built-In Commands            tixLabelFrame(n)
2
3
4

NAME

6       tixLabelFrame - Create and manipulate tixLabelFrame widgets
7

SYNOPSIS

9       tixLabelFrame pathName ?options?
10

SUPER-CLASS

12       The  TixLabelFrame  class  is derived from the TixLabelWidget class and
13       inherits all the commands, options and subwidgets of its super-class.
14

STANDARD OPTIONS

16       The LabelFrame widget supports all the standard options of a frame wid‐
17       get.  See  the  options(n)  manual  entry  for  details on the standard
18       options.
19

WIDGET-SPECIFIC OPTIONS

21       [-label label] Specifies the string to display as  the  label  of  this
22       LabelFrame  widget.   [-labelside labelSide]  Specifies where the label
23       should be displayed relative to the entry subwidget. Valid options are:
24       top,  left,  right,  bottom, none or acrosstop.  [-padx padX] Specifies
25       the amount of the horizontal padding around the frame  subwidget.  Must
26       be  a  valid  non-negative  integer number.  [-pady padY] Specifies the
27       amount of the vertical padding around the frame subwidget.
28

SUBWIDGETS

30       Name:          frame
31       Class:         Frame
32
33              The frame subwidget.
34
35       Name:          label
36       Class:         Label
37
38              The label subwidget.
39

DESCRIPTION

41       The tixLabelFrame command creates a new window (given by  the  pathName
42       argument)  and  makes  it into a LabelFrame widget. Additional options,
43       described above, may be specified on the command line or in the  option
44       database  to configure aspects of the LabelFrame such as its cursor and
45       relief.
46

CREATING WIDGETS INSIDE A LABELFRAME

48       The LabelFrame widget packages a frame widget and a label into one mega
49       widget.  To  create widgets inside a LabelFrame widget, one must create
50       the new widgets relative to the frame subwidget and manage them  inside
51       the  frame subwidget. An error will be generated if one tries to create
52       widgets as immediate children of the LabelFrame. For example: the  fol‐
53       lowing is correct code, which creates new widgets inside the frame sub‐
54       widget:
55
56       tixLabelFrame .f set f [.f subwidget frame] button $f.b -text  hi  pack
57       $f.b
58
59       The  following  example  code  is  incorrect because it tries to create
60       immediate children of the LabelFrame .f:
61
62       tixLabelFrame .f # wrong!  button .f.b -text hi pack .f.b
63

WIDGET COMMANDS

65       The tixLabelFrame command creates a new Tcl command whose name  is  the
66       same  as  the path name of the LabelFrame's window. This command may be
67       used to invoke various operations on the widget. It has  the  following
68       general form:
69              pathName option ?arg arg ...?
70       PathName  is  the  name of the command, which is the same as the Label‐
71       Frame widget's path name. Option  and  the  args  determine  the  exact
72       behavior of the command. The following commands are possible for Label‐
73       Frame widgets:
74
75       pathName cget option
76              Returns the current value of the configuration option  given  by
77              option. Option may have any of the values accepted by the tixLa‐
78              belFrame command.
79
80       pathName configure ?option? ?value option value ...?
81              Query or modify the configuration options of the widget.  If  no
82              option is specified, returns a list describing all of the avail‐
83              able options for pathName (see Tk_ConfigureInfo for  information
84              on  the  format  of  this list).  If option is specified with no
85              value, then the command returns a list describing the one  named
86              option (this list will be identical to the corresponding sublist
87              of the value returned if no option is  specified).   If  one  or
88              more option-value pairs are specified, then the command modifies
89              the given widget option(s) to have the given value(s);  in  this
90              case  the  command returns an empty string.  Option may have any
91              of the values accepted by the tixLabelFrame command.
92
93       pathName subwidget name ?args?
94              When no options are given, this command returns the pathname  of
95              the subwidget of the specified name.
96
97       When  options  are given, the widget command of the specified subwidget
98       will be called with these options.
99

KEYWORDS

101       Tix(n)
102
103
104
105
106
107
108Tix                                   4.0                     tixLabelFrame(n)
Impressum