NAME
Tk::ListBrowser::Item - List entry holding object.
SYNOPSIS
my $item = $listbrowser->add($entryname, @options);
my $item = $listbrowser->get($entryname);
DESCRIPTION
Inherits Tk::ListBrowser::BaseItem.
This module creates an object that holds all information of a cell in a side column. You will never need to create an item object yourself.
Besides the options in it's parent, you can use the -data, -image, and -text options.
METHODS
- textFormat($text)
-
Formats, basically wraps, $text taking the option -wraplength into account. $text can be a multi line string.
- textHeight($text)
-
Returns the display height of $text in pixels. $text can be a multi line string.
- textWidth($text)
-
Returns the display width of $text in pixels. $text can be a multi line string.
LICENSE
Same as Perl.
AUTHOR
Hans Jeuken (hanje at cpan dot org)
BUGS AND CAVEATS
If you find any bugs, please report them here: https://github.com/haje61/Tk-ListBrowser/issues.