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 |
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 |
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 |
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 |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |