PROGRAM(file_selection);
// A file selection box.
// TIMG: GTK.File_selection("File selector")
INHERIT(window);
SUBWIDGET(selection_entry, entry);
SUBWIDGET(selection_text, label);
SUBWIDGET(ok_button, button);
SUBWIDGET(cancel_button, button);
SUBWIDGET(help_button, button);
SUBWIDGET(button_area, container);
SUBWIDGET(action_area, container);
SUBWIDGET(fileop_c_dir, button);
SUBWIDGET(fileop_del_file, button);
SUBWIDGET(fileop_ren_file, button);
SUBWIDGET(dir_list, container);
SUBWIDGET(file_list, container);
SUBWIDGET(main_vbox, vbox);
SUBWIDGET(history_pulldown, option_menu);
SUBWIDGET(history_menu, menu);
string COMPLEX_FUNCTION(get_filename);
// Returns the currently entered filename as a string
COMPLEX_FUNCTION(create, string);
NAME_ARGS(window_title);
COMPLEX_FUNCTION(set_filename, string);
NAME_ARGS(fname);
SIMPLE_FUNCTION(show_fileop_buttons);
SIMPLE_FUNCTION(hide_fileop_buttons);
COMPLEX_FUNCTION(complete, string);
NAME_ARGS(filename);
// Set the filenme and try to perform completion
