diff options
Diffstat (limited to 'core/gjs/src/widgets.ts')
-rw-r--r-- | core/gjs/src/widgets.ts | 5 |
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> |