NAME

pEFL::Elm:Slider

SYNOPSIS

use pEFL::Elm;
[...]
my $sl = pEFL::Elm::Slider->add($win);
$sl->size_hint_align_set(EVAS_HINT_FILL,0.5);
$sl->size_hint_weight_set(EVAS_HINT_EXPAND,EVAS_HINT_EXPAND);
$sl->indicator_format_function_set(\&indicator_format, undef);
$bx->pack_end($sl);
$sl->show();
[...]
sub indicator_format {
    my ($val) = @_;
    my $str = "Val is $val";
    return $str;
}
[...]

DESCRIPTION

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

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

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

EXPORT

None by default.

SEE ALSO

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