Re: file selection

2005-05-20 Thread Muthiah Annamalai
Hi File selection code must be written like this: filew = gtk_file_selection_new ("Folder Selection"); gtk_file_selection_set_filename (GTK_FILE_SELECTION (filew), "*.png"); gtk_widget_show(filew); switch(gtk_dialog_run(filew)) { case GTK_RESPONSE_OK: gtk_file_se

Re: file selection

2005-05-18 Thread Paul Santa Maria
Hi - No - actually, all you need to do is: 1. Launch the file selection dialog 2. Check the return value I've cut/pasted an example below. 'Hope that helps .. PSM === // Prototype GtkWidget * mk_fi

Re: file selection

2005-05-16 Thread Antonio Gomes
why don't you take a look at the gtk_file_chooser's source code ? regards On 5/12/05, srinivas <[EMAIL PROTECTED]> wrote: > hi; > > i used > > filew = gtk_file_selection_new ("Folder Selection"); > gtk_file_selection_set_filename (GTK_FILE_SELECTION (filew), "***.png"); > gtk_file_selection_get

gtk file selection

2005-05-12 Thread srinivas
hi; can i directly use the gtk_file_selection API for selection, deletion, rename and creating folders or by using the API only the widget visible and i have to give functionality to each button. i directly used the file selection API, the widget is visible but the button's are not wo

file selection

2005-05-12 Thread srinivas
hi; i used filew = gtk_file_selection_new ("Folder Selection"); gtk_file_selection_set_filename (GTK_FILE_SELECTION (filew), "***.png"); gtk_file_selection_get_filename (GTK_FILE_SELECTION (filew)); gtk_widget_show(filew); to select and display file/folder list, i can able to display widget, bu