Declaration [src]

gtk_print_settings_get_double_with_default (
  GtkPrintSettings* settings,
  const char* key,
  double def

Description [src]

Returns the floating point number represented by the value that is associated with key, or default_val if the value does not represent a floating point number.

Floating point numbers are parsed with g_ascii_strtod().


key const char*

a key

 The data is owned by the caller of the function
 The string is a NUL terminated UTF-8 string
def double

the default value

Return value

Returns: double

the floating point number associated with key