The <window> tag creates a new window containing a component. When a window created by the <window> tag is closed or minimized, a button appears at the bottom of the main panel that can be used to restore the window.
The window created by the <window> tag is a sub-dialog of the main OBO-Edit window. This means that it will always appear in front of the OBO-Edit window on most platforms. On some windowing systems with multiple desktops (like KDE), if the OBO-Edit window is moved to a new desktop, any subwindows will move as well.
<window> tags should be placed at the top level of the layout.
Name | Description | Legal Values | Default |
title |
The window title. This attribute may contain backtick expressions . |
any text |
none |
width |
The default window width, in pixels. This attribute may contain backtick expressions . |
any positive integer | 300 |
height |
The default window height, in pixels. This attribute may contain backtick expressions . |
any positive integer | 300 |
startminimized |
Whether the window starts out minimized. This attribute may contain backtick expressions . |
TRUE FALSE |
FALSE |
Also see common parameters .
The window tag contains a single component to place inside the window.
<xmllayout>
<window title="`if (GUI.getSubSelection() == null) 'No selection'; else GUI.getSubSelection().getName();`">
<component id="plugin:org.geneontology.oboedit.plugin.DAGView"/>
</window>
<divider orientation="HORZ">
<first>
<component id="DAG" width="300"/>
</first>
<second>
<component id="TEXTEDIT" width="320"/>
</second>
</divider>
</xmllayout>