NAME
Tk::FileBrowser::Header - Resizeable header for any HList like widget
SYNOPSIS
require Tk::HList;
require Tk::FileBrowser::Header;
my $hlist = $window->HList(
-columns => 1,
-header => 1
)->pack;
my $h = $hlist->Header(
-column => 0,
-text => 'Header',
);
$hlist->headerCreate(0, -itemtype => 'window', -widget => $h);
DESCRIPTION
A resizeable header suitable for any HList like widget. Also a sort indicator is provided.
CONFIG VARIABLES
- Switch: -column
-
Obligatory! Only available at ceate time.
Column number of the column for this header.
- Switch: -sortcall
-
Callback, called whenever the user clicks the header. Gives name and -sortorder as parameters.
- Switch: -sortorder
-
Default value 'none', Can be 'ascending', 'descending' or 'none'.
- Switch: -text
-
Text to be displayed as header name.
ADVERTISED SUBWIDGETS
All of class Label.
- Label
- Sizer
- Sort
LICENSE
Same as Perl.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
BUGS AND CAVEATS
If you find any bugs, please contact the author.