Method

Gtk.PrintSettings.set_media_type

Declaration [src]

void
gtk_print_settings_set_media_type (
  GtkPrintSettings* settings,
  const char* 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.

Parameters

media_type const char*
 

the media type

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