Method

GtkPrintSettingsget_int_with_default

since: 2.10

Declaration [src]

gint
gtk_print_settings_get_int_with_default (
  GtkPrintSettings* settings,
  const gchar* key,
  gint def
)

Description [src]

Returns the value of key, interpreted as an integer, or the default value.

Available since: 2.10

Parameters

key

Type: const gchar*

A key.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
def

Type: gint

The default value.

Return value

Type: gint

The integer value of key.