[Xcb] sending a custom event

Vincent Torri vtorri at univ-evry.fr
Wed Mar 28 01:33:42 PDT 2007



On Tue, 27 Mar 2007, Jamey Sharp wrote:

> On Tue, Mar 27, 2007 at 03:51:02PM -0400, Jim Crafton wrote:
>> No timers, no easy way to send messages to yourself, etc. It would be
>> nice if a lot of this had a default implementation, so that
>> app/toolkit developers didn't have to re-implement and worry about
>> whether or not they did it correctly.
>
> GLib (used by Gtk+) has all this, though implemented with callbacks
> rather than as an application event loop. You should check out the GLib
> event loop and GObject signal mechanisms:
>
> http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html
> http://developer.gnome.org/doc/API/2.0/gobject/signal.html
>
> I expect Qt has similar functionality; I know it at least supports the
> signals concept. However, I assume you'd pull in all of Qt if you wanted
> to use these features, which is probably silly if you're trying to write
> your own toolkit. Plus you'd have to use C++. *sigh*

arg ! you didn't talk about ecore !! it has all that system :)

Vincent


More information about the Xcb mailing list