1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
45
  
46
  
47
  
48
  
49
  
50
  
51
  
52
  
53
  
54
  
55
  
56
  
57
  
58
  
59
  
60
  
61
  
62
  
63
  
64
  
65
  
66
  
67
  
68
  
69
  
70
  
71
  
72
  
73
  
74
  
75
  
76
  
77
  
78
  
79
  
80
  
81
  
82
  
83
  
84
  
85
  
86
  
87
  
88
  
89
  
90
  
91
  
92
  
93
  
94
  
95
  
96
  
97
  
98
  
99
  
100
  
101
  
102
  
103
  
104
  
105
  
106
  
107
  
//! A GtkPageSetup object stores the page size, orientation and margins. 
//! The idea is that you can get one of these from the page setup dialog 
//! and then pass it to the GTK2.PrintOperation when printing. The benefit 
//! of splitting this out of the GTK2.PrintSettings is that these affect 
//! the actual layout of the page, and thus need to be set long before user 
//! prints. 
//! 
//! 
 
inherit G.Object; 
 
GTK2.PageSetup copy( ); 
//! Returns a copy of this GTK2.PageSetup. 
//! 
//! 
 
protected GTK2.PageSetup create( mapping|void props ); 
//! Create a new GTK2.PageSetup. 
//! 
//! 
 
float get_bottom_margin( int unit ); 
//! Gets the bottom margin in units of unit. 
//! 
//! 
 
float get_left_margin( int unit ); 
//! Gets the left margin in units of unit. 
//! 
//! 
 
int get_orientation( ); 
//! Gets the page orientation. 
//! 
//! 
 
float get_page_height( int unit ); 
//! Returns the page height in units of unit. 
//! 
//! 
 
float get_page_width( int unit ); 
//! Returns the page width in units of unit. 
//! 
//! 
 
float get_paper_height( int unit ); 
//! Returns the paper height in units of unit. 
//! 
//! 
 
GTK2.PaperSize get_paper_size( ); 
//! Gets the paper size. 
//! 
//! 
 
float get_paper_width( int unit ); 
//! Returns the paper width in units of unit. 
//! 
//! 
 
float get_right_margin( int unit ); 
//! Gets the right margin in units of unit. 
//! 
//! 
 
float get_top_margin( int unit ); 
//! Gets the top margin in units of unit. 
//! 
//! 
 
GTK2.PageSetup set_bottom_margin( float margin, int unit ); 
//! Sets the bottom margin. 
//! 
//! 
 
GTK2.PageSetup set_left_margin( float margin, int unit ); 
//! Sets the left margin. 
//! 
//! 
 
GTK2.PageSetup set_orientation( int orientation ); 
//! Sets the page orientation. 
//! 
//! 
 
GTK2.PageSetup set_paper_size( GTK2.PaperSize size ); 
//! Sets the paper size without changing the margins. 
//! 
//! 
 
GTK2.PageSetup set_paper_size_and_default_margins( GTK2.PaperSize size ); 
//! Sets the paper size and modifies the margins. 
//! 
//! 
 
GTK2.PageSetup set_right_margin( float margin, int unit ); 
//! Sets the right margin. 
//! 
//! 
 
GTK2.PageSetup set_top_margin( float margin, int unit ); 
//! Sets the top margin. 
//! 
//!