1widget_toolbar(n) widget::toolbar Megawidget widget_toolbar(n)
2
3
4
5______________________________________________________________________________
6
8 widget_toolbar - widget::toolbar Megawidget
9
11 package require Tcl 8.4
12
13 package require Tk 8.4
14
15 package require widget ?3.0?
16
17 package require widget::toolbar ?1.0?
18
19 widget::toolbar pathname ?options?
20
21 getframe
22
23 add ?item? ?args?
24
25 delete item1 ?item2? ?...?
26
27 itemcget symbol option
28
29 itemconfigure symbol ?args?
30
31 items ?pattern?
32
33 remove ?-destroy? item1 ?item2? ?...?
34
35______________________________________________________________________________
36
38 This package provides a toolbar megawidget (snidget). It makes use of
39 the Tile/Ttk themed widget set.
40
41 widget::toolbar pathname ?options?
42
43 getframe
44
45 add ?item? ?args?
46
47 delete item1 ?item2? ?...?
48
49 itemcget symbol option
50
51 itemconfigure symbol ?args?
52
53 items ?pattern?
54
55 remove ?-destroy? item1 ?item2? ?...?
56
58 -ipad
59
60 -pad
61
62 -separator
63
65 -pad
66
67 -separator
68
69 -sticky
70
71 -weight
72
74 package require widget::toolbar ; # or widget::all
75 set t [widget::toolbar .t]
76 pack $t -fill x -expand 1
77 $t add button [button .b -text foo]
78 $t add separator -pad {2 4}
79 $t add button [button .c -text bar]
80
81
83 megawidget, snit, widget
84
85
86
87widget 3.0 widget_toolbar(n)