nixos-configs/nixosModules/ags/config/widgets/on-screen-keyboard/osk-window.tsx
matt1432 524a2a6de9
All checks were successful
Discord / discord commits (push) Has been skipped
feat(ags): init migration of osk
2024-11-25 12:09:03 -05:00

21 lines
579 B
TypeScript

import { App, Widget } from 'astal/gtk3';
import { register } from 'astal/gobject';
@register()
export default class OskWindow extends Widget.Window {
public startY: number | null = null;
declare public setVisible: (state: boolean) => void;
declare public killGestureSigs: () => void;
declare public setSlideUp: () => void;
declare public setSlideDown: () => void;
get_child(): Widget.Box {
return super.get_child() as Widget.Box;
}
constructor({ ...rest }: Widget.WindowProps) {
super({ application: App, ...rest });
}
}