summaryrefslogtreecommitdiff
path: root/gjs/src/widgets.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-06-16 02:40:29 +0200
committerAylur <[email protected]>2024-06-16 02:40:29 +0200
commitd7884d077d5985a9c653c150cb04bf33e7560415 (patch)
tree056f7ff1040758155bdb2414b041f33a80b3c9ec /gjs/src/widgets.ts
parent49f0ffcd5df6f15e195ece8f3a9a33ef873638ae (diff)
fix(gjs): css, class_name setter
Diffstat (limited to 'gjs/src/widgets.ts')
-rw-r--r--gjs/src/widgets.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/gjs/src/widgets.ts b/gjs/src/widgets.ts
index c731b02..e363da0 100644
--- a/gjs/src/widgets.ts
+++ b/gjs/src/widgets.ts
@@ -12,11 +12,11 @@ export type BoxProps = ConstructProps<typeof Astal.Box, Astal.Box.ConstructorPro
export const Button = astalify<typeof Astal.Button, ButtonProps, "Button">(Astal.Button)
export type ButtonProps = ConstructProps<typeof Astal.Button, Astal.Button.ConstructorProperties, {
onClicked: []
- onClick: [event: Astal.ClickEvent],
- onClickRelease: [event: Astal.ClickEvent],
- onHover: [event: Astal.HoverEvent],
- onHoverLost: [event: Astal.HoverEvent],
- onScroll: [event: Astal.ScrollEvent],
+ onClick: [event: Astal.ClickEvent]
+ onClickRelease: [event: Astal.ClickEvent]
+ onHover: [event: Astal.HoverEvent]
+ onHoverLost: [event: Astal.HoverEvent]
+ onScroll: [event: Astal.ScrollEvent]
}>
// CenterBox
@@ -41,11 +41,11 @@ export type EntryProps = ConstructProps<typeof Gtk.Entry, Gtk.Entry.ConstructorP
// EventBox
export const EventBox = astalify<typeof Astal.EventBox, EventBoxProps, "EventBox">(Astal.EventBox)
export type EventBoxProps = ConstructProps<typeof Astal.EventBox, Astal.EventBox.ConstructorProperties, {
- onClick: [event: Astal.ClickEvent],
- onClickRelease: [event: Astal.ClickEvent],
- onHover: [event: Astal.HoverEvent],
- onHoverLost: [event: Astal.HoverEvent],
- onScroll: [event: Astal.ScrollEvent],
+ onClick: [event: Astal.ClickEvent]
+ onClickRelease: [event: Astal.ClickEvent]
+ onHover: [event: Astal.HoverEvent]
+ onHoverLost: [event: Astal.HoverEvent]
+ onScroll: [event: Astal.ScrollEvent]
}>
// TODO: Fixed