Re: [gtkmm] Quit Confirmation Window



Yeah... I can't use gnomemm either. It's not that I don't want too, but the prof gave some little talk about how Gtkmm 2 was still a bit shaky and not in the field long enough. He said it may have been possible to wait for RedHat binaries to come out but instead of taking the chance at the beginning of the smester, he said we will only be using Gtk and Gtkmm 1.2. I am a bit frustrated with that, but I have to follow the rules if I wish to pass ( this one group project is pretty much the entire class). Thanks for the advice, too bad it won't change the prof's. mind.

Chris

Murray Cumming Comneon com wrote:

From: Christopher David [mailto:DavidC mail lafayette edu] Hi,

I'm also new new to Gtkmm (I'm sure you get that a lot), and I am currently working on a semester long project for school that requires us to use Gtk+ and Gtkmm 1.2.10. (We can not use Gtkmm 2). I am trying to build a confirmation popup or dialog that confirms quitting the program (a.k.a. "Are you sure you want to quit?"). I'm sure a lot of people have done this before. The examples I have seen use a Gtkmm class MessageDialog. The problem is, I can't find that in Gtkmm 1.2. Is there any other way to do this? Is there something I'm missing here with Gtkmm 1.2 that I can't find the MessageDialog class? Do I have to create this on my own? Any help would be appreciated, thanks.


Yes, or use gnomemm 1.2 which has something similar. Gtkmm 2 really is far
better. You should get extra points just for insisting on using it instead
of gtkmm 1.2 in your course. With gtkmm 1.2 you will waste a lot of time
figuring out GTK+ 1.2 eccentricities instead of learning about C++ and GUIs.

Murray Cumming
murrayc usa net
www.murrayc.com






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]