Function
Gtk.PaperSize.new_custom
Declaration [src]
GtkPaperSize*
gtk_paper_size_new_custom (
  const char* name,
  const char* display_name,
  double width,
  double height,
  GtkUnit unit
)
Parameters
| name | const char* | 
| the paper name | |
| Ownership is not transferred to the callee | |
| The string is a NUL terminated UTF-8 string | |
| display_name | const char* | 
| the human-readable name | |
| Ownership is not transferred to the callee | |
| The string is a NUL terminated UTF-8 string | |
| width | double | 
| the paper width, in units of  | |
| height | double | 
| the paper height, in units of  | |
| unit | GtkUnit | 
| the unit for  | 
Return value
| Returns: GtkPaperSize | |
| a new  | |
| Ownership of the data is transferred to the caller | |