2022-05-10 15:35:37 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-05-13 16:41:48 +00:00
|
|
|
#include "rose.h"
|
|
|
|
|
2022-05-10 15:35:37 +00:00
|
|
|
#include <gtk/gtk.h>
|
2022-05-10 21:47:17 +00:00
|
|
|
#include <gdk/x11/gdkx.h>
|
2022-05-10 15:35:37 +00:00
|
|
|
|
|
|
|
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();
|
2022-05-11 01:26:23 +00:00
|
|
|
guint rose_window_show(GtkApplication *app, RoseWindow *window, const char *url);
|
2022-05-10 15:35:37 +00:00
|
|
|
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
|