summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/src/hdy-window-mixin-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/libhandy/src/hdy-window-mixin-private.h')
-rw-r--r--subprojects/libhandy/src/hdy-window-mixin-private.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/subprojects/libhandy/src/hdy-window-mixin-private.h b/subprojects/libhandy/src/hdy-window-mixin-private.h
new file mode 100644
index 0000000..27ce713
--- /dev/null
+++ b/subprojects/libhandy/src/hdy-window-mixin-private.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2020 Alexander Mikhaylenko <alexm@gnome.org>
+ *
+ * SPDX-License-Identifier: LGPL-2.1+
+ */
+
+#pragma once
+
+#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
+#error "Only <handy.h> can be included directly."
+#endif
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+#define HDY_TYPE_WINDOW_MIXIN (hdy_window_mixin_get_type())
+
+G_DECLARE_FINAL_TYPE (HdyWindowMixin, hdy_window_mixin, HDY, WINDOW_MIXIN, GObject)
+
+HdyWindowMixin *hdy_window_mixin_new (GtkWindow *window,
+ GtkWindowClass *klass);
+
+void hdy_window_mixin_add (HdyWindowMixin *self,
+ GtkWidget *widget);
+void hdy_window_mixin_remove (HdyWindowMixin *self,
+ GtkWidget *widget);
+void hdy_window_mixin_forall (HdyWindowMixin *self,
+ gboolean include_internals,
+ GtkCallback callback,
+ gpointer callback_data);
+
+gboolean hdy_window_mixin_draw (HdyWindowMixin *self,
+ cairo_t *cr);
+void hdy_window_mixin_destroy (HdyWindowMixin *self);
+
+void hdy_window_mixin_buildable_add_child (HdyWindowMixin *self,
+ GtkBuilder *builder,
+ GObject *child,
+ const gchar *type);
+
+G_END_DECLS