rosenrot/window.h

22 lines
538 B
C
Raw Normal View History

2022-05-10 15:35:37 +00:00
#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