Method

GtkPrintSettingsget_page_ranges

Declaration [src]

GtkPageRange*
gtk_print_settings_get_page_ranges (
  GtkPrintSettings* settings,
  int* num_ranges
)

Description [src]

Gets the value of GTK_PRINT_SETTINGS_PAGE_RANGES.

Parameters

num_ranges

Type: int*

Return location for the length of the returned array.

The argument will be set by the function.

Return value

Type: An array of GtkPageRange

An array of GtkPageRanges. Use g_free() to free the array when it is no longer needed.

The length of the array is in the num_ranges argument.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.