Don't worry about the memory.. we aren't talking megabytes here..
Anyway, I checked that source, the tab shows up when you drag the window around. The tab works when you move the creating process above the loop.
There must surely be a reason why things don't work. I don't think I would ever find out, and I don't need to. This is simply not the way it should be done.. :)
Just stick to this:
1: initialisation & create
2: mainloop
3: cleanup & exit
..and everyone's happy..
Anyway, I checked that source, the tab shows up when you drag the window around. The tab works when you move the creating process above the loop.
There must surely be a reason why things don't work. I don't think I would ever find out, and I don't need to. This is simply not the way it should be done.. :)
Just stick to this:
1: initialisation & create
2: mainloop
3: cleanup & exit
..and everyone's happy..