After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144691 - Bug in dialog chapter (gtkmm-book)
Bug in dialog chapter (gtkmm-book)
Status: RESOLVED NOTABUG
Product: gtkmm
Classification: Bindings
Component: reference documentation
2.4
Other Linux
: Normal major
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-06-20 11:03 UTC by Bernhard Jantscher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bernhard Jantscher 2004-06-20 11:03:30 UTC
read the part with message-dialogs.
there is an include-file missing, <gtkmm/messagedialog.h>

i tried to use the example-msgbox in a prog (only with gtkmm/dialog.h included,
like in the example), and there was an error message saying that there's no
MessageDialog in namespace Gtk. 
Everything worked after including <gtkmm/messagedialog.h>

greetings, berni


ps: thanks to Daniel Sundberg for helping me with this problem ;)
Comment 1 Murray Cumming 2004-06-21 09:29:18 UTC
What example do you mean? Please give us a URL.

The example that I see
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch13.html#id2499166
includes gtkmm.h, which includes everything. And all these examples build when
you  install from source.
Comment 2 Murray Cumming 2004-06-25 14:51:38 UTC
Please reopen if this is really a problem.