![]() |
![]()
| ![]() |
![]()
NAMETk::DockFrame - A multicolumn list widget with sortable & sizeable columns SYNOPSISuse Tk::DockFrame; $DockPort = $parent->DockPort(); $DockPort->pack(); $DockFrame = $parent->DockFrame ( '-dock' => $DockPort, '-trimcount' => 1, '-sensitivity' => 10, '-decorate' => 0, '-trimgap' => 2 ); $DockFrame->Widget (...)->pack(); ... Tk::MainLoop; DESCRIPTIONThe two public classes in this module combine to implement a dockable widget subsystem. Objects of class DockFrame are simple frames which can be made to "float" free as Toplevel widgets or packed as Frames. Dockframes can have any number of direct children but the favored use is to pack a single Frame based child widget and add widgets to that using any geometry manager. DockPorts are simple frame widgets which must be managed by the packer. They normally have no width or height and are thus rendered invisible. DockFrame children of the same parentage, when dragged over them, will be converted from "floating" Toplevels into Frame widgets rendered within the DockPort, resizing it accordingly.
STANDARD OPTIONSSee Tk for details of the standard options. WIDGET-SPECIFIC OPTIONS
WIDGET METHODS
BINDINGS
AUTHORSDamion K. Wilson, dwilson@ibl.bm, http://pwp.ibl.bm/~dkw COPYRIGHTCopyright (c) 1999 Damion K. Wilson. All rights reserved. This program is free software, you may redistribute it and/or modify it under the same terms as Perl itself. HISTORYPOD ERRORSHey! The above document had some coding errors, which are explained below:
|