[Xcb] Building UI Elements using XCB

Josh Triplett josh at joshtriplett.org
Fri Sep 6 19:52:57 PDT 2013


On Fri, Sep 06, 2013 at 09:24:32PM -0400, Gulshan Singh wrote:
> Hi, I'm new with XCB. Are there any examples of making UI elements such as
> buttons or input boxes? Would each UI element just be a xcb_window_t so it
> can listen for events?

Modern toolkits normally don't use an X Window for each widget; they
just draw directly to the main window, and the event loop checks events
against the bounds of the various widgets.

- Josh Triplett


More information about the Xcb mailing list