# dockwindow class A window dockable to the KVIrc main frame
Inherits
object widget
Description
A window dockable to the KVIrc main frame borders (like a toolbar).
Functions
`$addWidget(<widget:hobject>)`
Adds <widget> to the internal layout of this dock window. The widget must be a child of this dock window (otherwise strange things may happen).
`$setAllowedDockAreas(<docks:string>)`
Sets the allowed main window dock areas for this dock window. <docks> must be a combination of "l","r","t","b","f" and "m". "l" stands for left dock area, "r" stands for right dock area, "t" stands for the top dock areas, "b" stands for the bottom dock area, "f" stands for "floating" and "m" for "minimized". If a flag is present then the related block area is enabled,otherwise it is disabled.
`$dock(<dockarea:string>)`
Docks this dock window to the specified dockarea of the main KVIrc window which can be one of "l" (left dock area), "t" (top dock area), "r" (right dock area), "b" (bottom dock area), "f" (floating) and "m" (minimized).

Index, Object Classes

KVIrc 4.2.0.6190 Documentation
Generated by builduser at Mon Mar 13 18:15:52 2017