import { GObject } from "astal"; import { astalify, ConstructProps, App, Astal, Gdk, Gtk } from "astal/gtk3" class CalendarGtk extends astalify(Gtk.Calendar) { static { GObject.registerClass(this); } constructor( props: ConstructProps, ) { super(props as any); } } export default function Calendar() { const anchor = Astal.WindowAnchor.TOP | Astal.WindowAnchor.RIGHT return {new CalendarGtk({ hexpand: true, vexpand: true, showDayNames: true, showDetails: false, showHeading: true, showWeekNumbers: true })} }