Re: Gtk feature requests



>> >  * It would be nice if I could use my own select loop with gtk;
>>
>> GTK uses glib, and its inner loop is a bit more complex than
>> this.
>
>I was afraid of that.  I've been able to use gtk_input_add(), but
>in my years of programming experience, I've learned that there
>are always cases that the API designer didn't think of.  Someday,
>an application will come up that needs to react to events that
>are not file input events or signals, and then what?

you write you own g_io_source or whatever its called. its not that
hard to do. then you can add it to the main event loop.

--p



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