—{
$Gapp::Meta::Widget::Native::Role::HasIcon::VERSION
=
'0.481'
;
}
use
Moose::Role;
has
'icon'
=> (
is
=>
'rw'
,
isa
=>
'Maybe[Str]'
,
);
1;
__END__
=pod
=head1 NAME
Gapp::Meta::Widget::Native::Role::HasIcon - icon attribute for widgets
=head1 SYNOPSIS
Gapp::Button->new( icon => 'gtk-quit', label => 'Exit' );
=head1 PROVIDED ATTRIBUTES
=over 4
=item B<icon>
=over 4
=item is rw
=item isa Str|Undef
=back
The stock-id of the image to apply to the widget.
=back
=head1 AUTHORS
Jeffrey Ray Hallock E<lt>jeffrey.hallock at gmail dot comE<gt>
=head1 COPYRIGHT & LICENSE
Copyright (c) 2011-2012 Jeffrey Ray Hallock.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
=cut