Project

General

Profile

$window » History » Version 31

Mr. BS, 03/07/2017 02:31 AM

1 26 Mr. BS
{{css
2 29 Mr. BS
.ktable{width:99%}.wiki table td:nth-child(1){width:130px}.ktable tr:not(:first-child):hover{background-color:#ffffdd}
3 26 Mr. BS
}}
4
5 30 Mr. BS
{{js_url('//cdnjs.cloudflare.com/ajax/libs/sortable/0.8.0/js/sortable.min.js')}}
6
7 31 Mr. BS
{{html
8
<table id="exampleTable" class="sortable" data-sortable="" data-sortable-initialized="true">
9
<thead>
10
<tr>
11
<th data-sortable="false" data-sorted="false"></th>
12
<th data-sorted="true" data-sorted-direction="ascending">Theme</th>
13
<th data-sorted="false">Class name</th>
14
<th data-sorted="false"></th>
15
</tr>
16
</thead>
17
<tbody>
18
<tr><td>1</td><td data-value="0">Minimal</td><td>(No class name necessary)</td><td><a href="" data-theme="sortable-theme-default">Preview</a></td></tr><tr><td>2</td><td data-value="1">Light</td><td>sortable-theme-light</td><td><a href="" data-theme="sortable-theme-light">Preview</a></td></tr><tr><td>3</td><td data-value="2">Dark</td><td>sortable-theme-dark</td><td><a href="" data-theme="sortable-theme-dark">Preview</a></td></tr><tr><td>4</td><td data-value="3">Bootstrap</td><td>sortable-bootstrap</td><td><a href="" data-theme="sortable-theme-bootstrap">Preview</a></td></tr><tr><td>5</td><td data-value="4">Slick</td><td>sortable-theme-slick</td><td><a href="" data-theme="sortable-theme-flat-slick">Preview</a></td></tr><tr><td>6</td><td data-value="5">Finder</td><td>sortable-theme-finder</td><td><a href="" data-theme="sortable-theme-finder">Preview</a></td></tr></tbody>
19
</table>
20
}}
21
22 1 Per Amundsen
_Added in 1.9.0_
23
24 8 Per Amundsen
*$window(N/@name/@wildcard, M)*
25 1 Per Amundsen
26
Returns properties for a window.
27 3 Per Amundsen
28 1 Per Amundsen
*Parameters*
29 31 Mr. BS
30
table(sortable-theme-default).
31
|_<.Parameter|_<.Description|
32
| N/@name/@wildcard | Name of the window or the Nth window. (@wildcard is also possible if M is defined) |
33
| M | The Nth @wildcard match. (optional) |
34
| If N is -1 | returns properties for the desktop area. |
35
| If N is -2 | returns properties for the AdiIRC main window. |
36
| If N is -3 | returns properties for the MDI client area of the main window. |
37 1 Per Amundsen
38 30 Mr. BS
table(ktable sortable).
39 29 Mr. BS
|_<.Parameter|_<.Description|
40 26 Mr. BS
| N/@name/@wildcard | Name of the window or the Nth window. (@wildcard is also possible if M is defined) |
41
| M | The Nth @wildcard match. (optional) |
42
| If N is -1 | returns properties for the desktop area. |
43
| If N is -2 | returns properties for the AdiIRC main window. |
44
| If N is -3 | returns properties for the MDI client area of the main window. |
45 1 Per Amundsen
46
*Properties*
47
48 30 Mr. BS
table(ktable sortable).
49 29 Mr. BS
|_<.Propertie|_<.Description|
50 26 Mr. BS
| .x | Horizontal position of the window relative to the mainform. |
51
| .y | Vertical position of the window relative to the mainform. |
52
| .w | Window width. |
53
| .h | Window height. |
54
| .dx | Horizontal position of the window relative to the desktop. |
55
| .dy | Vertical position of the window relative to the desktop. |
56
| .dw | Width of the text display area. |
57
| .dh | Height of the text display area. |
58
| .bw | Width of the bitmap for a picture window. |
59
| .bh | Height of the bitmap for a picture window. |
60
| .mdi | [[$true]] if the window is a MDI window/docked, otherwise [[$false]] |
61
| .title | The text of the window Titlebar. |
62
| .state | minimized/maximized/hidden/normal. |
63
| .font | Name of the current font. |
64
| .fontsize | Size of the current font. |
65
| .fontbold | [[$true]] if the font is bold, otherwise [[$false]]. |
66
| .fontitalic | [[$true]] if the font is italic, otherwise [[$false]]. |
67
| .fontunderline | [[$true]] if the font is underline, otherwise [[$false]]. |
68
| .fontcs | returns the character set of the current font. |
69
| .logfile | Name of logfile if one is open for the window. |
70
| .historyfile | Name of the file Editbox history will be saved to. (AdiIRC only) |
71
| .iconfile | Name of the icon file used for a custom icon. (AdiIRC only) |
72
| .backgroundfile | Name of the background file used for a custom background. (AdiIRC only) |
73
| .stamp | [[$true]] if timestamp is on for this window, otherwise [[$false]]. |
74
| .icon | [[$true]] if icon is visible in Switchbar otherwise [[$false]]. |
75
| .ontop | [[$true]] if window is on top otherwise [[$false]]. |
76
| .type | Window type, channel/status/query/custom/chat/tool/panel. |
77
| .anysc | [[$true]] if the window was created with the [[/window]] -i parameter, otherwise [[$false]]. |
78
| .wid | Window id. |
79
| .cid | Connection id. |
80
| .hwnd | Window handle. |
81
| .sbtext | Switchbar button text for this window. |
82
| .sbcolor | Switchbar color event event/message/highlight for this window. |
83
| .sbstate | Switchbar button state (1 = visible, 0 = not visible) for this window. |
84
| .tbtext | Treebar text for this window. |
85
| .tbstate | Treebar state (1 = visible, 0 = not visible) for this window. |
86
| .lb | Nicklist state (2 = visible, 0 = not visible) for this window. |
87
| .topicbox | Topicbox state (2 = Show sticky, 1 = show, 2 = off) for this window. (AdiIRC only) |
88
| .idle | idle state. |
89
| .isbottom | [[$true]] if the textarea is scrolled to the bottom, otherwise [[$false]]. (AdiIRC only) |
90
| .unread | Returns number of unread messages. (this include system messages, use .sbcolor to check the type, AdiIRC only) |
91
| .layer | Returns the window [[/setlayer|layer]]. (AdiIRC only) |
92
| .mscrollpos | Returns the current scrollbar position for the message area. (AdiIRC only) |
93
| .mscrollmax | Returns the max scrollbar position for the message area. (AdiIRC only) |
94 27 Per Amundsen
| .collapsed | Returns [[$true]] if the associated Status Window is collapsed in the Treebar, otherwise [[$false]]. (AdiIRC only) |