rosenrot/window.h
2022-05-10 17:35:37 +02:00

22 lines
538 B
C

#pragma once
#include <gtk/gtk.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();
void rose_window_show(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