Re: How To Script .gtkrc-2.0?

2012-06-11 Thread Johny Why
Why odd? How do other gtk theme editors do it? On Jun 11, 2012, at 9:21 PM, Paul Davis wrote: > rewriting RC files from code seems .. odd. > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-

Re: How To Script .gtkrc-2.0?

2012-06-11 Thread johny why
Can gtk_rc_parse_string or other functions on the page below be used to write to the gtkrc-2.0 file? Or only read? http://developer.gnome.org/gtk/stable/gtk-Resource-Files.html Is there dev support for noobs? All tips appreciated! ___ gtk-app-devel-list

Re: How To Script .gtkrc-2.0?

2012-06-08 Thread Johny Why
Hmm... The read functions must expect some kind of structure, or it would not be able to read them. Ad hoc in what way? Best, J On Jun 8, 2012, at 5:10 AM, Paul Davis wrote: > > GTK does not create these files. They are generally created by humans, and > edited by them. There are no functions

Re: How To Script .gtkrc-2.0?

2012-06-08 Thread Johny Why
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. On Jun 8, 2012, at 3:45 AM, Paul Davis wrote: > your messages so far seem quite confusing to me. what are you trying to do? >

Re: How To Script .gtkrc-2.0?

2012-06-08 Thread Johny Why
Are the gtk functions exposed, so my app can call them in an existing gtk desktop (eg. xfce)? Or is it necessary to recompile gtk? Any "getting started" tips would be much appreciated by this noob. Thanks! ___ gtk-app-devel-list mailing list gtk-app-

Re: How To Script .gtkrc-2.0?

2012-06-06 Thread Johny Why
Thanks! > > GTK+-2.x http://developer.gnome.org/gtk/2.22/gtk-Resource-Files.html > GTK+-3.x http://developer.gnome.org/gtk3/3.4/gtk3-Resource-Files.html > > > On Wed, Jun 6, 2012 at 11:35 AM, Johny Why wrote: > Gtk must read the gtkrc-2.0 file. Therefore, gtk mu

Re: How To Script .gtkrc-2.0?

2012-06-06 Thread Johny Why
Gtk must read the gtkrc-2.0 file. Therefore, gtk must contain a internal function for performing that read. In which gtk source file does that function reside? If not known, where can I get this info? Thanks! > hi > > i'm writing a script to do stuff with the .gtkrc-2.0 file. > > Question:

How To Script .gtkrc-2.0 from bash?

2012-06-02 Thread johny why
hi sorry if this is the wrong place to post this question. i'm writing a bash script to do stuff with the .gtkrc-2.0 file, in xfce in linux. Question: are there any functions available in bash, or callable from bash, for reading from and writing to .gtkrc-2.0? my .gtkrc-2.0 appears to be struct