NAME

GappX::FileTree - FileTree widget for Gapp

SYNOPSIS

use GappX::FileTree;

$w = GappX::FileTree->new( path => 'path/to/view/ );

$w->refresh;

Gapp->main;

DESCRIPTION

GappX::FileTree is a TreeView widget for displaying the structure of a file system. Directories expand and collapse and each item is displayed with an icon.

OBJECT HIERARCHY

Gapp::Object
+-- Gapp::Widget
....+-- Gapp::TreeView
........+-- Gapp::FileTree

PROVIDED ATTRIBUTES

filter_func
is rw
isa CodeRef|Undef
default .

Use this function to filter the files displayed in the view.

path
is rw
isa Str
default .

The directory path to display in the widget.

update

Refresh the contents of the display. Call this after setting the path attribute or after changes have been made to the file system.

AUTHORS

Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>

COPYRIGHT & LICENSE

Copyright (c) 2011-2012 Jeffrey Ray Hallock.

This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 262:

Unknown directive: =head

Around line 271:

You forgot a '=back' before '=head1'