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
  
/* -*- C -*- */ 
require not_now; 
class GTK2.PageSetupUnixDialog; 
inherit GTK2.Dialog; 
 
void create(string|mapping(string:mixed) title_or_props, ?GTK2.Window parent) 
//! Create a new page setup dialog. 
{ 
  pgtk2_verify_not_inited(); 
  pgtk2_verify_setup(); 
  { 
    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) { 
      struct pike_string *t; 
      GtkWidget *gp; 
      struct object *o1=NULL; 
 
      get_all_args("create",args,"%T.%o",&t,&o1); 
      ref_push_string(t); 
      f_string_to_utf8(1); 
      gp=gtk_page_setup_unix_dialog_new(CGSTR0(Pike_sp[-1].u.string),get_gobject(o1)); 
      pop_stack(); 
      THIS->obj=G_OBJECT(gp); 
    } else { 
      INIT_WITH_PROPS(GTK_TYPE_PAGE_SETUP_UNIX_DIALOG); 
    } 
    pgtk2_pop_n_elems(args); 
  } 
  pgtk2__init_this_object(); 
} 
 
void set_page_setup(GTK2.PageSetup page_setup); 
//! Sets the GTK2.PageSetup from which the page setup dialog takes its values. 
 
+GTK2.PageSetup get_page_setup(); 
//! Gets the currently selected page setup from the dialog. 
 
void set_print_settings(GTK2.PrintSettings print_settings); 
//! Sets the GTK2.PrintSettings from which the page setup dialog takes its 
//! values. 
 
+GTK2.PrintSettings get_print_settings(); 
//! Gets the current print settings from the dialog. 
 
endrequire;