Tk::Panel - A collapsable frame with title.
use Tk; use Tk::Panel; $m = $parent->Panel( -relief => <relief of inner boundary>, -border => <border size of inner boundary> -text => <text of title> -toggle => <0|1> -state => <normal|active|disabled> -show => 1|0 ); $m->Widget()->pack();
This is a frame type object with a boundary and a title. The title can include a checkbox allowing the contents of the panel to be collapsed.
Further widgets can be created inside the Panel.
Sets the relief of inner boundary. The default is raised.
raised
Sets the relief of inner boundary.
Sets the title of the Panel.
This sets if the Panel can be collapsed via the title.
This sets the state of the check button version of the title.
This sets if the Panel is expanded or collapsed.
See Tk for Perl/Tk documentation.
Anthony R Fletcher, <a r i f 'a-t' c p a n . o r g>
Copyright (C) 1998-2014 by Anthony R Fletcher. All rights reserved. Please retain my name on any bits taken from this code. This code is supplied as-is - use at your own risk.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.16.3 or, at your option, any later version of Perl 5 you may have available.
To install Tk::Month, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::Month
CPAN shell
perl -MCPAN -e shell install Tk::Month
For more information on module installation, please visit the detailed CPAN module installation guide.