Programmer Guide/Shell Items/Display/DISPLAY Item Attributes: Difference between revisions
From STX Wiki
< Programmer Guide | Shell Items | Display
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
{| | {| | ||
|- | |- class="keinrahmen" | ||
! Attribute | |||
! Argument | |||
! Value(s) and Description | |||
|- | |- | ||
|!MODE | |!MODE | ||
| | | N/A | ||
|NOWINDOW<nowiki>|</nowiki>HIDDEN|VISIBLE|ENABLEDmode of the display window | |NOWINDOW<nowiki>|</nowiki>HIDDEN|VISIBLE|ENABLEDmode of the display window | ||
|- | |- | ||
|!STYLE | |!STYLE | ||
| | | N/A | ||
|NOWINDOW<nowiki>|</nowiki>MINIMIZED|RESTORED|MAXIMIZEDstyle of the display window | |NOWINDOW<nowiki>|</nowiki>MINIMIZED|RESTORED|MAXIMIZEDstyle of the display window | ||
|- | |- | ||
|!WINDOW | |!WINDOW | ||
| | | N/A | ||
|xpos ypos width heightposition (upper left corner) and size of the display window in pixels | |xpos ypos width heightposition (upper left corner) and size of the display window in pixels | ||
|- | |- | ||
|!TITLE | |!TITLE | ||
| | | N/A | ||
|titletitle (caption) of the display window | |titletitle (caption) of the display window | ||
|- | |- | ||
|!NROWS | |!NROWS | ||
| | | N/A | ||
|number_of_rowsnumber of rows for graphs | |number_of_rowsnumber of rows for graphs | ||
|- | |- | ||
|!NCOLS | |!NCOLS | ||
| | | N/A | ||
|number_of_cols0 number_of_cols1 ...number of colums (1 or 2) per row | |number_of_cols0 number_of_cols1 ...number of colums (1 or 2) per row | ||
|- | |- | ||
|!HROWS | |!HROWS | ||
| | | N/A | ||
|height_of_row0 height_of_row1 ...the current relative row height (sum = 1) | |height_of_row0 height_of_row1 ...the current relative row height (sum = 1) | ||
|- | |- | ||
Line 41: | Line 39: | ||
|- | |- | ||
|!GRAPHS | |!GRAPHS | ||
| | | N/A | ||
|number_of_attached_graphsnumber of graph items attached to the display | |number_of_attached_graphsnumber of graph items attached to the display | ||
|- | |- | ||
Line 49: | Line 47: | ||
|- | |- | ||
|!ACTIVEGRAPH | |!ACTIVEGRAPH | ||
| | | N/A | ||
|name_of_active_graph_objectname of currently activated (focused) graph item | |name_of_active_graph_objectname of currently activated (focused) graph item | ||
|- | |- | ||
|!FULLSCREEN | |!FULLSCREEN | ||
| | | N/A | ||
|fullscreen_statusquery fullscreen mode flag (1=fullscreen, 0=window) | |fullscreen_statusquery fullscreen mode flag (1=fullscreen, 0=window) | ||
|- | |- | ||
|!DIALOGITEM | |!DIALOGITEM | ||
| | | N/A | ||
|name_of_dialog_objectget name of (1st) dialog item attached to the display item | |name_of_dialog_objectget name of (1st) dialog item attached to the display item | ||
|- | |- | ||
|!DIALOGMODE | |!DIALOGMODE | ||
| | | N/A | ||
|NOWINDOW<nowiki>|</nowiki>HIDDEN|VISIBLE|ENABLEDmode of dialog-window (NOWINDOW = not created) | |NOWINDOW<nowiki>|</nowiki>HIDDEN|VISIBLE|ENABLEDmode of dialog-window (NOWINDOW = not created) | ||
|- | |- | ||
|!DIALOGALIGN | |!DIALOGALIGN | ||
| | | N/A | ||
|ABOVE<nowiki>|</nowiki>BELOW|LEFT|RIGHTposition of dialog-window | |ABOVE<nowiki>|</nowiki>BELOW|LEFT|RIGHTposition of dialog-window | ||
|- | |- | ||
|!ONTOP | |!ONTOP | ||
| | | N/A | ||
|always on top statusquery whether display is in the 'always on top' mode | |always on top statusquery whether display is in the 'always on top' mode | ||
|- | |- | ||
|!FOREGROUND | |!FOREGROUND | ||
| | | N/A | ||
|Returns '<code>1</code>' if the display is currently the foreground window. Returns '<code>0</code>' if the display is currently not the foreground window. Returns '<code>-1</code>' if the display is currently not a window. | |Returns '<code>1</code>' if the display is currently the foreground window. Returns '<code>0</code>' if the display is currently not the foreground window. Returns '<code>-1</code>' if the display is currently not a window. | ||
|} | |} |
Revision as of 15:46, 31 October 2012
Attribute | Argument | Value(s) and Description |
---|---|---|
!MODE | N/A | VISIBLE|ENABLEDmode of the display window |
!STYLE | N/A | RESTORED|MAXIMIZEDstyle of the display window |
!WINDOW | N/A | xpos ypos width heightposition (upper left corner) and size of the display window in pixels |
!TITLE | N/A | titletitle (caption) of the display window |
!NROWS | N/A | number_of_rowsnumber of rows for graphs |
!NCOLS | N/A | number_of_cols0 number_of_cols1 ...number of colums (1 or 2) per row |
!HROWS | N/A | height_of_row0 height_of_row1 ...the current relative row height (sum = 1) |
!WCOLS | width_of_col0 width_of_col1 ...the current relative position (0..1) of column splitters; a position value is only valid if the row is split. | |
!GRAPHS | N/A | number_of_attached_graphsnumber of graph items attached to the display |
!GRAPH | index | name_of_graph_object row_index col_indexget info about attached graph item identified by index (0, 1, ...) |
!ACTIVEGRAPH | N/A | name_of_active_graph_objectname of currently activated (focused) graph item |
!FULLSCREEN | N/A | fullscreen_statusquery fullscreen mode flag (1=fullscreen, 0=window) |
!DIALOGITEM | N/A | name_of_dialog_objectget name of (1st) dialog item attached to the display item |
!DIALOGMODE | N/A | VISIBLE|ENABLEDmode of dialog-window (NOWINDOW = not created) |
!DIALOGALIGN | N/A | LEFT|RIGHTposition of dialog-window |
!ONTOP | N/A | always on top statusquery whether display is in the 'always on top' mode |
!FOREGROUND | N/A | Returns '1 ' if the display is currently the foreground window. Returns '0 ' if the display is currently not the foreground window. Returns '-1 ' if the display is currently not a window.
|