=head1 NAME

Gtk2::PageSetup

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::PageSetup


=head1 METHODS

=head2 pagesetup = Gtk2::PageSetup-E<gt>B<new> 

=over

=back

=head2 pagesetup = Gtk2::PageSetup-E<gt>B<new_from_file> ($file_name)

=over

=over

=item * $file_name (localized file name) 

=back



May croak with a L<Glib::Error> in $@ on failure.

Since: gtk+ 2.12

=back

=head2 pagesetup = Gtk2::PageSetup-E<gt>B<new_from_key_file> ($key_file, $group_name)

=over

=over

=item * $key_file (Glib::KeyFile) 

=item * $group_name (string or undef) 

=back



May croak with a L<Glib::Error> in $@ on failure.

Since: gtk+ 2.12

=back

=head2 double = $setup-E<gt>B<get_bottom_margin> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 $setup-E<gt>B<set_bottom_margin> ($margin, $unit)

=over

=over

=item * $margin (double) 

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 double = $setup-E<gt>B<get_left_margin> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 $setup-E<gt>B<set_left_margin> ($margin, $unit)

=over

=over

=item * $margin (double) 

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 pageorientation = $setup-E<gt>B<get_orientation> 

=over

=back

=head2 $setup-E<gt>B<set_orientation> ($orientation)

=over

=over

=item * $orientation (Gtk2::PageOrientation) 

=back

=back

=head2 double = $setup-E<gt>B<get_page_height> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 double = $setup-E<gt>B<get_page_width> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 double = $setup-E<gt>B<get_paper_height> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 $setup-E<gt>B<set_paper_size_and_default_margins> ($size)

=over

=over

=item * $size (Gtk2::PaperSize) 

=back

=back

=head2 papersize = $setup-E<gt>B<get_paper_size> 

=over

=back

=head2 $setup-E<gt>B<set_paper_size> ($size)

=over

=over

=item * $size (Gtk2::PaperSize) 

=back

=back

=head2 double = $setup-E<gt>B<get_paper_width> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 double = $setup-E<gt>B<get_right_margin> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 $setup-E<gt>B<set_right_margin> ($margin, $unit)

=over

=over

=item * $margin (double) 

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 $setup-E<gt>B<to_file> ($file_name)

=over

=over

=item * $file_name (localized file name) 

=back



May croak with a L<Glib::Error> in $@ on failure.

Since: gtk+ 2.12

=back

=head2 $setup-E<gt>B<to_key_file> ($key_file, $group_name)

=over

=over

=item * $key_file (Glib::KeyFile) 

=item * $group_name (string or undef) 

=back

Since: gtk+ 2.12

=back

=head2 double = $setup-E<gt>B<get_top_margin> ($unit)

=over

=over

=item * $unit (Gtk2::Unit) 

=back

=back

=head2 $setup-E<gt>B<set_top_margin> ($margin, $unit)

=over

=over

=item * $margin (double) 

=item * $unit (Gtk2::Unit) 

=back

=back


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::PageOrientation

=over

=item * 'portrait' / 'GTK_PAGE_ORIENTATION_PORTRAIT'

=item * 'landscape' / 'GTK_PAGE_ORIENTATION_LANDSCAPE'

=item * 'reverse-portrait' / 'GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT'

=item * 'reverse-landscape' / 'GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE'

=back


=head2 enum Gtk2::Unit

=over

=item * 'pixel' / 'GTK_UNIT_PIXEL'

=item * 'points' / 'GTK_UNIT_POINTS'

=item * 'inch' / 'GTK_UNIT_INCH'

=item * 'mm' / 'GTK_UNIT_MM'

=back



=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>

=head1 COPYRIGHT

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

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


=cut

