The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Tk::AppWindow::Ext::SideBars - Basic functionality for side bars.

SYNOPSIS

 my $app = new Tk::AppWindow(@options,
    -extensions => ['SideBars'],
 );
 $app->MainLoop;

DESCRIPTION

Provides a primer for panels that contain a resizable YANoteBook for selecting various tools.

It inherits Tk::AppWindow::BaseClasses::Extension

CONFIG VARIABLES

Switch: -sidebariconsize

Default value 32.

METHODS

IconSize(?$size?)

Set and return the iconsize in the tabs of the notebooks

nbAdd($name, $panel, $tabside)

Creates a new notebook widget and assigns it to $panel. If you do not specify $tabside it is set to 'top'.

nbDelete($name)

Destroys notebook $name.

nbGetI($name)>

Returns a reference to notebook widget $name.

nbMaximize($name, $tab)

Maximizes notebook $name at the requested size of $tab

nbMinimize($name, $tab)

Minimizes notebook $name and saves the size of $tab.

nbTextSideI($name, ?$side?)>
pageAdd($notebook, $name, $image, $text, $statustext, $initialsize)

Adds a page to a notebook.

pageCount($notebook)

Returns the number of pages in $notebook.

pageDelete($notebook, $name)

Deletes a page from a notebook.

pageExists($notebook, $name)

Returns true if $name exists in $notebook.

AUTHOR

Hans Jeuken (hanje at cpan dot org)

BUGS

Unknown. If you find any, please contact the author.

SEE ALSO

Tk::AppWindow::BaseClasses::Extension
Tk::AppWindow::BaseClasses::PanelExtension
Tk::AppWindow