rosenrot/window.h

19 lines
496 B
C
Raw Permalink Normal View History

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
#define ROSE_TYPE_WINDOW rose_window_get_type()
G_DECLARE_FINAL_TYPE(RoseWindow, rose_window, ROSE, WINDOW, GtkApplicationWindow)
/* Create a new GObject, which is our window. */
2022-05-10 15:35:37 +00:00
RoseWindow* rose_window_new();
/* Set up all the things and show the window. */
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
void rose_window_set_webview(RoseWindow *window, GtkWidget *webview);