Function

GtkPaperSizeget_paper_sizes

since: 2.12

Declaration [src]

GList*
gtk_paper_size_get_paper_sizes (
  gboolean include_custom
)

Description [src]

Creates a list of known paper sizes.

Available since: 2.12

Parameters

include_custom

Type: gboolean

Whether to include custom paper sizes as defined in the page setup dialog.

Return value

Type: A list of GtkPaperSize*

A newly allocated list of newly allocated GtkPaperSize objects.

The caller of the function takes ownership of the data, and is responsible for freeing it.