Re: Beginner



Hello!

    I tried to put a variable "set" and to wait in an
    infinite loop until this is set to 1( which would be
    set in a function connected to a signal) but this just
    makes my window turn black. 

To prevent your window from turning black you might use
   gtk_main_iteration_do (FALSE);  
in your loop

It runs one iteration of the mainloop

Have a look at

http://developer.gnome.org/doc/API/2.0/gtk/gtk-general.html#gtk-main-iteration-do

Ciao,

Olaf






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