I would like to create my own GUI toolkit. So without using GTK, wx, SDL or anything else. What are the steps? Do I need to use X libraries? If so, can you point me to a good X guide?

Thanks in advance...