File 'gui/gPopupMenu.cls' (part of 'Pool_GuiBase')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Class 'genericPopupMenu'
- -command
- Script to execute upon invocation of a menu entry
InvokeEntry (command)
|
|
Argument: command
|
Symbolic name of the invoked entry.
|
addEntries (spec)
|
|
Argument: spec
|
A list suitable for usage with 'array set'. The first item of each pair is the command code to give to the external script (command) upon invocation of the entry. It serves as symbolic name of the entry too. The 2nd item in each pair is the string to display in the entry. A command of '-' indicates a separator line. The display string is ignored in this case, but has to be present nevertheless. A command name has to be unique over all menubuttons added to a menubar.
|
addEntry (command underline name)
|
|
Argument: command
|
Symbolic name of command associated to the entry
|
Argument: underline (= -1)
|
Index of the character in name to underline.
|
Argument: name (= {})
|
String to display in the new entry. The special value '-' forces generation of a separator line.
|
associate (w cmd)
|
|
Argument: w
|
Path to the widget to add the menu to.
|
Argument: cmd
|
Script to invoke upon activation of a menu entry. Changes command.
|
entryconfigure (command args)
|
|
Argument: command
|
Symbolic name of the command to operate on.
|
Argument: args
|
List of option, value pairs.
|
show (x y)
|
|
Argument: x
|
Place to show the menu at, relative to the rootwindow of the display.
|
Argument: y
|
Place to show the menu at, relative to the rootwindow of the display.
|
showRelative (w x y)
|
|
Argument: w
|
Path to widget used as root of the coordinates.
|
Argument: x
|
Place to show the menu at, relative to widget w.
|
Argument: y
|
Place to show the menu at, relative to widget w.
|
width ()
|
Returns: Retrieve the width of the menu.
|
- entries
- Number of entries added so far.
initial value: 0
- entry
- Mapping from symbolic names to menu entries
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries