1Gtk2::PageSetup(3) User Contributed Perl Documentation Gtk2::PageSetup(3)
2
3
4
6 Gtk2::PageSetup
7
9 Glib::Object
10 +----Gtk2::PageSetup
11
13 pagesetup = Gtk2::PageSetup->new
14
15 double = $setup->get_bottom_margin ($unit)
16
17 * $unit (Gtk2::Unit)
18
19 $setup->set_bottom_margin ($margin, $unit)
20
21 * $margin (double)
22 * $unit (Gtk2::Unit)
23
24 double = $setup->get_left_margin ($unit)
25
26 * $unit (Gtk2::Unit)
27
28 $setup->set_left_margin ($margin, $unit)
29
30 * $margin (double)
31 * $unit (Gtk2::Unit)
32
33 pageorientation = $setup->get_orientation
34
35 $setup->set_orientation ($orientation)
36
37 * $orientation (Gtk2::PageOrientation)
38
39 double = $setup->get_page_height ($unit)
40
41 * $unit (Gtk2::Unit)
42
43 double = $setup->get_page_width ($unit)
44
45 * $unit (Gtk2::Unit)
46
47 double = $setup->get_paper_height ($unit)
48
49 * $unit (Gtk2::Unit)
50
51 $setup->set_paper_size_and_default_margins ($size)
52
53 * $size (Gtk2::PaperSize)
54
55 papersize = $setup->get_paper_size
56
57 $setup->set_paper_size ($size)
58
59 * $size (Gtk2::PaperSize)
60
61 double = $setup->get_paper_width ($unit)
62
63 * $unit (Gtk2::Unit)
64
65 double = $setup->get_right_margin ($unit)
66
67 * $unit (Gtk2::Unit)
68
69 $setup->set_right_margin ($margin, $unit)
70
71 * $margin (double)
72 * $unit (Gtk2::Unit)
73
74 double = $setup->get_top_margin ($unit)
75
76 * $unit (Gtk2::Unit)
77
78 $setup->set_top_margin ($margin, $unit)
79
80 * $margin (double)
81 * $unit (Gtk2::Unit)
82
84 enum Gtk2::PageOrientation
85
86 * 'portrait' / 'GTK_PAGE_ORIENTATION_PORTRAIT'
87 * 'landscape' / 'GTK_PAGE_ORIENTATION_LANDSCAPE'
88 * 'reverse-portrait' / 'GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT'
89 * 'reverse-landscape' / 'GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE'
90
91 enum Gtk2::Unit
92
93 * 'pixel' / 'GTK_UNIT_PIXEL'
94 * 'points' / 'GTK_UNIT_POINTS'
95 * 'inch' / 'GTK_UNIT_INCH'
96 * 'mm' / 'GTK_UNIT_MM'
97
99 Gtk2, Glib::Object
100
102 Copyright (C) 2003-2007 by the gtk2-perl team.
103
104 This software is licensed under the LGPL. See Gtk2 for a full notice.
105
106
107
108perl v5.8.8 2007-03-18 Gtk2::PageSetup(3)