summaryrefslogtreecommitdiff
path: root/gjs/index.ts
blob: f5c35a6211babdadb677f2355c8fe7b0771ab3bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Gtk } from "./src/imports.js"

declare global {
    const console: {
        error(...args: any[]): void
        log(...args: any[]): void
    }
}

export * from "./src/imports.js"
export * from "./src/process.js"
export * from "./src/time.js"
export * from "./src/file.js"
export { bind, default as Binding } from "./src/binding.js"
export { Variable } from "./src/variable.js"
export * as Widget from "./src/widgets.js"
export { default as App } from "./src/application.js"

// gjs crashes if a widget is constructed before Gtk.init
Gtk.init(null)