++ed by:
KEEDI

1 PAUSE user
2 non-PAUSE users.

Jeffrey Ray Hallock
and 1 contributors

NAME

Gapp::Widget - The base class for all Gapp widgets

OBJECT HIERARCHY

Gapp::Object
+-- Gapp::Widget

DESCRIPTION

All Gapp widgets inherit from Gapp::Widget.

PROVIDED ATTRIBUTES

expand
isa: Bool
default: 0

If the widget should expand inside it's container. (Tables widgets ignore this value because widget expansion is determind by the Gapp::TableMap)

fill
isa: Bool
default: 0

If the widget should fill it's container. (Tables widgets ignore this value because widget layout is determind by the Gapp::TableMap)

gwrapper
is rw
isa Gtk2::Widget
writer set_gwrapper
reader get_gwrapper

The gwrapper is a widget that encapsulates the gobject. This is useful when creating composite widgets. To retrieve the value of the gwrapper attribute use the get_gwrapper method. Calling the grwapper will return the gwrapper if one has been set, otherwise it will return the gobject.

padding
isa: Int
default: 0

Padding around the widget.

parent
isa Gapp::Widget|Undef
default undef

The parent widget.

tooltip
isa Str|Undef

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 193:

'=item' outside of any '=over'

Around line 246:

You forgot a '=back' before '=head1'