[Xcb] Building UI Elements using XCB
Bart Massey
bart at cs.pdx.edu
Sat Sep 7 09:39:12 PDT 2013
On Sat, Sep 7, 2013 at 8:05 AM, Gulshan Singh <gsingh_2011 at yahoo.com> wrote:
> If I would like to load a pixmap from a file to be the background of the
> button, how would I do that?
Use Cairo. Seriously, it's a million times easier.
Failing that, use the almost-entirely-undocumented (I should fix that)
libxcbimage. You'll also need some library for loading your pixmap
from a file and setting it up in the format the server expects.
--Bart
More information about the Xcb
mailing list