Method

GtkPrintSettingsset_media_type

since: 2.10

Declaration [src]

void
gtk_print_settings_set_media_type (
  GtkPrintSettings* settings,
  const gchar* media_type
)

Description [src]

Sets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE.

The set of media types is defined in PWG 5101.1-2002 PWG.

Available since: 2.10

Parameters

media_type

Type: const gchar*

The media type.

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