Method

GtkPrintSettingsget_length

since: 2.10

Declaration [src]

gdouble
gtk_print_settings_get_length (
  GtkPrintSettings* settings,
  const gchar* key,
  GtkUnit unit
)

Description [src]

Returns the value associated with key, interpreted as a length. The returned value is converted to units.

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.
unit

Type: GtkUnit

The unit of the return value.

Return value

Type: gdouble

The length value of key, converted to unit.