15 lines
404 B
TypeScript
15 lines
404 B
TypeScript
|
import { astalify, Gtk, type ConstructProps } from 'astal/gtk3';
|
||
|
import { register } from 'astal/gobject';
|
||
|
|
||
|
|
||
|
@register()
|
||
|
export class ToggleButton extends astalify(Gtk.ToggleButton) {
|
||
|
constructor(props: ConstructProps<
|
||
|
ToggleButton,
|
||
|
Gtk.ToggleButton.ConstructorProps
|
||
|
>) {
|
||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||
|
super(props as any);
|
||
|
}
|
||
|
}
|