NAME
Gapp::Widget - The base class for all Gapp widgets
OBJECT HIERARCHY
DESCRIPTION
All Gapp widgets inherit from Gapp::Widget.
PROVIDED ATTRIBUTES
- expand
-
If the widget should expand inside it's container. (Tables widgets ignore this value because widget expansion is determind by the Gapp::TableMap)
- fill
-
If the widget should fill it's container. (Tables widgets ignore this value because widget layout is determind by the Gapp::TableMap)
- gwrapper
-
The
gwrapper
is a widget that encapsulates thegobject
. This is useful when creating composite widgets. To retrieve the value of thegwrapper
attribute use theget_gwrapper
method. Calling thegrwapper
will return thegwrapper
if one has been set, otherwise it will return thegobject
. - padding
-
Padding around the widget.
- parent
-
- isa Gapp::Widget|Undef
- default undef
The parent widget.
- tooltip
-
The tooltip to display over the widget.
PROVIDED METHODS
- toplevel
-
Searches through the widget heirachy to find the furthest widget up the chain with no parent widget. Returns the calling widget if it has no parent.
- returns Gapp::Widget
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.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 181:
'=item' outside of any '=over'
- Around line 234:
You forgot a '=back' before '=head1'