Window » History » Version 14
Per Amundsen, 01/02/2015 02:19 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 13 | Per Amundsen | */window [-abBcCde[N]fg[N]hHij[N]k[N]l[N]mMn[N]opq[N]rRsSuvw[N]xz] [-tN,..,N] [+bdeflLmnstx] <@name> [x y [w h]] [/command] [popup.txt] [font [size]] [iconfile [N]]* |
4 | 1 | Per Amundsen | |
5 | *Switches* |
||
6 | |||
7 | Option Switches |
||
8 | |||
9 | -a - Set as the active window. |
||
10 | -b - TODO |
||
11 | -B - Prevent window from using an internal border. |
||
12 | -c - Close window. |
||
13 | -C - Center window. |
||
14 | -d - Create desktop window instead of child. |
||
15 | -e[N] - Enable editbox; 0 = single, 1 = multi, 2 = auto, 3 = default. |
||
16 | -f - Makes the w h the required width and height of the text display area. (instead of the window size) |
||
17 | 5 | Per Amundsen | -g[N] - Sets/removes window button color, 0 = normal color, 1 = message color, 2 = highlight color, 3 = system color. |
18 | 2 | Per Amundsen | -h - Hide window. |
19 | 12 | Per Amundsen | -H - Enables auto-hide for a side-listbox. |
20 | 10 | Per Amundsen | -i - Dynamically associate with whatever happens to be the active connection. |
21 | 5 | Per Amundsen | -j[N] - Sets buffer size to N lines. |
22 | -k[N] - Hides the @ prefix in the window name, 0 = hide prefix, 1 = show prefix. |
||
23 | 11 | Per Amundsen | -l[N] - Add listbox, if N is specified then a side-listbox N characters wide is created. |
24 | 1 | Per Amundsen | -m - Enable line marker in the window. |
25 | -M - TODO |
||
26 | -n[N] - Minimize window ([N] = TODO) |
||
27 | -o - Stop ontop. (used with -d) |
||
28 | -p - Creates a picture windows. |
||
29 | 13 | Per Amundsen | -q[N] - If N is 0 hides the nick column, if N is 1 shows the nick column. _AdiIRC only_ |
30 | 14 | Per Amundsen | -Q[N] - If N is 0 docks the window, if N is 1 undocks the window. _AdiIRC only_ |
31 | 5 | Per Amundsen | -r - Restore window. |
32 | 1 | Per Amundsen | -R - TODO |
33 | 11 | Per Amundsen | -s - Sort the main window, whether text or listbox. (only listbox for now) |
34 | -S - Sort the side-listbox. |
||
35 | 5 | Per Amundsen | -u - Remove ontop setting of a desktop window. |
36 | 9 | Per Amundsen | -v - Close window when associated status window is closed. |
37 | 1 | Per Amundsen | -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 |
38 | 2 | Per Amundsen | -x - Maximize window |
39 | 6 | Per Amundsen | -z[N] - if N = 1, places window button at end of switchbar/Treebar, if N = 0, restores original place. (Default is 1) |
40 | 1 | Per Amundsen | |
41 | Tab Switches |
||
42 | |||
43 | -tN,..,N - TODO |
||
44 | |||
45 | Appearance Switches |
||
46 | |||
47 | +b - Border. |
||
48 | +d - No border. |
||
49 | +e - 3d Edge. |
||
50 | +f - Dialog frame. |
||
51 | +l - Tool window. |
||
52 | +L - Tool window. (hide from taskbar) |
||
53 | +n - Minimize window. |
||
54 | 8 | Per Amundsen | +s - Sizeable (hide titlebar?) |
55 | 1 | Per Amundsen | +t - Titlebar. |
56 | +x - Maximize window. |
||
57 | |||
58 | *Parameters* |
||
59 | |||
60 | <@name> - Window name. |
||
61 | 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). |
||
62 | /command - Default command. |
||
63 | popup.txt - Popup filename, must be plane text file. TODO |
||
64 | font [size] - Font name [font size]. |
||
65 | iconfile [N] - Sets a custom titlebar icon for the window [index]. (Iconindex TODO) |
||
66 | |||
67 | *Êxample* |
||
68 | |||
69 | <pre> |
||
70 | alias example1 { |
||
71 | ;Create a desktop + picture window, Coordinates: (250,250), size 300x300. |
||
72 | /window -dep @Example 250 250 300 300 |
||
73 | |||
74 | ;Color it color 3. (default green) |
||
75 | /drawfill @Example 3 3 1 1 100 100 |
||
76 | |||
77 | ;Draw text "Hello There!". |
||
78 | /drawtext @Example 1 Arial 30 50 100 Hello There! |
||
79 | } |
||
80 | </pre> |