summaryrefslogtreecommitdiff
path: root/core/gjs/src/widgets.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-02 14:48:18 +0200
committerGitHub <[email protected]>2024-09-02 14:48:18 +0200
commitbf639c4e0bcd6a8625275bb62662cb7725b5ace7 (patch)
treeafdc7ae76cd9476540f3a5d14c192db20242ed82 /core/gjs/src/widgets.ts
parent292723065d5f6f742d11bec3498ef60b33979daa (diff)
parent4891da8cc426a2c88d6f6dbb45fd5ce6b5d3c8c6 (diff)
Merge pull request #3 from Aylur/feat/circular_progress
fixes circular progress widgets
Diffstat (limited to 'core/gjs/src/widgets.ts')
-rw-r--r--core/gjs/src/widgets.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/gjs/src/widgets.ts b/core/gjs/src/widgets.ts
index 82d4708..0a71d8b 100644
--- a/core/gjs/src/widgets.ts
+++ b/core/gjs/src/widgets.ts
@@ -26,7 +26,11 @@ export type CenterBox = Widget<Astal.CenterBox>
export const CenterBox = astalify<typeof Astal.CenterBox, CenterBoxProps, "CenterBox">(Astal.CenterBox)
export type CenterBoxProps = ConstructProps<Astal.CenterBox, Astal.CenterBox.ConstructorProps>
-// TODO: CircularProgress
+// CircularProgress
+export type CircularProgress = Widget<Astal.CircularProgress>
+export const CircularProgress = astalify<typeof Astal.CircularProgress, CircularProgressProps, "CircularProgress">(Astal.CircularProgress)
+export type CircularProgressProps = ConstructProps<Astal.CircularProgress, Astal.CircularProgress.ConstructorProps>
+
// DrawingArea
export type DrawingArea = Widget<Gtk.DrawingArea>