| Top |
gchar * cong_get_file_name (const gchar *title,const gchar *uri,GtkWindow *parent_window,CongFileChooserAction action,GList *list_of_filters);
This function can be used to present file chooser dialog and allow user to select a file.
title |
Title of the dialog. |
|
uri |
File or path to start with. Can be NULL. |
|
parent_window |
Window to place dialog over. Can be |
|
action |
CongFileChooserAction, for example, |
|
list_of_filters |
GList of GtkFileFilter, often you can create it with cong_file_selection_make_xml_filter_list. |
gchar * cong_get_file_name_with_filter (const gchar *title,const gchar *filename,GtkWindow *parent_window,CongFileChooserAction action,GList *list_of_filters,GtkFileFilter **output_filter);
GList *
cong_file_selection_make_xml_filter_list
(void);