[ Main table Of Contents | Tklib Table Of Contents | Tklib Index ]

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

Name

widget_toolbar - widget::toolbar Megawidget

Table Of Contents

Synopsis

Description

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

widget::toolbar pathname ?options?
getframe
add ?item? ?args?
delete item1 ?item2? ?...?
itemcget symbol option
itemconfigure symbol ?args?
items ?pattern?
remove ?-destroy? item1 ?item2? ?...?

WIDGET OPTIONS

-ipad
-pad
-separator

ITEM OPTIONS

-pad
-separator
-sticky
-weight

EXAMPLE

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]

Keywords

megawidget, snit, widget

Copyright © 2009 for compilation: ActiveState