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, font, foreground, -owner, itemtype, textanchor, textjustify, textside and wraplength.

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

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