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
-
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.
- pageSelectCall($page, @callback)
-
Creates a callback called when $page is selected.
- pageUnselectCall($page, @callback)
-
Creates a callback called when $page is unselected.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
BUGS
Unknown. If you find any, please contact the author.