$dockpanels » History » Revision 9
Revision 8 (Per Amundsen, 04/11/2022 01:23 PM) → Revision 9/18 (Per Amundsen, 04/11/2022 02:08 PM)
_Added in 1.9.4_ *$dockpanels* Returns [[$true]] if any dockpanel is visible except Treebar, otherwise [[$false]]. _See also [[Monitor Panels]]._ *$dockpanels(name|@window)* *$dockpanels(name)* Returns [[$true]] if named dockpanel is visible, otherwise [[$false]]. *Parameters* name|@window name - The panel name or @window to check. (Server, Channel, Private, Url, Notify, Dcc, Highlight, Nicklist or Treebar) *Properties* .side - Returns the docked panel side. (left/right/top/bottom) .container - Returns the container position for the panel. .panel - Returns the panel position. .tab - Returns the tab position for the panel. .name - Returns the name of the window/docked panel. .locked - Returns [[$true]] if the docked panel is locked, otherwise [[$false]]. .pinned - Returns [[$true]] if the docked panel is pinned, otherwise [[$false]]. .visible - Returns [[$true]] if the docked panel is visible, otherwise [[$false]]. .w - Returns the docked panel width. .h - Returns the docked panel height. .wid - Returns the window id of the panel if any. *Example* <pre> ; Display information about the highlight panels. //echo -ag Higlight is $iif($dockpanels(Highlight), Visible, Hidden) ; Hide the highlights dockpanel if it's in a window. //window -h @ $+ $dockpanels(Highlight).wid </pre> _Added in 4.3_ *$dockpanels(side, [container], [panel], [tab])* Returns the number of containers/panels/tabs docked in [[Monitor Panels]] or information about docked panels/windows. _See also [[Monitor Panels]], [[/dock]]._ *Parameters* side - The dock side to list. (left/right/top/bottom) [container] - The Nth container to list. [panel] - The Nth panel to list. [tab] - The Nth tab to list. *Properties* .side - Returns the docked panel side. (left/right/top/bottom) .container - Returns the container position for the panel. .panel - Returns the panel position. .tab - Returns the tab position for the panel. .name - Returns the name of the window/docked panel. .locked - Returns [[$true]] if the docked panel is locked, otherwise [[$false]]. .pinned - Returns [[$true]] if the docked panel is pinned, otherwise [[$false]]. .visible - Returns [[$true]] if the docked panel is visible, otherwise [[$false]]. .w - Returns the docked panel width. .h - Returns the docked panel height. *Example* <pre> </pre>