short-circuiting the main event loop

2003-11-16 Thread Paul Davis
there's a cross-industry effort going on right now for those of us involved in audio software. its an attempt to define a common, cross-platform audio+MIDI "plugin" API. one of the sticking points, as ever, is how to handle GUIs. the situation with X Window is causing us some serious grief, and i'd

GIOChannel, G_IO_HUP

2003-11-16 Thread Jeff Abrahamson
A glib question: I have an application that talks over a pipe to another process. When either process is done, it says goodbye over the pipe and then shuts down. The other sees the goodbye, cleans up its business, and shuts down. I register the fd's of the pipe with the main event loop. All wo

Re: stopping signals

2003-11-16 Thread Sven Neumann
Hi, dave walters <[EMAIL PROTECTED]> writes: > I have a spin button with a callback function invoked by the > "value_changed" signal. The callback func has a > gtk_spin_button_set_value(). When this executes it causes the > spinner to emit the "value_changed' signal which invokes the > callback

Re: stopping signals

2003-11-16 Thread Russell Shaw
dave walters wrote: Greetings: I have a spin button with a callback function invoked by the "value_changed" signal. The callback func has a gtk_spin_button_set_value(). When this executes it causes the spinner to emit the "value_changed' signal which invokes the callback which executes set_val

Re: stopping signals

2003-11-16 Thread Paul Davis
>I have a spin button with a callback function invoked by the "value_changed" s >ignal. >The callback func has a gtk_spin_button_set_value(). When this executes it cau >ses >the spinner to emit the "value_changed' signal which invokes the callback whic >h executes set_value() etc. It's recursive. I

stopping signals

2003-11-16 Thread dave walters
Greetings:   I have a spin button with a callback function invoked by the "value_changed" signal. The callback func has a gtk_spin_button_set_value(). When this executes it causes the spinner to emit the "value_changed' signal which invokes the callback which executes set_value() etc. It's recursiv