NAME

Gapp::Meta::Widget::Native::Role::CanDefault - Role for widgets that can be the default

SYNOPSIS

    Gapp::Button->new( label => 'Exit', default => 1 );
    

PROVIDED ATTRIBUTES

default
is rw
isa Bool
default 0

If true the button will set istelf as the default widget for the window.

AUTHORS

Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>

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.