NAME

UI::Various::Tk::Listbox - concrete implementation of UI::Various::Listbox

SYNOPSIS

# This module should never be used directly!
# It is used indirectly via the following:
use UI::Various::Listbox;

ABSTRACT

This module is the specific implementation of UI::Various::Listbox using Perl/Tk.

DESCRIPTION

The documentation of this module is only intended for developers of the package itself.

METHODS

_prepare - prepare UI element

$ui_element->_prepare($row, $column);

example:

my ($errors, $row) = (0, 0);
while ($_ = $self->child)
{   $errors += $_->_prepare($row++, 0);   }

parameters:

$row                grid row
$column             grid column

description:

Prepare the UI element for Tk. The method should only be called from UI::Various::Tk container elements!

returns:

1 in case of errors, 0 otherwise

_add - add new element

Tk's specific implementation of UI::Various::Listbox::add

_modify - modify listbox

Tk's specific implementation of UI::Various::Listbox::modify)

_remove - remove element

Tk's specific implementation of UI::Various::Listbox::remove

_replace - replace all elements

Tk's specific implementation of UI::Various::Listbox::replace

_selected - get current selection of listbox

Tk's specific implementation of UI::Various::Listbox::selected

SEE ALSO

UI::Various, UI::Various::Listbox

LICENSE

Copyright (C) Thomas Dorner.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.

AUTHOR

Thomas Dorner <dorner (at) cpan (dot) org>