Native UI

This commit is contained in:
Julia Johannesen 2026-03-30 19:39:30 -04:00
parent 2df26b8ce0
commit bf75b8b652
Signed by: julia
GPG key ID: 4A1377AF3E7FBC46
23 changed files with 841 additions and 5 deletions

View file

@ -0,0 +1,22 @@
#include "config.h"
#include "ls-application-window.h"
#include "ls-web-view.h"
struct _LSApplicationWindow {
GtkApplicationWindow parent_instance;
};
G_DEFINE_FINAL_TYPE(LSApplicationWindow, ls_application_window, GTK_TYPE_APPLICATION_WINDOW)
static void ls_application_window_class_init(LSApplicationWindowClass *klass) {
g_type_ensure(LS_TYPE_WEB_VIEW);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS(klass);
gtk_widget_class_set_template_from_resource(widget_class, "/space/arimelody/LiveSchedule/application-window.ui");
}
static void ls_application_window_init(LSApplicationWindow *self) {
gtk_widget_init_template(GTK_WIDGET(self));
}