rosenrot/window.h
2022-05-10 23:47:17 +02:00

23 lines
586 B
C

#pragma once
#include <gtk/gtk.h>
#include <gdk/x11/gdkx.h>
#include "webview.h"
G_BEGIN_DECLS
#define ROSE_TYPE_WINDOW rose_window_get_type()
G_DECLARE_FINAL_TYPE(RoseWindow, rose_window, ROSE, WINDOW, GtkApplicationWindow)
RoseWindow* rose_window_new();
guint rose_window_show(GtkApplication *app, RoseWindow *window);
gboolean rose_window_close(RoseWindow *window);
void rose_window_set_webview(RoseWindow *window, GtkWidget *webview);
GActionGroup* rose_window_get_action_group(RoseWindow *window,
const char *prefix);
G_END_DECLS