TIX(3) | Tix Built-In Commands | TIX(3) |
tixLabelEntry - Create and manipulate tixLabelEntry widgets
tixLabelEntry pathName ?options?
The TixLabelEntry class is derived from the TixLabelWidget class and inherits all the commands, options and subwidgets of its super-class.
The LabelEntry widget supports all the standard options of a frame widget. See the options(n) manual entry for details on the standard options.
[-disableforeground disableForeground] The foreground color to use for of the entry subwidget when the LabelEntry widget is disabled. [-label label] Specifies the string to display as the label of this LabelEntry widget. [-labelside labelSide] Specifies where the label should be displayed relative to the entry subwidget. Valid options are: top, left, right, bottom, none or acrosstop. [-state state] Specifies the whether the LabelEntry widget is normal or disabled. Only the values "normal" and "disabled" are recognized.
Name: label Class: Label
Name: entry Class: Entry
The tixLabelEntry command creates a new window (given by the pathName argument) and makes it into a LabelEntry widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the LabelEntry such as its cursor and relief.
The LabelEntry widget packages an entry widget and a label into one mega widget. It can be used be used to simplify the creation of "entry-form" type of interface. In this kind of interface, one must create many entry widgets with label widgets next to them and describe the use of each of the entry widgets.
The tixLabelEntry command creates a new Tcl command whose name is the same as the path name of the LabelEntry's window. This command may be used to invoke various operations on the widget. It has the following general form:
When options are given, the widget command of the specified subwidget will be called with these options.
Tix(n)
4.0 | Tix |