GObject.Object
Gtk.PrintSettings
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkPrintSettings |
Class : | PrintSettings |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.PrintSettings
()
Create a new Gtk.PrintSettings
Create a new Gtk.PrintSettings
|
||
Create a new Gtk.PrintSettings
Create a new Gtk.PrintSettings
|
||
Create a new Gtk.PrintSettings
Create a new Gtk.PrintSettings
|
||
copy
()
:
Gtk.PrintSettings
Copies a GtkPrintSettings object.
Copies a GtkPrintSettings object.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
Gtk.PrintSettings | ||
Gtk.PrintSettings | ||
get_collate
()
:
Boolean
Gets the value of GTK_PRINT_SETTINGS_COLLATE.
Gets the value of GTK_PRINT_SETTINGS_COLLATE.
|
Gtk.PrintSettings | |
get_default_source
()
:
String
Gets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE.
Gets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE.
|
Gtk.PrintSettings | |
get_dither
()
:
String
Gets the value of GTK_PRINT_SETTINGS_DITHER.
Gets the value of GTK_PRINT_SETTINGS_DITHER.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
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.
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().
|
Gtk.PrintSettings | |
get_duplex
()
:
Gtk.PrintDuplex
Gets the value of GTK_PRINT_SETTINGS_DUPLEX.
Gets the value of GTK_PRINT_SETTINGS_DUPLEX.
|
Gtk.PrintSettings | |
get_finishings
()
:
String
Gets the value of GTK_PRINT_SETTINGS_FINISHINGS.
Gets the value of GTK_PRINT_SETTINGS_FINISHINGS.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
Gtk.PrintSettings | ||
Gtk.PrintSettings | ||
get_media_type
()
:
String
Gets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE.
Gets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE. The set of media types is defined in PWG 5101.1-2002 PWG.
|
Gtk.PrintSettings | |
get_n_copies
()
:
Number
Gets the value of GTK_PRINT_SETTINGS_N_COPIES.
Gets the value of GTK_PRINT_SETTINGS_N_COPIES.
|
Gtk.PrintSettings | |
get_number_up
()
:
Number
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP.
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP.
|
Gtk.PrintSettings | |
get_number_up_layout
()
:
Gtk.NumberUpLayout
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT.
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT.
|
Gtk.PrintSettings | |
get_orientation
()
:
Gtk.PageOrientation
Get the value of GTK_PRINT_SETTINGS_ORIENTATION, converted to a GtkPageOrientation.
Get the value of GTK_PRINT_SETTINGS_ORIENTATION, converted to a GtkPageOrientation.
|
Gtk.PrintSettings | |
get_output_bin
()
:
String
Gets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN.
Gets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN.
|
Gtk.PrintSettings | |
get_page_ranges
(Object out_values)
:
Gtk.PageRange
Gets the value of GTK_PRINT_SETTINGS_PAGE_RANGES.
Gets the value of GTK_PRINT_SETTINGS_PAGE_RANGES. to free the array when it is no longer needed.
|
Gtk.PrintSettings | |
get_page_set
()
:
Gtk.PageSet
Gets the value of GTK_PRINT_SETTINGS_PAGE_SET.
Gets the value of GTK_PRINT_SETTINGS_PAGE_SET.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
get_paper_size
()
:
Gtk.PaperSize
Gets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, converted to a GtkPaperSize.
Gets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, converted to a GtkPaperSize.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
get_print_pages
()
:
Gtk.PrintPages
Gets the value of GTK_PRINT_SETTINGS_PRINT_PAGES.
Gets the value of GTK_PRINT_SETTINGS_PRINT_PAGES.
|
Gtk.PrintSettings | |
get_printer
()
:
String
Convenience function to obtain the value of GTK_PRINT_SETTINGS_PRINTER.
Convenience function to obtain the value of GTK_PRINT_SETTINGS_PRINTER.
|
Gtk.PrintSettings | |
get_printer_lpi
()
:
Number
Gets the value of GTK_PRINT_SETTINGS_PRINTER_LPI.
Gets the value of GTK_PRINT_SETTINGS_PRINTER_LPI.
|
Gtk.PrintSettings | |
get_quality
()
:
Gtk.PrintQuality
Gets the value of GTK_PRINT_SETTINGS_QUALITY.
Gets the value of GTK_PRINT_SETTINGS_QUALITY.
|
Gtk.PrintSettings | |
get_resolution
()
:
Number
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION.
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION.
|
Gtk.PrintSettings | |
get_resolution_x
()
:
Number
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_X.
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_X.
|
Gtk.PrintSettings | |
get_resolution_y
()
:
Number
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_Y.
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_Y.
|
Gtk.PrintSettings | |
get_reverse
()
:
Boolean
Gets the value of GTK_PRINT_SETTINGS_REVERSE.
Gets the value of GTK_PRINT_SETTINGS_REVERSE.
|
Gtk.PrintSettings | |
get_scale
()
:
Number
Gets the value of GTK_PRINT_SETTINGS_SCALE.
Gets the value of GTK_PRINT_SETTINGS_SCALE.
|
Gtk.PrintSettings | |
get_use_color
()
:
Boolean
Gets the value of GTK_PRINT_SETTINGS_USE_COLOR.
Gets the value of GTK_PRINT_SETTINGS_USE_COLOR.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
Gtk.PrintSettings | ||
Reads the print settings from the group group_name in key_file.
Reads the print settings from the group group_name in key_file. If the file could not be loaded then error is set to either a GFileError or GKeyFileError.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
Gtk.PrintSettings | ||
set_collate
(Boolean collate)
:
none
Sets the value of GTK_PRINT_SETTINGS_COLLATE.
Sets the value of GTK_PRINT_SETTINGS_COLLATE.
|
Gtk.PrintSettings | |
set_default_source
(String default_source)
:
none
Sets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE.
Sets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE.
|
Gtk.PrintSettings | |
set_dither
(String dither)
:
none
Sets the value of GTK_PRINT_SETTINGS_DITHER.
Sets the value of GTK_PRINT_SETTINGS_DITHER.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
set_duplex
(PrintDuplex duplex)
:
none
Sets the value of GTK_PRINT_SETTINGS_DUPLEX.
Sets the value of GTK_PRINT_SETTINGS_DUPLEX.
|
Gtk.PrintSettings | |
set_finishings
(String finishings)
:
none
Sets the value of GTK_PRINT_SETTINGS_FINISHINGS.
Sets the value of GTK_PRINT_SETTINGS_FINISHINGS.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
Gtk.PrintSettings | ||
set_media_type
(String media_type)
:
none
Sets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE.
Sets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE. The set of media types is defined in PWG 5101.1-2002 PWG.
|
Gtk.PrintSettings | |
set_n_copies
(Number num_copies)
:
none
Sets the value of GTK_PRINT_SETTINGS_N_COPIES.
Sets the value of GTK_PRINT_SETTINGS_N_COPIES.
|
Gtk.PrintSettings | |
set_number_up
(Number number_up)
:
none
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP.
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP.
|
Gtk.PrintSettings | |
set_number_up_layout
(NumberUpLayout number_up_layout)
:
none
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT.
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT.
|
Gtk.PrintSettings | |
set_orientation
(PageOrientation orientation)
:
none
Sets the value of GTK_PRINT_SETTINGS_ORIENTATION.
Sets the value of GTK_PRINT_SETTINGS_ORIENTATION.
|
Gtk.PrintSettings | |
set_output_bin
(String output_bin)
:
none
Sets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN.
Sets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN.
|
Gtk.PrintSettings | |
Sets the value of GTK_PRINT_SETTINGS_PAGE_RANGES.
Sets the value of GTK_PRINT_SETTINGS_PAGE_RANGES.
|
Gtk.PrintSettings | |
set_page_set
(PageSet page_set)
:
none
Sets the value of GTK_PRINT_SETTINGS_PAGE_SET.
Sets the value of GTK_PRINT_SETTINGS_PAGE_SET.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
set_paper_size
(PaperSize paper_size)
:
none
Sets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, GTK_PRINT_SETTINGS_PAPER_WIDTH and GTK_PRINT_SETTINGS_PAPER_HEIGHT.
Sets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, GTK_PRINT_SETTINGS_PAPER_WIDTH and GTK_PRINT_SETTINGS_PAPER_HEIGHT.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
set_print_pages
(PrintPages pages)
:
none
Sets the value of GTK_PRINT_SETTINGS_PRINT_PAGES.
Sets the value of GTK_PRINT_SETTINGS_PRINT_PAGES.
|
Gtk.PrintSettings | |
set_printer
(String printer)
:
none
Convenience function to set GTK_PRINT_SETTINGS_PRINTER to printer.
Convenience function to set GTK_PRINT_SETTINGS_PRINTER to printer.
|
Gtk.PrintSettings | |
set_printer_lpi
(Number lpi)
:
none
Sets the value of GTK_PRINT_SETTINGS_PRINTER_LPI.
Sets the value of GTK_PRINT_SETTINGS_PRINTER_LPI.
|
Gtk.PrintSettings | |
set_quality
(PrintQuality quality)
:
none
Sets the value of GTK_PRINT_SETTINGS_QUALITY.
Sets the value of GTK_PRINT_SETTINGS_QUALITY.
|
Gtk.PrintSettings | |
set_resolution
(Number resolution)
:
none
Sets the values of GTK_PRINT_SETTINGS_RESOLUTION, GTK_PRINT_SETTINGS_RESOLUTION_X and GTK_PRINT_SETTINGS_RESOLUTION_Y.
Sets the values of GTK_PRINT_SETTINGS_RESOLUTION, GTK_PRINT_SETTINGS_RESOLUTION_X and GTK_PRINT_SETTINGS_RESOLUTION_Y.
|
Gtk.PrintSettings | |
Sets the values of GTK_PRINT_SETTINGS_RESOLUTION, GTK_PRINT_SETTINGS_RESOLUTION_X and GTK_PRINT_SETTINGS_RESOLUTION_Y.
|
Gtk.PrintSettings | |
set_reverse
(Boolean reverse)
:
none
Sets the value of GTK_PRINT_SETTINGS_REVERSE.
Sets the value of GTK_PRINT_SETTINGS_REVERSE.
|
Gtk.PrintSettings | |
set_scale
(Number scale)
:
none
Sets the value of GTK_PRINT_SETTINGS_SCALE.
Sets the value of GTK_PRINT_SETTINGS_SCALE.
|
Gtk.PrintSettings | |
set_use_color
(Boolean use_color)
:
none
Sets the value of GTK_PRINT_SETTINGS_USE_COLOR.
Sets the value of GTK_PRINT_SETTINGS_USE_COLOR.
|
Gtk.PrintSettings | |
Gtk.PrintSettings | ||
This function adds the print settings from settings to key_file.
This function adds the print settings from settings to key_file.
|
Gtk.PrintSettings | |
unset
(String key)
:
none
Removes any value associated with key.
Removes any value associated with key. This has the same effect as setting the value to NULL.
|
Gtk.PrintSettings |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Epiphany.EphyEmbedShell
Method |
set_print_settings
(PrintSettings settings)
:
none
|
Epiphany.EphyEmbedShell
Method |
get_print_settings
()
:
Gtk.PrintSettings
|
Gtk
Method |
Gtk.print_run_page_setup_dialog
(Window parent, PageSetup page_setup, PrintSettings settings)
:
Gtk.PageSetup
Runs a page setup dialog, letting the user modify the values from is identical to the passed in page_setup, otherwise it contains the modifications done in the dialog.
|
Gtk
Method |
Gtk.print_run_page_setup_dialog_async
(Window parent, PageSetup page_setup, PrintSettings settings, Function done_cb, void* data)
:
none
Runs a page setup dialog, letting the user modify the values from page_setup.
|
Gtk.PrintOperation
Property |
print_settings : Gtk.PrintSettings
The GtkPrintSettings used for initializing the dialog.
|
Gtk.PrintOperation
Signal |
update_custom_widget
(PrintOperation self, Widget widget, PageSetup setup, PrintSettings settings)
:
none
Emitted after change of selected printer.
|
Gtk.PrintOperation
Method |
set_print_settings
(PrintSettings print_settings)
:
none
Sets the print settings for op.
|
Gtk.PrintOperation
Method |
get_print_settings
()
:
Gtk.PrintSettings
Returns the current print settings.
|