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

From STX Wiki
Jump to navigationJump to search
Line 11: Line 11:
* 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 [[Programmer_Guide/Shell_Items/Display/SET_DISPLAY#ADDPOPUP|<code>ADDPOPUP</code>]], <code>[[Programmer Guide/Shell Items/Display/Toolbars|DELETEPOPUP]]</code> and so on.
Note that menus are also called [[Programmer_Guide/Shell_Items/Display/SET_DISPLAY#Popup_Menus|''popups'']] in {{STX}}. Hence the commands are [[Programmer_Guide/Shell_Items/Display/SET_DISPLAY#ADDPOPUP|<code>ADDPOPUP</code>]], <code>[[Programmer Guide/Shell Items/Display/Toolbars|DELETEPOPUP]]</code> and so on.


==Default Graph Settings==
==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:36, 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

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, DELETEPOPUP and so on.

Default Graph Settings

The display item also defines the default graph settings used to initialize all new graphs.

Navigation menu

Personal tools