g_scanner funtions what for?



Hello,

I have to read some certain values from a textfile.  The values
are stored as:

<key>: <value>

I wonder if the (undocumented :-() g_scanner functions are my friend
or if I have to write my own gets/scanf stuff (ore use older things
from former projects).  Can anybody give me a hint if it is possible
to to it in "The GTK+ Way" to have a clean GTK+ API or if these
functions are intended to solve other things.  I tried to find
a sense from gtkrc.c but failed understanding it.

Kind regards

      Andreas.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]