parent
9c01cbd74c
commit
936e9aacb0
11 changed files with 214 additions and 17 deletions
nixosModules/ags/config/widgets/misc
|
@ -13,6 +13,17 @@ export class ToggleButton extends astalify(Gtk.ToggleButton) {
|
|||
}
|
||||
}
|
||||
|
||||
@register()
|
||||
export class RadioButton extends astalify(Gtk.RadioButton) {
|
||||
constructor(props: ConstructProps<
|
||||
RadioButton,
|
||||
Gtk.RadioButton.ConstructorProps
|
||||
> = {}) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
super(props as any);
|
||||
}
|
||||
}
|
||||
|
||||
@register()
|
||||
export class ListBox extends astalify(Gtk.ListBox) {
|
||||
override get_children() {
|
||||
|
@ -22,7 +33,18 @@ export class ListBox extends astalify(Gtk.ListBox) {
|
|||
constructor(props: ConstructProps<
|
||||
ListBox,
|
||||
Gtk.ListBox.ConstructorProps
|
||||
>) {
|
||||
> = {}) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
super(props as any);
|
||||
}
|
||||
}
|
||||
|
||||
@register()
|
||||
export class ProgressBar extends astalify(Gtk.ProgressBar) {
|
||||
constructor(props: ConstructProps<
|
||||
ProgressBar,
|
||||
Gtk.ProgressBar.ConstructorProps
|
||||
> = {}) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
super(props as any);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue