$dockpanels » History » Version 5
Per Amundsen, 08/10/2015 09:20 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.4_ |
|---|---|---|---|
| 2 | |||
| 3 | *$dockpanels* |
||
| 4 | |||
| 5 | 5 | Per Amundsen | Returns [[$true]] if any dockpanel is visible except Treebar, otherwise [[$false]]. |
| 6 | 1 | Per Amundsen | |
| 7 | |||
| 8 | *$dockpanels(name)* |
||
| 9 | |||
| 10 | 5 | Per Amundsen | Returns [[$true]] if named dockpanel is visible, otherwise [[$false]]. |
| 11 | 1 | Per Amundsen | |
| 12 | *Parameters* |
||
| 13 | |||
| 14 | 2 | Per Amundsen | name - The panel name to check. (Server, Channel, Private, Url, Notify, Dcc, Highlight or Treebar) |
| 15 | 3 | Per Amundsen | |
| 16 | *Properties* |
||
| 17 | |||
| 18 | .wid - Returns the window id of the panel if any. |
||
| 19 | 4 | Per Amundsen | |
| 20 | *Example* |
||
| 21 | |||
| 22 | <pre> |
||
| 23 | ; Display information about the highlight panels. |
||
| 24 | //echo -ag Higlight is $iif($dockpanels(Highlight), Visible, Hidden) |
||
| 25 | |||
| 26 | ; Hide the highlights dockpanel if it's in a window. |
||
| 27 | //window -h @ $+ $dockpanels(Highlight).wid |
||
| 28 | </pre> |