User Tools

Site Tools


macros:identifier:windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:identifier:windows [2018/08/25 14:35] – created icke_siegenmacros:identifier:windows [2018/08/25 15:10] (current) – external edit 127.0.0.1
Line 3: Line 3:
 ====== Windows ====== ====== Windows ======
  
-Titan has a number of workspace windows. Some are available only in a certain context, others can be opened almost anywhere. Also, the various windows may have different options and properties. Here is a list of the various windows, identified by the respective windowId:+Titan has a number of workspace windows. Some are available only in a certain context, others can be opened almost anywhere.  
 + 
 +All windows have these attributes (any attributes are written in double quotes, even a numeric type): 
 + 
 +| stackId | [[macros:type:string]], identifies the stack - always "mainWindowStack"
 +| windowId | [[macros:type:string]], identifies the window, see below | 
 +| x | [[macros:type:float]], the window's x position (left) | 
 +| y | [[macros:type:float]], the window's y position (top) | 
 +| width | [[macros:type:float]], the window's width | 
 +| height | [[macros:type:float]], the window's height | 
 +| maximised | [[macros:type:boolean]], whether this window is maximised | 
 +| regionId | [[macros:type:enum]], on which display the window is shown (currently everything is "primary"
 +| open | [[macros:type:boolean]], whether this window is shown | 
 + 
 +The full workspace canvas has a dimension of 2 x 2, and is divided into 12 x 8 tiles. Hence, each x part is 2/12 = 0.166, and each y part is 2/8 = 0.25. 
 + 
 +Example: 
 +<code xml> 
 +<workspaceWindow stackId="mainWindowStack" windowId="Windows.Groups"  
 +    x="0" y="0" width="1" height="0.5"  
 +    maximised="False" regionId="primary" open="True"> 
 +</code> 
 + 
 +Each window has at least one element: scroll. 
 +<code xml> 
 +<scroll verticalScrollOffset="0" horizontalScrollOffset="0" /> 
 +</code> 
 + 
 +Additionally, the various windows may have different more child elements. For a detailled example of how windows can be opened see [[macros:example:createworkspaces]]. 
 + 
 +Here is a list of the various windows, identified by the respective windowId:
  
  
macros/identifier/windows.1535207754.txt.gz · Last modified: 2018/08/25 14:35 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki