![]() Namespace support for all callback commands so callback commands can be easily.A simplified and uniform interface for all callback commands.Support for user defined tags that depend on the toplevel window context.A tagging system that simplifies access to menu entries in the menu tree. ![]() The menubar class provides many unique capabilities that are not found in other tcl/tk Installed in one or more toplevel windows. Menubar is then compiled by an instance of the menubar class after which it can be Language that results in a human readable description of a menubar. Menubar, configuring menu items and installing the menubar in toplevel windows.Ī menubar can be thought of as a tree of cascading menus. These options are inherited from the Tk menu command, their effect is platform specific.Īn instance of the menubar class provides methods for compiling a description of the The following options can be passed to the menubar new command. PathName argument because menubars are handled by the window manager (i.e. Unlike other Tk widget commands, the menubar command doesn't have a Widget framework and therefore can be used with or without a framework (e.g. The menubar class encapsulates theĭefinition, installation and dynamic behavior of a menubar. option value? mBarInst rialize tag mBarInst serialize tag stream mBarInst notebook.addTabStore pathname mBarInst leteTabStore pathname mBarInst tTabValue pathname tag mBarInst notebook.restoreTabValues pathnameĬreate and return a new instance of the menubar class. option value? mBarInst tag.cget pathName tag ?option? mBarInst group.add tag label ?cmd?accel?sequence?state? mBarInst lete tag label mBarInst group.move direction tag label mBarInst nfigure tag label ?option value. ? mBarInst menu.namespace tag namespace mBarInst menu.hide tag mBarInst menu.show tag mBarInst tag.add tag value mBarInst tag.configure pathName tag ?option value. MBarInst define body mBarInst install pathName body mBarInst nfigure option tag-settings ?option tag-settings. Package require menubar ?0.5? menubar new ?options? Menubar - Creates an instance of the menubar Class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |