write a xlib textbox application without widgets



hi all

i need to understand the basic lines on how to write a simple textbox
with xlib without using widgets...

the argument is so difficult (i have tried to read x11 documentation
yet) that i decide to ask to you before:

is there an example code that show me how to start?

naturally i'm not a complete xlib newbie, so don't worry about
explanations....

with regards
.