RE: [gtkmm] Quit Confirmation Window



> 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]