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