[glade--]Simple Hello User App
dingo <[email protected]> Wed, 24 Mar 2004 12:37:44 -0800
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <1080160664.16894.16.camel@laptop> |
Hello, I'm trying to get the hang of glademm (haven't touched a piece of code in 2+ years) Anyways, I found a nice little 'Hello User' tutorial for glade at this url: http://writelinux.com/glade/index.php I'm using glademm since I'm a lot more familiar with C++. My question is this, in this tutorial, to add functionality to the 'Close' button, you add this code 'gtk_main_quit();'. Everything I've googled for suggests that I should use 'Gtk::Main::quit();' as a replacement. This doesn't work however, compiling gives me this error: window1.cc: In member function `virtual void window1::on_button2_clicked()': window1.cc:13: error: incomplete type 'Gtk::Main' cannot be used to name a scope I'm looking for any help, suggestions, clues, tutorials, etc... --Patrick P.S. I accidentally sent this before using my non-subscribed e-mail addy so there MAY be a dupe.