dargaud
November 22nd, 2011, 02:14 PM
Hello all,
a very basic question. I have to do some support on an oldish C++ program that uses GTK (which I've never used before). In particular I need to add some modal popup windows. On my usual environment I simply do MessagePopup("Title", "Message") and it appears until the user clicks the only button available ("OK").
How do I do that in GTK ? I found this page (http://developer.gnome.org/gtk3/stable/GtkDialog.html) which seems overly complicated... Do I really need external XML resources for such a simple task ?!?
Thanks.
a very basic question. I have to do some support on an oldish C++ program that uses GTK (which I've never used before). In particular I need to add some modal popup windows. On my usual environment I simply do MessagePopup("Title", "Message") and it appears until the user clicks the only button available ("OK").
How do I do that in GTK ? I found this page (http://developer.gnome.org/gtk3/stable/GtkDialog.html) which seems overly complicated... Do I really need external XML resources for such a simple task ?!?
Thanks.