logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

widget_toolbar - Toolbar Megawidget

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 TklibTrackers  [http://core.tcl.tk/tklib/reportlist].
       Please also report any ideas for enhancements you may have for either package and/or documentation.

Category

       Widget

tklib                                                  3.0                                   widget_toolbar(3tk)

Description

       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? ?...?

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]

Item Options

-pad-separator-sticky-weight

Keywords

       megawidget, snit, toolbar, widget

Name

       widget_toolbar - Toolbar Megawidget

Synopsis

       package require Tcl8.4

       package require Tk8.4

       package require widget?3.0?

       package require widget::toolbar?1.0?widget::toolbarpathname ?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

See Also