NAME

Efl::Elm:Toolbar

SYNOPSIS

use Efl::Elm;
[...]
my $tb = Efl::Elm::Toolbar->add($parent);
$tb->shrink_mode_set(ELM_TOOLBAR_SHRINK_SCROLL);
$tb->size_hint_weight_set(0.0,0.0);
$tb->size_hint_align_set(EVAS_HINT_FILL,0.0);
$tb->show();
$tb->item_append("document-print","Print",\&_item_1_pressed,$data);
$tb->item_append("folder-new","New Folder",\&_item_2_pressed,$data);
my $tb_it = $tb->item_append("mail-send","Send eMail",\&_item_3_pressed,$data);
$tb_it->disabled_set(1);
$tb->homogeneous_set(0);
[...]

DESCRIPTION

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

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

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

EXPORT

None by default.

SEE ALSO

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

AUTHOR

Maximilian Lika

COPYRIGHT AND LICENSE

Copyright (C) 2021 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.