I'm hoping somebody can help me locate some good links with any tutorials or examples for using the context management functions within the xlib protocol.
I've been working on learning some basic gui programming in linux using xlib, but i'm having trouble with this particular part. The manual seems quite obscure to me and i've had trouble locating anything else online that details the functions or how they're to be used.
Why? You don't use Xlib for GUI programming, you rarely use Xlib directly for anything at all. Hence you won't find many resources about it on the internet.
See gtkmm, Qt or wxWidgets for GUI programming.
I wanted to learn lower level graphics programming first. I'm working on my own set of classes and such to simplify it whilst learning it. I need to use the context management so that i can dynamically add objects and have my event classes handle they're events. I've been using the Xlib Programming Manual and a couple of simple tutorials for reference, but i've been unable to find anything that details the context manager well.
EDIT: I found a link to some online text from the Xlib Programming manual book that explained it better. thanks for your reply.