WebKit2.PrintOperation.prototype.get_print_settings

function get_print_settings(): Gtk.PrintSettings {
    // Gjs wrapper for webkit_print_operation_get_print_settings()
}
  

Return the current print settings of print_operation. It returns null until either WebKit2.PrintOperation.prototype.set_print_settings or WebKit2.PrintOperation.prototype.run_dialog have been called.

Returns

the current Gtk.PrintSettings of print_operation.