Tk::Multi::Manager 1.006 review

Download
by rbytes.net on

Tk::Multi::Manager is a Tk composite widget managing Tk::Multi slaves. SYNOPSIS use Tk::Multi::Manager ; use Tk::Multi::Text

License: Perl Artistic License
File size: 14K
Developer: Dominique Dumont
0 stars award from rbytes.net

Tk::Multi::Manager is a Tk composite widget managing Tk::Multi slaves.

SYNOPSIS

use Tk::Multi::Manager ;
use Tk::Multi::Text ; # if you use MultiText as a slave

my $manager = yourWindow -> MultiManager
(
menu => $menu_ref , # optionnal
title => "windows", # optionnal
help => "Explain what your set of widget do" #optionnal
) -> pack ();

# Don't pack it, the managet will do it
my $w1 = $manager -> newSlave
(
'type' => 'MultiText',
'title' => 'a_label',
help => "Explain what your slave widget does" #optionnal
);

The manager is a composite widget made of a menu cascade of check buttons and slaves which can be Tk::Multi::Text.

The user can add windows to the manager. Each window visibility is controled by a check button in the menu cascade. The check button actually tells the packer to forget the window. note that the window object is not destroyed.

The main menu bar will feature a 'Help' menu on the right. If the main help which explain the purpose of the Multi::Manager and its slaves is provided when creating the widget, the Help sub-menu will feature a 'global' label.

Each slave widget which is created with a help will have its own label in the help menu.

Requirements:
Perl

Tk::Multi::Manager 1.006 keywords