Window » History » Revision 1
Revision 1/55
| Next »
Per Amundsen, 02/15/2014 05:03 AM
Added in 1.9.0
/window [-abBcCde[N]fg[N]hHij[N]k[N]l[N]mMn[N]oprRsSuvw[N]xz] [-tN,..,N] [+bdeflLmnstx] <@name> [x y [w h]] [/command] [popup.txt] [font [size]] [iconfile [N]]
Switches
Option Switches
-a - Set as the active window.
-b - TODO
-B - Prevent window from using an internal border.
-c - Close window.
-C - Center window.
-d - Create desktop window instead of child.
-e[N] - Enable editbox; 0 = single, 1 = multi, 2 = auto, 3 = default.
-f - Makes the w h the required width and height of the text display area. (instead of the window size)
-g[N] - TODO
-h - hide window.
-H - TODO
-i - TODO
-k[N] - Hides the @ prefix; 0 = hide, 1 = show.
-l[N] - TODO
-m - Enable line marker in the window.
-M - TODO
-n[N] - TODO
-o - Stop ontop. (used with -d)
-p - Creates a picture windows.
-r - TODO
-R - TODO
-s - TODO
-S - TODO
-u - TODO
-v - TODO
-w[N] - Show/hide window from treebar or switchbar; 0 = hide from both, 1 = show in switchbar, 2 = show in switchbar, 3 = show in both
-x - TODO
-z[N] - TODO
Tab Switches
-tN,..,N - TODO
Appearance Switches
+b - Border.
+d - No border.
+e - 3d Edge.
+f - Dialog frame.
+l - Tool window.
+L - Tool window. (hide from taskbar)
+n - Minimize window.
+s - TODO
+t - Titlebar.
+x - Maximize window.
Parameters
<@name> - Window name.
x y [w h] - Left top [width height] - position and size of window. (A -1 value for any of the parameters means use default (or existing) value).
/command - Default command.
popup.txt - Popup filename, must be plane text file. TODO
font [size] - Font name [font size].
iconfile [N] - Sets a custom titlebar icon for the window [index]. (Iconindex TODO)
Êxample
alias example1 { ;Create a desktop + picture window, Coordinates: (250,250), size 300x300. /window -dep @Example 250 250 300 300 ;Color it color 3. (default green) /drawfill @Example 3 3 1 1 100 100 ;Draw text "Hello There!". /drawtext @Example 1 Arial 30 50 100 Hello There! }
Updated by Per Amundsen almost 11 years ago · 1 revisions