summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/nodewidget.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-04-08 13:10:43 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-04-08 16:44:29 -0400
commit303dcc667b64ad57f5320cadbe4e4437d0d0558a (patch)
tree8b09ca90c698baab3183aebf7783a6457d9a0285 /demos/gtk-demo/nodewidget.h
parenta73b6b4392f68c0015bb5dbf299f007ac7e87e72 (diff)
downloadgtk+-path-work-rebased.tar.gz
gtk-demo: Add a few path benchmarkspath-work-rebased
The Tiger and Graph examples in the fishbowl test path handling.
Diffstat (limited to 'demos/gtk-demo/nodewidget.h')
-rw-r--r--demos/gtk-demo/nodewidget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/gtk-demo/nodewidget.h b/demos/gtk-demo/nodewidget.h
new file mode 100644
index 0000000000..48036265e2
--- /dev/null
+++ b/demos/gtk-demo/nodewidget.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <gtk/gtk.h>
+
+#define NODE_TYPE_WIDGET (node_widget_get_type ())
+G_DECLARE_FINAL_TYPE (NodeWidget, node_widget, NODE, WIDGET, GtkWidget)
+
+GtkWidget * node_widget_new (const char *file);