Quote:
Originally Posted by MTK358
You don't need to know about X to create multi-window applications. In Qt, for example:
Code:
int main()
{
QApplication app;
QLabel *label = new QLabel("Test");
QPushButton *button = new QPushButton("Click Me");
label.show();
button.show();
app.exec();
return 0;
}
|
Thanks MTK358.
This is a good example which i should at least try to pursue further (to see, e.g., what support QT has for organizing the windows you create, etc).
If doing the same sort of thing is as easy in gtk (any version), i would appreciate from anybody who feels like it is absolutely trivial to do, a short chunk of example code like this. (But i'm only asking if it really is easy to whip it out---i do not want to ask anybody to do something that is a hassle to write up, as i don't mind looking it up myself. But if it is equally trivial in gtk and obviously so, then i would appreciate knowing this.)
Anyhow, thanks everybody for all the ideas and suggestions.
dan