summaryrefslogtreecommitdiff
path: root/gjs/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'gjs/index.ts')
-rw-r--r--gjs/index.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/gjs/index.ts b/gjs/index.ts
new file mode 100644
index 0000000..092f213
--- /dev/null
+++ b/gjs/index.ts
@@ -0,0 +1,12 @@
+import { Gtk } from "./src/imports.js"
+
+export * from "./src/imports.js"
+export * from "./src/process.js"
+export * from "./src/time.js"
+export { bind } from "./src/binding.js"
+export { Variable } from "./src/variable.js"
+export * as Widget from "./src/widgets.js"
+export { App } from "./src/application.js"
+
+// gjs crashes if a widget is constructed before Gtk.init
+Gtk.init(null)