widgets in cell renderer

2008-01-25 Thread Tomas Carnecky
I'm working on a fairly complex cell renderer, with text, progress bars, buttons, etc. Since th cell renderer is not a widget, but only a simple renderer, I have to paint it all by myself, using gtk_paint_box(), gdk_draw_pixbuf(), gtk_paint_layout() etc. Now it's getting ugly and I thought abou

Re: Whether the application is active?

2008-01-25 Thread [EMAIL PROTECTED]
On 11:27 Fri 25 Jan , aniket ray wrote: > > > I tried changing the value of isActive based on focus-in and focus-out > > > events of each of the windows. But then, if I switch from one window of > > > the > > > app to another, the variable is becoming false for a period of time > > > (albeit

Glib: Adding watch in the glib event poll

2008-01-25 Thread Jacques Pelletier
Hi, I want to do a customized input routine for specialized hardware plugged into a parallel port. I don't have any device driver yet for this hardware. I have to poll bits; in my case, if the BUSY bit = 0, there's a character available on the data lines. I made my own version of add watch rou

Re: thread support in Windows: problem

2008-01-25 Thread [EMAIL PROTECTED]
On 23:55 Thu 24 Jan , Tor Lillqvist wrote: > > Write wrapper functions for any gtk operation you'd like to execute from > > threads in a way that the thread calls a glib's idle function which does > > the real gtk work. > > An interesting approach. Did you use some automated technique to > gen