The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

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