summaryrefslogtreecommitdiff
path: root/lib/astal/gtk3/src/vapi/AstalInhibitManager.vapi
blob: b2b3b349dd389b8fd3b574974aa4e808fab09577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[CCode (cprefix = "Astal", gir_namespace = "Astal", lower_case_cprefix = "astal_")]
namespace Astal {
    [CCode (cheader_filename = "idle-inhibit.h", type_id = "astal_idle_inhibit_manager_get_type()")]
    public class InhibitManager : GLib.Object {
        public static unowned InhibitManager? get_default();
        public Inhibitor inhibit (Gtk.Window window);
    }

    [CCode (cheader_filename = "idle-inhibit.h", free_function = "zwp_idle_inhibitor_v1_destroy")]
    [Compact]
    public class Inhibitor { }
}