pEFL

 view release on metacpan or  search on metacpan

lib/pEFL/Elm/Combobox.pm  view on Meta::CPAN

package pEFL::Elm::Combobox;

use strict;
use warnings;

require Exporter;
use pEFL::Evas;
use pEFL::Elm::Object;

our @ISA = qw(Exporter ElmComboboxPtr);

# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.

# This allows declaration	use pEFL::Elm ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
our %EXPORT_TAGS = ( 'all' => [ qw(

) ] );

our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );

our @EXPORT = qw(

);

require XSLoader;
XSLoader::load('pEFL::Elm::Combobox');

sub add {
    my ($class,$parent) = @_;
    my $widget = elm_combobox_add($parent);
    $widget->event_callback_add(EVAS_CALLBACK_DEL, \&pEFL::PLSide::cleanup, $widget);
    $widget->event_callback_add(EVAS_CALLBACK_DEL, \&pEFL::PLSide::cleanup_genitems, $widget);
    $widget->event_callback_add(EVAS_CALLBACK_DEL, \&pEFL::PLSide::cleanup_signals, $widget);
    return $widget;
}

*new = \&add;

package ElmComboboxPtr;

our @ISA = qw(ElmButtonPtr ElmGenlistPtr ElmEntryPtr ElmObjectPtr EvasObjectPtr);

# Preloaded methods go here.

1;
__END__
# Below is stub documentation for your module. You'd better edit it!

=head1 NAME

pEFL::Elm:Combobox

=head1 SYNOPSIS

  use pEFL::Elm;
  [...]
  my $bg = pEFL::Elm::Combobox->add($parent);
  $bg->color_set(255,255,255);
  [...]

=head1 DESCRIPTION

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

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

For instructions, how to use pEFL::Elm::Combobox, 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::Combobox gives you a nice ...

=head2 EXPORT

None by default.

=head1 SEE ALSO

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

=head1 AUTHOR

Maximilian Lika

=head1 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.


=cut



( run in 0.951 second using v1.01-cache-2.11-cpan-a49fcb8fa48 )