Re: GTK Error handling..

2010-11-24 Thread Jaroslav Šmíd
New process, use g_spawn_with_pipes (or how is it called) and just pass it through pipe. On 11/24/2010 02:35 PM, Champ Clark III [Softwink] wrote: On Wed, Nov 24, 2010 at 03:22:56PM +0200, Dov Grobgeld wrote: If all you want is a popup, then you might as well create a new process instead of a

Re: GTK Error handling..

2010-11-24 Thread Champ Clark III [Softwink]
On Wed, Nov 24, 2010 at 03:22:56PM +0200, Dov Grobgeld wrote: > If all you want is a popup, then you might as well create a new process > instead of a new thread. There is no advantage of using a thread as it does > not seem like you want to pass any info between the window and the > monitoring loo

Re: GTK Error handling..

2010-11-24 Thread Dov Grobgeld
If all you want is a popup, then you might as well create a new process instead of a new thread. There is no advantage of using a thread as it does not seem like you want to pass any info between the window and the monitoring loop. Further, the way you described it, if more than one event occurs, t

Re: GTK Error handling..

2010-11-24 Thread Jaroslav Šmíd
GTK is not smart toolkit and is unable to work without X display and is not even able to reconnect to different display (or to the same later) when the connection get lost. This is with all X based toolkits I know of - it just seems easier for developers to just call exit() then to install like

Help needed with offscreen window

2010-11-24 Thread Vivien Malerba
Hi all! I want to create a GtkCellRenderer which renders a GtkWidget (each row of the data model sets a property of the widget and it should render differently). I face the problem that I can't force GTK+ to redraw the widget before I get the pixmap from a GtkOffscreenWidget (that pixmap is used "