NAME
Tk::FileBrowser::Item - Item object for Tk::FileBrowser
SYNOPSIS
use Tk::FileBrowser::Item;
my $item = new Tk::FileBrowsr::Item($file);
DESCRIPTION
Item object used in Tk::FileBrowser. You should never have to create one yourself.
METHODS
- accessed
-
Returns the accessed time stamp.
- child($name, $itemobject)
-
Throws a warning if this object does not represent a directory. Sets or returns the item object of $name.
- children
-
Returns a list of children if this object represents a folder. Otherwise returns undef.
- created
-
Returns the created time stamp.
- fullname(?$fullname?)
- isDir
-
Returns true if this object reprents a directory.
- isFile
-
Returns true if this object reprents a file.
- isLink
-
Returns true if this object reprents a symbolic link.
- loaded($flag)
-
Sets or returns the loaded flag if this object represents a directory.
- loadStat($item)
-
Loads the details of $item. $item can be a file, folder or symlink.
- modified
-
Returns the modified time stamp.
- size
-
Returns size the disk item loaded. if it is a directory it will return the number of children. Otherwise it will return item size if the size is known.
- type
-
Returns the mime type.
LICENSE
Same as Perl.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
BUGS AND CAVEATS
If you find any bugs, please contact the author.