1tixStdButtonBox(n) Tix Built-In Commands tixStdButtonBox(n)
2
3
4
6 tixStdButtonBox - Create and manipulate Tix StdButtonBox widgets
7
9 tixStdButtonBox pathName ?options? -anchor -background -cursor
10 -relief -borderWidth
11
13 [-orientation orientation] Static Option. Specifies the orientation of
14 the button subwidgets. Only the values "horizontal" and "vertical" are
15 recognized. [-padx padx] Specifies the horizontal padding between two
16 neighboring button subwidgets in the StdButtonBox widget.
17
18 [-padx padx] Specifies the vertical padding between two neighboring
19 button subwidgets in the StdButtonBox widget. [-state state] Specifies
20 the state of all the buttons inside the StdButtonBox widget.
21
22 Note: Setting this option using the config widget command will enable
23 or disable all the buttons subwidgets. Original states of the individ‐
24 ual buttons are not saved.
25
27 Name: ok
28 Class: Button
29
30 The first button subwidget. By default it displays the text
31 string "Ok"
32
33 Name: apply
34 Class: Button
35
36 The second button subwidget. By default it displays the text
37 string "Apply"
38
39 Name: cancel
40 Class: Button
41
42 The third button subwidget. By default it displays the text
43 string "Cancel"
44
45 Name: help
46 Class: Button
47
48 The fourth button subwidget. By default it displays the text
49 string "Help"
50
52 The tixStdButtonBox command creates a new window (given by the pathName
53 argument) and makes it into a StdButtonBox widget. Additional options,
54 described above, may be specified on the command line or in the option
55 database to configure aspects of the StdButtonBox such as its cursor
56 and relief.
57
58 The StdButtonBox widget is a group of Standard buttons for Motif-like
59 dialog boxes.
60
61
63 The tixStdButtonBox command creates a new Tcl command whose name is the
64 same as the path name of the StdButtonBox's window. This command may be
65 used to invoke various operations on the widget. It has the following
66 general form:
67 pathName option ?arg arg ...?
68 PathName is the name of the command, which is the same as the StdBut‐
69 tonBox widget's path name. Option and the args determine the exact
70 behavior of the command. The following commands are possible for Std‐
71 ButtonBox widgets:
72
73 pathName cget option
74 Returns the current value of the configuration option given by
75 option. Option may have any of the values accepted by the tixSt‐
76 dButtonBox command.
77
78 pathName configure ?option? ?value option value ...?
79 Query or modify the configuration options of the widget. If no
80 option is specified, returns a list describing all of the avail‐
81 able options for pathName (see Tk_ConfigureInfo for information
82 on the format of this list). If option is specified with no
83 value, then the command returns a list describing the one named
84 option (this list will be identical to the corresponding sublist
85 of the value returned if no option is specified). If one or
86 more option-value pairs are specified, then the command modifies
87 the given widget option(s) to have the given value(s); in this
88 case the command returns an empty string. Option may have any of
89 the values accepted by the tixStdButtonBox command.
90
91 pathName invoke buttonName
92 Invoke the button subwidget with the name buttonName.
93
94 pathName subwidget name ?args?
95 When no additional arguments are given, returns the pathname of
96 the subwidget of the specified name.
97
98 When no additional arguments are given, the widget command of the spec‐
99 ified subwidget will be called with these parameters.
100
102 TixStdButtonBox widgets have no default bindings. The button subwidgets
103 retain their default Tk bindings.
104
106 Tix(n), Container Widgets
107
108
109
110
111
112
113Tix 4.0 tixStdButtonBox(n)