[prev in list] [next in list] [prev in thread] [next in thread]
List: gtkmm
Subject: Re: Glib::KeyFile bug?
From: Damon Register <damon.w.register () lmco ! com>
Date: 2008-06-23 13:14:39
Message-ID: 485FA1BF.9070401 () lmco ! com
[Download RAW message or body]
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
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic