windows resource files

2006-02-08 Thread Gorshkov
OK - next stupid question. Now that Tor's been able to point out my idiocy regarding the linking (*ahem*), I now have a working programme . except that a DOS box opens up directly behind it. I assume that in order to get rid of that, I have to turn my "ordinary" DOS programme into a windows

question about combo box

2006-02-08 Thread yeajchao
Hello all First,I apologize for my terribly poor English I have a question about GtkcomboBox You know,every combobox have a GList which stores some optional item. My problem is about the GList. When I click the triangle to pull down the list, and move my mouse to selec

I have a problem with GtkRadioButton

2006-02-08 Thread yeajchao
Hello all First of all, I apologize for my terrible english! I have a problem with GtkRadioButton. You know,when you select a GtkRadioButton,there will be a "big point" placed in the circle of the radio button .It maybe called "indicator". My problem is that: I want to change the indica

Re: Windows gtk programming

2006-02-08 Thread Gorshkov
On Wednesday 08 February 2006 21:28, Tor Lillqvist wrote: > Gorshkov writes: > > gcc `pkg-config --libs gtk+-win32-2.0` test.o -o test > > test.o(.text+0x41):test.c: undefined reference to `gtk_init_abi_check' > > test.o(.text+0x46):test.c: undefined reference to `gtk_main' > > You are very clos

Re: Windows gtk programming

2006-02-08 Thread Tor Lillqvist
Gorshkov writes: > gcc `pkg-config --libs gtk+-win32-2.0` test.o -o test > test.o(.text+0x41):test.c: undefined reference to `gtk_init_abi_check' > test.o(.text+0x46):test.c: undefined reference to `gtk_main' You are very close, and seem to know well what you doing, congrats! Except for one sma

Windows gtk programming

2006-02-08 Thread Gorshkov
I've been using glade/gtk et al for a few years now under Linux, and only now have a requirement to do some programming under windows (urk). I've installed current copies of msys, mingw, and gtk from the installers on the 'net . so far so good. But when I try to test a simples, stupid gtk p

Re: zombie GTK thread

2006-02-08 Thread Tristan Van Berkom
kornelix wrote: [...] The dialog box is left running after the thread exits, and it works OK. The thread that created it is long gone but the dialog response functions still work. What thread are they running in? Gdk has a connection with the X server and adds the file desctiptor to the poll(

zombie GTK thread

2006-02-08 Thread kornelix
I got a test application working that does much of what I need in a multi-threaded GTK app, but there is some wierdness I cannot explain. main() build a window with menus and response functions one menu response function launches a thread function threadFunction() build a dialog box con

Re: redirecting stdout to Gtk Text widget

2006-02-08 Thread Claudio Polegato Junior
ashish gupta escreveu: hi, I am developing a gui in windows and need to redirect stdout to text widget. i came to know about g_set_print_handler () function but it gives only those strings that i pass to g_print and not all warnings that come in stdout. another problem i face is that when i give