widget_toolbar(n) widget::toolbar Megawidget widget_toolbar(n)


widget_toolbar - widget::toolbar Megawidget

package require Tcl 8.4

package require Tk 8.4

package require widget ?3.0?

package require widget::toolbar ?1.0?

widget::toolbar pathname ?options?

getframe

add ?item? ?args?

delete item1 ?item2? ?...?

itemcget symbol option

itemconfigure symbol ?args?

items ?pattern?

remove ?-destroy? item1 ?item2? ?...?


This package provides a toolbar megawidget (snidget). It makes use of the Tile/Ttk themed widget set.

package require widget::toolbar ; # or widget::all
set t [widget::toolbar .t]
pack $t -fill x -expand 1
$t add button [button .b -text foo]
$t add separator -pad {2 4}
$t add button [button .c -text bar]

megawidget, snit, widget

3.0 widget