gtk_file_chooser_hangs (win32 libgdk-win32-2.0-0.dll)

2009-01-15 Thread arne . pagel
Hello, i updated my mingw with the new All-in-one bundle on gtk download page. Now i have the problem, that the gtk_file_chooser is not working anymore in my application under win32. I get just a sandglass-curser over it. I get no warning or errormessage on the console. When I am taking older

Re: Question about Callback

2009-01-15 Thread Rudolfo Pinewood
Hi, thanks for your answer. I think I understand my code a bit better now... I wonder whether it is best practice to use static functions for these callbacks - in my code it is actually a member function (because of having many different buttons whose states form a bitfield that is compressed

Re: qt vs gtk

2009-01-15 Thread jvetterli
Some of my thoughts on the matter: On Wed, Jan 14, 2009 at 10:10:42AM -0600, Thomas Stover wrote: ... -QT (last time I checked) is not even C++. It's C++ and a custom macro language. building ouch. debugging ouch. C++ paradigm ouch. The Qt macros aren't very intrusive. Once you have your

Re: Question about Callback

2009-01-15 Thread Rudolfo Pinewood
Hi, thanks again for your help. 1) I did change my function to a static one 2) I updated my g_signal_connect_swapped to use G_CALLBACK(staticfunc) + param parent (which I use to get the other buttons) 3) I noticed that the pointers were in wrong order (parent was the first one instead of

Re: qt vs gtk

2009-01-15 Thread Michael Torrie
jvette...@users.sourceforge.net wrote: I find that deriving classes in C++ is alot easier than going through the GObject type system. Yes this is true, in C. GTKmm makes things rather nice if you work in C++. In fact I kind of like how GTKmm works without a preprocessor, with type-safe

some erros

2009-01-15 Thread frederico schardong
Hi, anybody can help me to resolve this? GtkFileFilter *filtro; GtkWidget *chooser; //GtkFileChooser *chooser; gtk_file_filter_set_name(filtro,bmp); chooser = gtk_file_chooser_dialog_new (Open File, parent_window, GTK_FILE_CHOOSER_ACTION_OPEN,

Re: some erros

2009-01-15 Thread Allin Cottrell
On Thu, 15 Jan 2009, frederico schardong wrote: anybody can help me to resolve this? GtkFileFilter *filtro; GtkWidget *chooser; //GtkFileChooser *chooser; gtk_file_filter_set_name(filtro,bmp); chooser = gtk_file_chooser_dialog_new (Open File, parent_window,

Re: some erros

2009-01-15 Thread James Scott Jr
Frederico, From your code listing part of your problem could be this syntax error: gtk_file_chooser_add_filter(*chooser, *filtro); it should read; gtk_file_chooser_add_filter(chooser, filtro); James, On Thu, 2009-01-15 at 22:58 -0200, frederico schardong wrote: Hi, anybody can help me