From 58fa1ab9be7ee8fd4a8e96865121a54d613978cc Mon Sep 17 00:00:00 2001 From: Aylur Date: Sat, 25 May 2024 14:44:50 +0200 Subject: separate node and gjs into its own package --- gjs/src/index.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gjs/src/index.ts (limited to 'gjs/src/index.ts') diff --git a/gjs/src/index.ts b/gjs/src/index.ts new file mode 100644 index 0000000..2a5d235 --- /dev/null +++ b/gjs/src/index.ts @@ -0,0 +1,18 @@ +import Gtk from "gi://Gtk?version=3.0" +import Astal from "gi://Astal?version=0.1" +import GLib from "gi://GLib?version=2.0" +import GObject from "gi://GObject?version=2.0" +import Gio from "gi://Gio?version=2.0" + +export { subprocess, exec, execAsync } from "./process.js" +export { interval, timeout, idle } from "./time.js" +export { bind } from "./binding.js" +export { Variable } from "./variable.js" +export * as Widget from "./widgets.js" +export { App } from "./application.js" + +// for convinience +export { Astal, Gtk, GLib, GObject, Gio } + +// gjs crashes if a widget is constructed before Gtk.init +Gtk.init(null) -- cgit v1.2.3