=head1 NAME

Gtk2::AspectFrame

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::Object
       +----Gtk2::Widget
            +----Gtk2::Container
                 +----Gtk2::Bin
                      +----Gtk2::Frame
                           +----Gtk2::AspectFrame

=head1 INTERFACES

  Gtk2::Atk::ImplementorIface


=head1 METHODS

=head2 widget = Gtk2::AspectFrame-E<gt>B<new> ($label, $xalign, $yalign, $ratio, $obey_child)

=over

=over

=item * $label (string) 

=item * $xalign (double) 

=item * $yalign (double) 

=item * $ratio (double) 

=item * $obey_child (boolean) 

=back

=back

=head2 $aspect_frame-E<gt>B<set_params> ($xalign, $yalign, $ratio, $obey_child)

=over

=over

=item * $xalign (double) 

=item * $yalign (double) 

=item * $ratio (double) 

=item * $obey_child (boolean) 

=back

=back


=head1 PROPERTIES

=over

=item 'obey-child' (boolean : readable / writable / private)

Force aspect ratio to match that of the frame's child

=item 'ratio' (Glib::Float : readable / writable / private)

Aspect ratio if obey_child is FALSE

=item 'xalign' (Glib::Float : readable / writable / private)

X alignment of the child

=item 'yalign' (Glib::Float : readable / writable / private)

Y alignment of the child

=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>, L<Gtk2::Bin>, L<Gtk2::Frame>

=head1 COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

