#include <gtk/gtk.h>
#include <gtk/gtkstock.h>

#include <stdio.h>

int main()
{
	gtk_init(NULL,NULL);

	GtkWidget *win = gtk_file_chooser_dialog_new("title", NULL, GTK_FILE_CHOOSER_ACTION_OPEN,
			GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL);

	gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(win), "/usr/bin/env");

	gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(win), "/tmp");

	gtk_widget_show(win);

	gtk_main();

	return 0;
}

