Function
GtkPaperSizenew_custom
Declaration [src]
GtkPaperSize*
gtk_paper_size_new_custom (
  const char* name,
  const char* display_name,
  double width,
  double height,
  GtkUnit unit
)
      Parameters
name- 
            
Type:
const char*The paper name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  display_name- 
            
Type:
const char*The human-readable name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  width- 
            
Type:
doubleThe paper width, in units of
unit. height- 
            
Type:
doubleThe paper height, in units of
unit. unit- 
            
Type:
GtkUnitThe unit for
widthandheight. notGTK_UNIT_NONE. 
Return value
Type: GtkPaperSize
A new GtkPaperSize object, use gtk_paper_size_free()
to free it.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |