widget_toolbar3tk
Toolbar megawidget
Usage
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? ?...?
Overview
This package provides a toolbar megawidget (snidget). It makes use of the Tile/Ttk themed widget set.
widget::toolbarpathname ?options?
- getframe
- add ?item? ?args?
- delete item1 ?item2? ?...?
- itemcget symbol option
- itemconfigure symbol ?args?
- items ?pattern?
- remove ?-destroy? item1 ?item2? ?...?
Options
-
-ipad
-
-pad
-
-separator
Options
-
-pad
-
-separator
-
-sticky
-
-weight
Examples
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]
Bugs, ideas, feedback
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category widget::toolbar of the Tklib Trackers [http://core.tcl.tk/tklib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation.
Keywords
megawidget, snit, toolbar, widget
Category
Widget
Releases
9 releases since Debian 5.0 (Lenny); the text changed 5 times.