Re: gtk_file_chooser_widget problem



Try looking at how evince does it:
http://svn.gnome.org/viewcvs/evince/trunk/shell/ev-window.c?view=markup

You want the ev_window_cmd_file_open function.

Philip Withnall

On Thu, 2007-04-12 at 08:03 -0700, bajone wrote:
I have a problem when I call gtk_file_chooser_widget_new() or
gtk_file_chooser_dialog_new()... in both cases a dialog apears(in first case
a widget is in the box) but I can't choose a file and I can't browse
directories... the cursor turns into load cursor and everything stops, I
have to kill window to return from dialog. With gtk_file_selection_new()
everything works perfectly.

Where am I wrong? I searched in all tutorials (gtk official tutorial  too)
but I can't find a simple example to make this thing work. Can somebody post
a code for loading a file with gtk_file_chooser? I use Visual 2005 on
windows, and I have installed the last gtk environement and libraries.

Thanks for any advice


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]