/usr/share/vala-0.40/vapi/gtk+-unix-print-3.0.vapi is in valac-0.40-vapi 0.40.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | /* gtk+-unix-print-3.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gtk", gir_namespace = "Gtk", gir_version = "3.0", lower_case_cprefix = "gtk_")]
namespace Gtk {
[CCode (cheader_filename = "gtk/gtkunixprint.h")]
public class PageSetupUnixDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public PageSetupUnixDialog (string title, Gtk.Window parent);
public unowned Gtk.PageSetup get_page_setup ();
public unowned Gtk.PrintSettings get_print_settings ();
public void set_page_setup (Gtk.PageSetup page_setup);
public void set_print_settings (Gtk.PrintSettings print_settings);
}
[CCode (cheader_filename = "gtk/gtkunixprint.h")]
public abstract class PrintBackend : GLib.Object {
}
[CCode (cheader_filename = "gtk/gtkunixprint.h")]
public class PrintJob : GLib.Object {
[CCode (has_construct_function = false)]
public PrintJob (string title, Gtk.Printer printer, Gtk.PrintSettings settings, Gtk.PageSetup page_setup);
public bool get_collate ();
public uint get_n_up ();
public Gtk.NumberUpLayout get_n_up_layout ();
public int get_num_copies ();
public Gtk.PageRange get_page_ranges (int n_ranges);
public Gtk.PageSet get_page_set ();
public Gtk.PrintPages get_pages ();
public unowned Gtk.Printer get_printer ();
public bool get_reverse ();
public bool get_rotate ();
public double get_scale ();
public unowned Gtk.PrintSettings get_settings ();
public Gtk.PrintStatus get_status ();
public unowned Cairo.Surface get_surface () throws GLib.Error;
public unowned string get_title ();
public bool get_track_print_status ();
public void send (owned Gtk.PrintJobCompleteFunc callback);
public void set_collate (bool collate);
public void set_n_up (uint n_up);
public void set_n_up_layout (Gtk.NumberUpLayout layout);
public void set_num_copies (int num_copies);
public void set_page_ranges (Gtk.PageRange[] ranges);
public void set_page_set (Gtk.PageSet page_set);
public void set_pages (Gtk.PrintPages pages);
public void set_reverse (bool reverse);
public void set_rotate (bool rotate);
public void set_scale (double scale);
public bool set_source_fd (int fd) throws GLib.Error;
public bool set_source_file (string filename) throws GLib.Error;
public void set_track_print_status (bool track_status);
[NoAccessorMethod]
public Gtk.PageSetup page_setup { owned get; construct; }
public Gtk.Printer printer { get; construct; }
public Gtk.PrintSettings settings { get; construct; }
public string title { get; construct; }
public bool track_print_status { get; set; }
public virtual signal void status_changed ();
}
[CCode (cheader_filename = "gtk/gtkunixprint.h")]
public class PrintUnixDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public PrintUnixDialog (string title, Gtk.Window parent);
public void add_custom_tab (Gtk.Widget child, Gtk.Widget tab_label);
public int get_current_page ();
public bool get_embed_page_setup ();
public bool get_has_selection ();
public Gtk.PrintCapabilities get_manual_capabilities ();
public unowned Gtk.PageSetup get_page_setup ();
public bool get_page_setup_set ();
public unowned Gtk.Printer get_selected_printer ();
public Gtk.PrintSettings get_settings ();
public bool get_support_selection ();
public void set_current_page (int current_page);
public void set_embed_page_setup (bool embed);
public void set_has_selection (bool has_selection);
public void set_manual_capabilities (Gtk.PrintCapabilities capabilities);
public void set_page_setup (Gtk.PageSetup page_setup);
public void set_settings (Gtk.PrintSettings settings);
public void set_support_selection (bool support_selection);
public int current_page { get; set; }
public bool embed_page_setup { get; set; }
public bool has_selection { get; set; }
public Gtk.PrintCapabilities manual_capabilities { get; set; }
public Gtk.PageSetup page_setup { get; set; }
[NoAccessorMethod]
public Gtk.PrintSettings print_settings { owned get; set; }
public Gtk.Printer selected_printer { get; }
public bool support_selection { get; set; }
}
[CCode (cheader_filename = "gtk/gtkunixprint.h")]
public class Printer : GLib.Object {
[CCode (has_construct_function = false)]
public Printer (string name, Gtk.PrintBackend backend, bool virtual_);
public int compare (Gtk.Printer b);
[CCode (cname = "gtk_printer_accepts_pdf")]
public bool get_accepts_pdf ();
[CCode (cname = "gtk_printer_accepts_ps")]
public bool get_accepts_ps ();
public unowned Gtk.PrintBackend get_backend ();
public Gtk.PrintCapabilities get_capabilities ();
public Gtk.PageSetup get_default_page_size ();
public unowned string get_description ();
public bool get_hard_margins (double top, double bottom, double left, double right);
public unowned string get_icon_name ();
[CCode (cname = "gtk_printer_is_virtual")]
public bool get_is_virtual ();
public int get_job_count ();
public unowned string get_location ();
public unowned string get_name ();
public unowned string get_state_message ();
public bool has_details ();
public bool is_accepting_jobs ();
public bool is_active ();
public bool is_default ();
public bool is_paused ();
public GLib.List<Gtk.PageSetup> list_papers ();
public void request_details ();
[NoAccessorMethod]
public bool accepting_jobs { get; }
[NoAccessorMethod]
public bool accepts_pdf { get; construct; }
[NoAccessorMethod]
public bool accepts_ps { get; construct; }
public Gtk.PrintBackend backend { get; construct; }
public string icon_name { get; }
[NoAccessorMethod]
public bool is_virtual { get; construct; }
public int job_count { get; }
public string location { get; }
public string name { get; construct; }
[NoAccessorMethod]
public bool paused { get; }
public string state_message { get; }
public virtual signal void details_acquired (bool success);
}
[CCode (cheader_filename = "gtk/gtkunixprint.h", cprefix = "GTK_PRINT_CAPABILITY_")]
[Flags]
public enum PrintCapabilities {
PAGE_SET,
COPIES,
COLLATE,
REVERSE,
SCALE,
GENERATE_PDF,
GENERATE_PS,
PREVIEW,
NUMBER_UP,
NUMBER_UP_LAYOUT
}
[CCode (cheader_filename = "gtk/gtkunixprint.h", instance_pos = 1.9)]
public delegate void PrintJobCompleteFunc (Gtk.PrintJob print_job) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtkunixprint.h")]
public delegate bool PrinterFunc (Gtk.Printer printer);
[CCode (cheader_filename = "gtk/gtkunixprint.h")]
public static void enumerate_printers (owned Gtk.PrinterFunc func, bool wait);
}
|