Okay, I'd like to write a simple C app for Linux (say Ubuntu with Gnome) that would do the following:
- Open a Window
- Draw something in that window using a main loop, e.g. the current loop number. I don't want to use controls, but to draw directly on the window surface
- Close the window & the app
I can do that in Windows, but I've no idea how I could do that in Linux.
Thanks!