1tixLabelEntry(n) Tix Built-In Commands tixLabelEntry(n)
2
3
4
6 tixLabelEntry - Create and manipulate tixLabelEntry widgets
7
9 tixLabelEntry pathName ?options?
10
12 The TixLabelEntry class is derived from the TixLabelWidget class and
13 inherits all the commands, options and subwidgets of its super-class.
14
16 The LabelEntry 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
21 [-disableforeground disableForeground] The foreground color to use for
22 of the entry subwidget when the LabelEntry widget is disabled.
23 [-label label] Specifies the string to display as the label of this
24 LabelEntry widget. [-labelside labelSide] Specifies where the label
25 should be displayed relative to the entry subwidget. Valid options are:
26 top, left, right, bottom, none or acrosstop. [-state state] Specifies
27 the whether the LabelEntry widget is normal or disabled. Only the val‐
28 ues "normal" and "disabled" are recognized.
29
31 Name: label
32 Class: Label
33
34 The label subwidget.
35
36 Name: entry
37 Class: Entry
38
39 The entry subwidget.
40
42 The tixLabelEntry command creates a new window (given by the pathName
43 argument) and makes it into a LabelEntry widget. Additional options,
44 described above, may be specified on the command line or in the option
45 database to configure aspects of the LabelEntry such as its cursor and
46 relief.
47
48 The LabelEntry widget packages an entry widget and a label into one
49 mega widget. It can be used be used to simplify the creation of "entry-
50 form" type of interface. In this kind of interface, one must create
51 many entry widgets with label widgets next to them and describe the use
52 of each of the entry widgets.
53
55 The tixLabelEntry command creates a new Tcl command whose name is the
56 same as the path name of the LabelEntry's window. This command may be
57 used to invoke various operations on the widget. It has the following
58 general form:
59 pathName option ?arg arg ...?
60 PathName is the name of the command, which is the same as the LabelEn‐
61 try widget's path name. Option and the args determine the exact behav‐
62 ior of the command. The following commands are possible for LabelEntry
63 widgets:
64
65 pathName cget option
66 Returns the current value of the configuration option given by
67 option. Option may have any of the values accepted by the tixLa‐
68 belEntry command.
69
70 pathName configure ?option? ?value option value ...?
71 Query or modify the configuration options of the widget. If no
72 option is specified, returns a list describing all of the avail‐
73 able options for pathName (see Tk_ConfigureInfo for information
74 on the format of this list). If option is specified with no
75 value, then the command returns a list describing the one named
76 option (this list will be identical to the corresponding sublist
77 of the value returned if no option is specified). If one or
78 more option-value pairs are specified, then the command modifies
79 the given widget option(s) to have the given value(s); in this
80 case the command returns an empty string. Option may have any
81 of the values accepted by the tixLabelEntry command.
82
83 pathName subwidget name ?args?
84 When no options are given, this command returns the pathname of
85 the subwidget of the specified name.
86
87 When options are given, the widget command of the specified sub‐
88 widget will be called with these options.
89
91 Tix(n)
92
93
94
95
96
97
98Tix 4.0 tixLabelEntry(n)