Re: Glib::KeyFile bug?
- From: Damon Register <damon w register lmco com>
- To: gtkmm-list gnome org
- Subject: Re: Glib::KeyFile bug?
- Date: Mon, 23 Jun 2008 09:14:39 -0400
Murray Cumming wrote:
There is an example:
http://svn.gnome.org/viewvc/glibmm/trunk/examples/markup/
Thanks for the link
Like I said in my commit comment, we need to put these in the gtkmm book
so they are easier to find.
That would be great.
i just tried that example and it worked. after seeing that and other
libxml examples, I am beginning to wonder if I am missing a fundamental
point of xml and parsing of xml. The KeyFile and Windows ini files
let the user load a file then read at random an element like this
outstring = mykey->get_string("BUTTONS", "text94");
All of the xml examples I found just read the entire file and print
the results. Do the xml methods not really support the random
access as does the Glib::KeyFile::get_string ? If I wish to do random
access with xml, do I have to read the entire file as do the examples
and then make a find function that looks for a specific key/value?
Damon Register
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]