NAME

Tk::ListBrowser::BaseItem - Base class for Item and SideColumn.

SYNOPSIS

You never do this yourself. But this is how it works.

my $base = Tk::ListBrowser::BaseItem->new(%options,
   -name => $name,
   -listbrowser => $reftolistbrowserobject,
);

DESCRIPTION

Provides a base class for modules Tk::ListBrowser::Item and Tk::ListBrowser::SidePanel. It provides a method overload to the Tk::ListBrowser object.

Available options are -background, -drawrect, -font, -foreground, -owner, -itemtype, -textanchor, -textjustify, -textlength, -textside and -wraplength.

The -owner option specifies which object (side column or ListBrowser widget) is holding this item. By default it is set to the ListBrowser widget.

The -drawrect option specifies whether a rectangle, in the background color should be drawn as area indicator.

If an option is not defined this module will look for the corresponding option in it's owner.

METHODS

cget($option)

Returns the value of option $option.

clear

Clears all visible items on the canvas belonging to this item.

configure(%options)

Configures %options.

inregion($x, $y)

Returns true if the point at $x, $y is inside the region of this entry.

name

Returns the name of this entry.

LICENSE

Same as Perl.

AUTHOR

Hans Jeuken (hanje at cpan dot org)

TODO

BUGS AND CAVEATS

If you find any bugs, please report them here: https://github.com/haje61/Tk-ListBrowser/issues.

SEE ALSO