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

FLTK::FileBrowser - Subclass of FLTK::Browser

Description

Functions

add

$filebrowser->add( $line, $icon );

directory

my $dir = $filebrowser->directory( );

filetype

my $type = $filebrowser->filetype( );
$filebrowser->filetype( $type );

filter

my $pattern = $filebrowser->filter( );
$filebrowser->filter( $pattern );

icon_size

my $size = $filebrowser->icon_size( );
$filebrowser->icon_size( $size );

insert

$filebrowser->insert( $n, $label, $icon );
$filebrowser->insert( $n, $label, $data );

new

my $fb = $filebrowser->new( $x, $y, $w, $h, $label );

Creates a new FLTK::FileBrowser object.

show_hidden

$filebrowser->show_hidden( $show );

Set this flag if you want to see the hidden files in the browser.

my $show = $filebrowser->show_hidden( );

textsize

my $size = $filebrowser->textsize( );
$filebrowser->textsize( $size );

Author

Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/

License and Legal

Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>

This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.

When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.