Re: How To Script .gtkrc-2.0?





On Fri, Jun 8, 2012 at 8:04 AM, Johny Why <johnywhy gmail com> wrote:
Trying to write a script in bash or another language which reads/writes gtkrc-2.0. Would prefer to use gtk built-in functions for the read/write.

GTK does not create these files. They are generally created by humans, and edited by them. There are no functions that I am aware of in the GTK API for writing thse files. You've already been pointed to the API that is used to read them. The syntax in the files is fairly ad-hoc, and I expect it will be a lot of work if you plan to do this in a formal way. In addition, many aspects of RC files are now deprecated in gtk3.
 


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