summaryrefslogtreecommitdiff
path: root/lib/astal/gtk3/src/vapi/AstalInhibitManager.vapi
blob: 6232a3c565c92f507a2c2652ce8b02dc642861a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[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 {
    }
}