Murray Cumming wrote:
Unfortunately, the fact that it throws exceptions is not currently mentioned in the API reference documentation. I will fix that. Sorry.
So it is a bug, in the documentation :-)
I created a small example to show that it works: http://svn.gnome.org/viewvc/glibmm/trunk/examples/keyfile/main.cc?view=markup
Thank you very much for your effort there. That is just what I needed. I just tried your new example and it worked. I noticed in your example you wrote the comment "* examples/keyfile/main.cc: Added a little KeyFile example. I am surprised that we do not seem to have one somewhere already. I need to move all these glibmm examples into gtkmm-documentation some time." Before someone pointed me to KeyFile, I was looking at the GMarkup parser at http://library.gnome.org/devel/glib/stable/glib-Simple-XML-Subset-Parser.html but could not find any example for using it. Is there an example for that or is that another "surprise"? :-) Thanks again for your KeyFile example. That is just what I needed. Damon Register _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list