Re: [LAD] alsa sequencer and sysex editing

From: Tim Goetze <tim@email-addr-hidden>
Date: Tue Jun 03 2008 - 15:15:03 EEST

[Fons Adriaensen]
>I don't know the details of GTK, but this is a classic problem
>with high-level GUI toolsets: they don't allow you to wait
>for X events (which trigger the loop, behind the scenes) and
>anyhting else at the same time in the same thread. They don't
>even separate _waiting_ for an X event, and _handling_ it into
>two separate user calls (which would allow the user to add the
>missing multiple wait functionality). This is one of the
>reasons why I wrote my own GUI toolkit.

You should check out g_main_context_set_poll_func() sometime. I admit
it took me longer than it should have to find it myself. In short, it
does what you want. In a gtk way, sure, but it does it.

Cheers, Tim
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Tue Jun 3 16:15:02 2008

This archive was generated by hypermail 2.1.8 : Tue Jun 03 2008 - 16:15:03 EEST