NAME
Tk::AppWindow::Baseclasses::SidePanel - Basic functionality for extensions associated with a side panel, like NavigatorPanel and ToolPanel.
SYNOPSIS
#This is useless
my $ext = Tk::AppWindow::BaseClasses::SidePanel->new($mainwindow);
#This is what you should do
package Tk::AppWindow::Ext::MySidePanel
use base(Tk::AppWindow::BaseClasses::SidePanel);
sub new {
my $class = shift;
my $self = $class->SUPER::new(@_); #$mainwindow should be the first in @_
...
return $self
}
DESCRIPTION
Provides a primer for panels that contain a resizable YANoteBook for selecting various tools.
It inherits Tk::AppWindow::BaseClasses::PanelExtension
CONFIG VARIABLES
None.
METHODS
- addPage($name, $image, $text, $statustext, $initialsize)
-
Adds a page to the notebook.
- deletePage($name)
-
Deletes a page from the notebook.
- IconSize(?$size?)
-
Set and return the iconsize in the tabs of the notebook
- nbGet
-
Returns a reference to the notebook widget.
- nbMaximize
-
Maximizes the notebook widget
- nbMinimize
-
Minimizes the notebook widget
- TabSelect($tab)
-
Maximizes $tab and adds an adjuster
- Tabside(?$side?)
-
Set and return the tabside in the notebook.
- TabUnselect($tab)
-
Minimizes $tab and removes the adjuster.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
BUGS
Unknown. If you find any, please contact the author.