Gtk.PrintOperation.prototype.get_has_selection

function get_has_selection():Boolean {
    // Gjs wrapper for gtk_print_operation_get_has_selection()
}

Gets the value of Gtk.has-selection property.

Since 2.18

Returns

whether there is a selection