The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

pEFL::Elm:WidgetItem

SYNOPSIS

  use pEFL::Elm;
  [...]
  my $it->disabled_set(1);
  [...]

DESCRIPTION

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

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

For instructions, how to use pEFL::Elm::WidgetItem, 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::WidgetItem 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_object_item_" at the beginning of the c functions.

SPECIFICS OF THE BINDING

There is a special version of $widget_item->content_get() and $widget_item->part_content_get($part) with the name $widget_item->content_get_pv() and $widget_item->part_content_get_pv($part) that try to bless the returned EvasObject to the appropriate perl class. In fact the C class is fetched by ElmObjectPtr::widget_type_get and translated to the PerlClass through deleting underscores and adding "Ptr". It should work with all Elm_*-Widgets for which a perl binding exist. Nevertheless it is not guaranteed to work in all cases.

EXPORT

None by default.

SEE ALSO

https://www.enlightenment.org/develop/legacy/api/c/start#group__Elm__WidgetItem.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.