summaryrefslogtreecommitdiff
path: root/core/gjs/src/widgets.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-11 22:39:15 +0000
committerAylur <[email protected]>2024-09-11 22:39:15 +0000
commitd203255ec20bb6e3b2917dd4aee53dee3a090137 (patch)
tree40d8211a238629a99d3588c0d06215d53135fc3d /core/gjs/src/widgets.ts
parent137345755c1c02d4766f1788198096013df9080c (diff)
add: stack widget
Diffstat (limited to 'core/gjs/src/widgets.ts')
-rw-r--r--core/gjs/src/widgets.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/gjs/src/widgets.ts b/core/gjs/src/widgets.ts
index 0a71d8b..82d3b8f 100644
--- a/core/gjs/src/widgets.ts
+++ b/core/gjs/src/widgets.ts
@@ -100,7 +100,10 @@ export type SliderProps = ConstructProps<Astal.Slider, Astal.Slider.ConstructorP
onDragged: []
}>
-// TODO: Stack
+// Stack
+export type Stack = Widget<Astal.Stack>
+export const Stack = astalify<typeof Astal.Stack, StackProps, "Stack">(Astal.Stack)
+export type StackProps = ConstructProps<Astal.Stack, Astal.Stack.ConstructorProps>
// Switch
export type Switch = Widget<Gtk.Switch>