Jeffrey Ray Hallock > GappX-FileTree-0.200 > GappX::FileTree

Download:
GappX-FileTree-0.200.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

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.
syntax highlighting: