diff finch/libgnt/test/file.c @ 15846:a2ab257116ce

File selector dialog. Still in an experimental state. When properly complete, this can be used for file/folder-request etc.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 20 Mar 2007 01:16:35 +0000
parents
children 3da9d5da9054
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/finch/libgnt/test/file.c	Tue Mar 20 01:16:35 2007 +0000
@@ -0,0 +1,18 @@
+#include "gnt.h"
+#include "gntfilesel.h"
+
+int main()
+{
+	freopen(".error", "w", stderr);
+	gnt_init();
+
+	GntWidget *w = gnt_file_sel_new();
+	gnt_file_sel_set_current_location(GNT_FILE_SEL(w), "/home/");
+	gnt_widget_show(w);
+
+	gnt_main();
+
+	gnt_quit();
+	return 0;
+}
+