Showing posts with label Tkinter Menus. Show all posts
Showing posts with label Tkinter Menus. Show all posts

Thursday, August 23, 2012

Tkinter Dockable Toolbar Demo

This code is based on the Tcl toolbar.tcl demo. It demonstrates the creation of toolbar which can be torn-off,  and restored to, the main application window.


Wednesday, August 22, 2012

Tkinter Menubutton Demo

This code is based on the Tcl menubu.tcl demo. It demonstrates the use of ttk.Menubutton as well as ttk.OptionMenu.  The button labels refer to the positions of the popup-menus and not the position of the budget within the window.



Tuesday, August 21, 2012

Tkinter Menu Demo

This code is based on the Tcl menu.tcl demo. It demonstrates creating top level, cascading menus some of which include icons, radio and check buttons, as well as short-cut keys and accelerator keys. Only the Colors menu is implemented as a tear-off; a menu that can be opened as a separate window.