Programmer Guide/Shell Items/Display/Introducing Display Items: Difference between revisions
From STX Wiki
< Programmer Guide | Shell Items | Display
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
[[File:menu_bar.png]] | [[File:menu_bar.png]] | ||
== Menu bars == | |||
There are two types of menus supported by {{STX}}: | There are two types of menus supported by {{STX}}: | ||
Line 10: | Line 10: | ||
* a menu bar displayed at the top of a window and accessed with the mouse or an ALT+KEY combination. | * a menu bar displayed at the top of a window and accessed with the mouse or an ALT+KEY combination. | ||
* a context menu, displayed when the user clicks the right-hand mouse button and tailored to the current context. | * a context menu, displayed when the user clicks the right-hand mouse button and tailored to the current context. | ||
Note that menus are also called 'popups' in {{STX}}. Hence the commands are <code>ADDPOPUP</code> and <code>[[Programmer Guide/Shell Items/Display/Toolbars|DELETEPOPUP]]</code> etc. | Note that menus are also called 'popups' in {{STX}}. Hence the commands are <code>ADDPOPUP</code> and <code>[[Programmer Guide/Shell Items/Display/Toolbars|DELETEPOPUP]]</code> etc. | ||
==Default Graph Settings=== | |||
The display item also defines the default graph settings used to initialize all new graphs. | The display item also defines the default graph settings used to initialize all new graphs. |
Revision as of 12:31, 6 November 2012
STx display items can display one dialog item and one or more graph items. Display items can also display menu bars like this:
Menu bars
There are two types of menus supported by STx:
- a menu bar displayed at the top of a window and accessed with the mouse or an ALT+KEY combination.
- a context menu, displayed when the user clicks the right-hand mouse button and tailored to the current context.
Note that menus are also called 'popups' in STx. Hence the commands are ADDPOPUP
and DELETEPOPUP
etc.
Default Graph Settings=
The display item also defines the default graph settings used to initialize all new graphs.