Menu Keys Class Reference (PyVrMenuKeys) Python VrMenuKeys Class More... This clas displays a standard menu keys dialog. The dialog can be customized and a callback function can be used to respond to the user pressing buttons on the menu keys dialog. This class can be used along with the PyVrApp class to create full event-driven applications in VrOne.
Member Function Documentation PyVrMenuKeys (Title, NumLines)
Class constructor.
Sets title of dialog box.
Sets a label on a single menu key button.
Enables a single menu key button.
Disables a single menu key button.
SetMkLabels (Title, Key1, Key2, Key3, Key4, Key5, Key6, Key7, Key8, Key9, Key10, Key0, Key11) Sets all menu key button labels.
Saves menu key labels onto a stack. May be called multiple times. Use PopMk to restore menu keys that have been stored using PushMk. Restores last menu keys labels that were stored using PushMk. Sets a single line label at top of Menu Keys dialog.
SetIaLabel2 (LineNum, Keyword, Arg) Sets a single line label at top of Menu Keys dialog in a keyword-argument format using a short argument.
SetIaLabel3 (LineNum, Keyword, Arg) Sets a single line label at the top of Menu Keys dialog in a keyword-argument format using an int argument.
SetIaLabel4 (LineNum, Keyword, Arg, DecAccur)
SetIaLabel5 (LineNum, Keyword, Arg)
SetIaLabel6 (LineNum, Keyword, Index, Lab0,...) Sets a line of text in the Information Area using and index and a list of possible strings for that index.
Clears information area labels. Hides menu keys dialog. Shows menu keys dialog. Raises menu keys dialog to the top of other dialogs. Shows information about a VrLine in the information area.
Shows point count information for one VrLine in the information area.
ShowPntNum (PntNum, Line, PntCnt) Shows point number and point count information for one VrLine in the information area.
Shows point flags information for one VrLine in the information area.
Shows information about a VrSymbol in the information area.
Shows information about a VrText in the information area.
Shosw justification information about a VrText in the information area.
Shows workspace number in the information area.
Shows entity number the information area.
Sets Python callback function to be called when a menu key is pressed.
|