/
window.cljs
40 lines (26 loc) · 1.36 KB
/
window.cljs
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
(ns chromex.app.app.window (:require-macros [chromex.app.app.window :refer [gen-wrap]])
(:require [chromex.core]))
; -- functions --------------------------------------------------------------------------------------------------------------
(defn create* [config url options]
(gen-wrap :function ::create config url options))
(defn current* [config]
(gen-wrap :function ::current config))
(defn get-all* [config]
(gen-wrap :function ::get-all config))
(defn get* [config id]
(gen-wrap :function ::get config id))
(defn can-set-visible-on-all-workspaces* [config]
(gen-wrap :function ::can-set-visible-on-all-workspaces config))
; -- events -----------------------------------------------------------------------------------------------------------------
(defn on-bounds-changed* [config channel & args]
(gen-wrap :event ::on-bounds-changed config channel args))
(defn on-closed* [config channel & args]
(gen-wrap :event ::on-closed config channel args))
(defn on-fullscreened* [config channel & args]
(gen-wrap :event ::on-fullscreened config channel args))
(defn on-maximized* [config channel & args]
(gen-wrap :event ::on-maximized config channel args))
(defn on-minimized* [config channel & args]
(gen-wrap :event ::on-minimized config channel args))
(defn on-restored* [config channel & args]
(gen-wrap :event ::on-restored config channel args))