NAME

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

SYNOPSIS

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

DESCRIPTION

Adds a document list to your application. Loads extension NavigatorPanel if it is not already loaded.

CONFIG VARIABLES

-documentinterface

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

-treeiconsize

By default undefined. Sets and returns the icon 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::NavigatorPanel