blob: 651e593d184bc46e0516476988b38d4a92cba619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
namespace AstalSway {
public class Window : Container {
public string app_id { get; private set; }
public string shell { get; private set; }
public int pid { get; private set; }
public bool visible { get; private set; }
public bool inhibit_idle { get; private set; }
public Window() {
node_type = NodeType.WINDOW;
}
internal override void sync(Json.Object obj) {
app_id = obj.get_string_member("app_id");
shell = obj.get_string_member("shell");
pid = (int)obj.get_int_member("pid");
visible = obj.get_boolean_member("visible");
inhibit_idle = obj.get_boolean_member("inhibit_idle");
base.sync(obj);
}
}
}
|