WebKit2.PrintOperation.prototype.get_page_setup

function get_page_setup(): Gtk.PageSetup {
    // Gjs wrapper for webkit_print_operation_get_page_setup()
}
  

Return the current page setup of print_operation. It returns null until either WebKit2.PrintOperation.prototype.set_page_setup or WebKit2.PrintOperation.prototype.run_dialog have been called.

Returns

the current Gtk.PageSetup of print_operation.