NAME

pEFL::Elm:List

SYNOPSIS

use pEFL::Elm;
[...]
my $list = pEFL::Elm::List->add($parent);
$list->resize(320,300);
$list->mode_set(ELM::LIST_LIMIT);
$list->item_append("Text item",undef, undef,undef,undef);

my $icon = pEFL::Elm::Icon->add($list);
$icon->standard_set("chat");
$list->item_append("Icon item", $icon, undef,undef,undef);

my $button = pEFL::Elm::Button->add($list);
$button->text_set("Button");

my $itembutton = $list->item_append("Button item", undef, $button, undef,undef);
$list->go();
$list->show();
[...]
my @items = $list->items_get_pv();
@items = $list->selected_items_get_pv();
[...]

DESCRIPTION

This module is a perl binding to the Elementary List widget.

For more informations see https://www.enlightenment.org/develop/legacy/api/c/start#group__Elm__List.html

For instructions, how to use pEFL::Elm::List, please study this API reference for now. A perl-specific documentation will perhaps come in later versions. But applying the C documentation should be no problem. pEFL::Elm::List gives you a nice object-oriented interface that is kept close to the C API. Please note, that the perl method names remove the "elm_list_" at the beginning of the c functions.

EXPORT

None by default.

SEE ALSO

https://www.enlightenment.org/develop/legacy/api/c/start#group__Elm__List.html

AUTHOR

Maximilian Lika

COPYRIGHT AND LICENSE

Copyright (C) 2022 by Maximilian Lika

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.28.1 or, at your option, any later version of Perl 5 you may have available.