|
0 |
/* xapp.vapi generated by vapigen, do not modify. */
|
|
1 |
|
|
2 |
[CCode (cprefix = "XApp", gir_namespace = "XApp", gir_version = "1.0", lower_case_cprefix = "xapp__")]
|
|
3 |
namespace XApp {
|
|
4 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", type_id = "xapp_gtk_window_get_type ()")]
|
|
5 |
public class GtkWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
|
|
6 |
[CCode (cname = "xapp_gtk_window_new", has_construct_function = false, type = "GtkWidget*")]
|
|
7 |
public GtkWindow (Gtk.WindowType type);
|
|
8 |
[CCode (cname = "xapp_gtk_window_set_icon_from_file")]
|
|
9 |
public void set_icon_from_file (string? file_name) throws GLib.Error;
|
|
10 |
[CCode (cname = "xapp_gtk_window_set_icon_name")]
|
|
11 |
public void set_icon_name (string? icon_name);
|
|
12 |
[CCode (cname = "xapp_gtk_window_set_progress")]
|
|
13 |
public void set_progress (int progress);
|
|
14 |
[CCode (cname = "xapp_gtk_window_set_progress_pulse")]
|
|
15 |
public void set_progress_pulse (bool pulse);
|
|
16 |
}
|
|
17 |
[CCode (cheader_filename = "libxapp/xapp-kbd-layout-controller.h", type_id = "xapp_kbd_layout_controller_get_type ()")]
|
|
18 |
public class KbdLayoutController : GLib.Object {
|
|
19 |
[CCode (cname = "xapp_kbd_layout_controller_new", has_construct_function = false)]
|
|
20 |
public KbdLayoutController ();
|
|
21 |
[CCode (array_length = false, array_null_terminated = true, cname = "xapp_kbd_layout_controller_get_all_names")]
|
|
22 |
public unowned string[] get_all_names ();
|
|
23 |
[CCode (cname = "xapp_kbd_layout_controller_get_current_flag_id")]
|
|
24 |
public int get_current_flag_id ();
|
|
25 |
[CCode (cname = "xapp_kbd_layout_controller_get_current_group")]
|
|
26 |
public uint get_current_group ();
|
|
27 |
[CCode (cname = "xapp_kbd_layout_controller_get_current_icon_name")]
|
|
28 |
public string get_current_icon_name ();
|
|
29 |
[CCode (cname = "xapp_kbd_layout_controller_get_current_name")]
|
|
30 |
public string get_current_name ();
|
|
31 |
[CCode (cname = "xapp_kbd_layout_controller_get_current_short_group_label")]
|
|
32 |
public string get_current_short_group_label ();
|
|
33 |
[CCode (cname = "xapp_kbd_layout_controller_get_current_variant_label")]
|
|
34 |
public string get_current_variant_label ();
|
|
35 |
[CCode (cname = "xapp_kbd_layout_controller_get_enabled")]
|
|
36 |
public bool get_enabled ();
|
|
37 |
[CCode (cname = "xapp_kbd_layout_controller_get_flag_id_for_group")]
|
|
38 |
public int get_flag_id_for_group (uint group);
|
|
39 |
[CCode (cname = "xapp_kbd_layout_controller_get_icon_name_for_group")]
|
|
40 |
public string get_icon_name_for_group (uint group);
|
|
41 |
[CCode (cname = "xapp_kbd_layout_controller_get_short_group_label_for_group")]
|
|
42 |
public string get_short_group_label_for_group (uint group);
|
|
43 |
[CCode (cname = "xapp_kbd_layout_controller_get_variant_label_for_group")]
|
|
44 |
public string get_variant_label_for_group (uint group);
|
|
45 |
[CCode (cname = "xapp_kbd_layout_controller_next_group")]
|
|
46 |
public void next_group ();
|
|
47 |
[CCode (cname = "xapp_kbd_layout_controller_previous_group")]
|
|
48 |
public void previous_group ();
|
|
49 |
[CCode (cname = "xapp_kbd_layout_controller_render_cairo_subscript")]
|
|
50 |
public static void render_cairo_subscript (Cairo.Context cr, double x, double y, double width, double height, int subscript);
|
|
51 |
[CCode (cname = "xapp_kbd_layout_controller_set_current_group")]
|
|
52 |
public void set_current_group (uint group);
|
|
53 |
[NoAccessorMethod]
|
|
54 |
public bool enabled { get; }
|
|
55 |
public signal void config_changed ();
|
|
56 |
public signal void layout_changed (uint object);
|
|
57 |
}
|
|
58 |
[CCode (cheader_filename = "libxapp/xapp-monitor-blanker.h", type_id = "xapp_monitor_blanker_get_type ()")]
|
|
59 |
public class MonitorBlanker : GLib.Object {
|
|
60 |
[CCode (cname = "xapp_monitor_blanker_new", has_construct_function = false)]
|
|
61 |
public MonitorBlanker ();
|
|
62 |
[CCode (cname = "xapp_monitor_blanker_are_monitors_blanked")]
|
|
63 |
public bool are_monitors_blanked ();
|
|
64 |
[CCode (cname = "xapp_monitor_blanker_blank_other_monitors")]
|
|
65 |
public void blank_other_monitors (Gtk.Window window);
|
|
66 |
[CCode (cname = "xapp_monitor_blanker_unblank_monitors")]
|
|
67 |
public void unblank_monitors ();
|
|
68 |
}
|
|
69 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h")]
|
|
70 |
[SimpleType]
|
|
71 |
public struct GtkWindow_autoptr {
|
|
72 |
}
|
|
73 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_icon_from_file")]
|
|
74 |
public static void set_window_icon_from_file (Gtk.Window window, string? file_name) throws GLib.Error;
|
|
75 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_icon_name")]
|
|
76 |
public static void set_window_icon_name (Gtk.Window window, string? icon_name);
|
|
77 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_progress")]
|
|
78 |
public static void set_window_progress (Gtk.Window window, int progress);
|
|
79 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_window_progress_pulse")]
|
|
80 |
public static void set_window_progress_pulse (Gtk.Window window, bool pulse);
|
|
81 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_icon_from_file")]
|
|
82 |
public static void set_xid_icon_from_file (ulong xid, string? file_name);
|
|
83 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_icon_name")]
|
|
84 |
public static void set_xid_icon_name (ulong xid, string? icon_name);
|
|
85 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_progress")]
|
|
86 |
public static void set_xid_progress (ulong xid, int progress);
|
|
87 |
[CCode (cheader_filename = "libxapp/xapp-gtk-window.h", cname = "xapp_set_xid_progress_pulse")]
|
|
88 |
public static void set_xid_progress_pulse (ulong xid, bool pulse);
|
|
89 |
}
|