summaryrefslogtreecommitdiff
path: root/gtkdtp/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-01-09 22:00:21 -0500
committerPietro Gagliardi <[email protected]>2015-01-09 22:00:21 -0500
commit3a35ac63b57ddcb93027d4c0c1deeb34a18d9bf2 (patch)
treeefce02d3a4688def31194a545f88b108e646fbec /gtkdtp/test.c
parentfe42db6ebd9a5d4defad8ef8fb82cc82ab2b1226 (diff)
Added the beginning of an experimental date-time picker implementation for GTK+.
Diffstat (limited to 'gtkdtp/test.c')
-rw-r--r--gtkdtp/test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtkdtp/test.c b/gtkdtp/test.c
new file mode 100644
index 0000000..c867c11
--- /dev/null
+++ b/gtkdtp/test.c
@@ -0,0 +1,16 @@
+// 9 january 2015
+#include "dtp.h"
+
+// #qo pkg-config: gtk+-3.0
+
+int main(void)
+{
+ GtkWidget *mainwin;
+
+ gtk_init(NULL, NULL);
+ mainwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_container_add(GTK_CONTAINER(mainwin), g_object_new(goDateTimePicker_get_type(), NULL));
+ gtk_widget_show_all(mainwin);
+ gtk_main();
+ return 0;
+}