pEFL::Elm:Progressbar
use pEFL::Elm; [...] my $pb = pEFL::Elm::Progressbar->add($win); $pb->text_set("LABEL"); $pb->span_size_set(300); $pb->size_hint_weight_set(EVAS_HINT_EXPAND,EVAS_HINT_EXPAND); $pb->size_hint_align_set(EVAS_HINT_FILL, 0.5); $pb->unit_format_function_set(\&_progress_format_cb, undef); $bx->pack_end($pb); $pb->show(); $bx->show(); $pb->value_set(0.8); [...] sub _progress_format_cb { my ($val) = @_; return "VAL is $val"; } [...]
This module is a perl binding to the Elementary Progressbar widget.
For more informations see https://www.enlightenment.org/develop/legacy/api/c/start#group__Elm__Progressbar.html
For instructions, how to use pEFL::Elm::Progressbar, 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::Progressbar 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_progressbar_" at the beginning of the c functions.
None by default.
https://www.enlightenment.org/develop/legacy/api/c/start#group__Elm__Progressbar.html
Maximilian Lika
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.
To install pEFL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm pEFL
CPAN shell
perl -MCPAN -e shell install pEFL
For more information on module installation, please visit the detailed CPAN module installation guide.