Anthony Fletcher > Tk-Month-1.7 > Tk::Panel

Download:
Tk-Month-1.7.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.4   Source   Latest Release: Tk-Month-1.8

NAME ^

Tk::Panel - A collapsable frame with title.

SYNOPSIS ^

  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();

DESCRIPTION ^

        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.

OPTIONS ^

-relief => <relief of inner boundary>

        Sets the relief of inner boundary. The default is 'raised'.

-border => <border size of inner boundary>

        Sets the relief of inner boundary.

-text => "title text"

        Sets the title of the Panel.

-toggle => 1|0

        This sets if the Panel can be collapsed via the title.

-state => <normal|active|disabled>

        This sets the state of the check button version of the title.

-show => 1|0

        This sets if the Panel is expanded or collapsed.
syntax highlighting: