NAME

Tk::AppWindow::Ext::Selector - Navigate opened documents and files

SYNOPSIS

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

DESCRIPTION

Adds a document list to your application. Creates a tool panel called navigator panel unless it already exists.

CONFIG VARIABLES

-documentinterface

Default value 'MDI'. Sets the extension name for the multiple docoment interface that Selector communicates with.

-treeiconsize

By default undefined. Sets and returns the size of icons in the document tree.

METHODS

Add($name)

Adds $name to the document list.

Delete($name)

Deletes $name from the document list

EntryModified($name)

Changes the icon of $name to the save icon, indicating the document is modified.

EntrySaved($name)

Changes the icon of $name to the normal file icon.

GetDirIcon

Callback for the document tree. Returns the folder icon.

GetFileIcon($name)

Callback for the document tree. Returns the file icon.

GetSaveIcon($name)

Callback for the document tree. Returns the save icon.

SelectDocument($name)

Selects document $name in the multiple document interface.

SelectEntry($name)

Selects $name in the document tree.

AUTHOR

Hans Jeuken (hanje at cpan dot org)

BUGS

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

SEE ALSO

Tk::AppWindow
Tk::AppWindow::BaseClasses::Extension
Tk::AppWindow::Ext::SideBars