GtkPageSetup              package:RGtk2              R Documentation

_G_t_k_P_a_g_e_S_e_t_u_p

_D_e_s_c_r_i_p_t_i_o_n:

     Stores page setup information

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkPageSetupNew()'
      'gtkPageSetupCopy(object)'
      'gtkPageSetupGetOrientation(object)'
      'gtkPageSetupSetOrientation(object, orientation)'
      'gtkPageSetupGetPaperSize(object)'
      'gtkPageSetupSetPaperSize(object, size)'
      'gtkPageSetupGetTopMargin(object, unit)'
      'gtkPageSetupSetTopMargin(object, margin, unit)'
      'gtkPageSetupGetBottomMargin(object, unit)'
      'gtkPageSetupSetBottomMargin(object, margin, unit)'
      'gtkPageSetupGetLeftMargin(object, unit)'
      'gtkPageSetupSetLeftMargin(object, margin, unit)'
      'gtkPageSetupGetRightMargin(object, unit)'
      'gtkPageSetupSetRightMargin(object, margin, unit)'
      'gtkPageSetupSetPaperSizeAndDefaultMargins(object, size)'
      'gtkPageSetupGetPaperWidth(object, unit)'
      'gtkPageSetupGetPaperHeight(object, unit)'
      'gtkPageSetupGetPageWidth(object, unit)'
      'gtkPageSetupGetPageHeight(object, unit)'
      'gtkPageSetupNewFromFile(file.name, .errwarn = TRUE)'
      'gtkPageSetupNewFromKeyFile(key.file, group.name, .errwarn =
     TRUE)'
      'gtkPageSetupToFile(object, file.name, .errwarn = TRUE)'
      'gtkPageSetupToKeyFile(object, key.file, group.name)'
      'gtkPageSetup()'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GtkPageSetup 

_D_e_t_a_i_l_e_d _D_e_s_c_r_i_p_t_i_o_n:

     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 'GtkPrintOperation' when
     printing.  The benefit of splitting this out of the
     'GtkPrintSettings' is that  these affect the actual layout of the
     page, and thus need to be set  long before user prints. 

     The margins specified in this object are the "print margins", i.e.
     the  parts of the page that the printer cannot print on. These are
     different from the layout margins that a word processor uses; they
     are typically used to determine the _minimal_ size for the layout 
     margins.

     To obtain a 'GtkPageSetup' use 'gtkPageSetupNew' to get the
     defaults, or use 'gtkPrintRunPageSetupDialog' to show  the page
     setup dialog and receive the resulting page setup.

     _A page setup dialog_


     do_page_setup <- function()
     {
       if (is.null(settings))
         settings <- gtkPrintSettings()

       new_page_setup <- gtkPrintRunPageSetupDialog(main_window,
     page_setup,
                                                    settings)

       page_setup <- new_page_setup
     }

      Printing support was added in GTK+ 2.10.

_S_t_r_u_c_t_u_r_e_s:


     '_G_t_k_P_a_g_e_S_e_t_u_p' _undocumented _


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gtkPageSetup' is the equivalent of 'gtkPageSetupNew'.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gtk/GtkPageSetup.html>

