Programmer Guide/Shell Items/Display/Introducing Display Items: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (Text replace - "S_TOOLS-STx" to "{{STX}}")
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==Introducing Display Items==
{{STX}} display items can display one dialog item and one or more graph items. Display items can also display menu bars like this:
{{STX}} display items can display one dialog item and one or more graph items. Display items can also display menu bars like this:
[[File:menu_bar.png]]
[[File:menu_bar.png]]


====Menus====
===Menus===


There are two types of menus supported by {{STX}}:
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 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.====Default Graph Settings====
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 13:29, 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 bar.png

Menus

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.

Navigation menu

Personal tools