Making a Window and populating it.. ( C program )

view full story

http://www.linuxquestions.org – Hello, I am wanting to make a window (in linux, using a C program) and I want to populate it (I know the RGB value for each pixel, so I assume it will be a series of for loops) but I don't know where to start. I know there is something called Qt and GTk (or something like that) do I use them? or OpenGL? In addition to that, I want to add mouse functionality, so that I know where the mouse is in the window. If you could also include some code to make a window (in any of your suggested methods) I would be ever so grateful.. Cheers, Matthew (HowTos)