Re: How To Script .gtkrc-2.0?

2012-06-23 Thread Paul Davis
On Tue, Jun 12, 2012 at 1:48 AM, Johny Why wrote: > Why odd? > How do other gtk theme editors do it? > what other theme editors? if they exist, go read the source ... ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.o

Re: How To Script .gtkrc-2.0?

2012-06-23 Thread Paul Davis
On Tue, Jun 12, 2012 at 12:11 AM, johny why wrote: > 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? > as already explained, read only. > http://developer.gnome.org/gtk/stable/gtk-Resource-Files.html > > Is

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

Re: How To Script .gtkrc-2.0?

2012-06-09 Thread Paul Davis
On Fri, Jun 8, 2012 at 8:04 AM, Johny Why 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 edite

Re: How To Script .gtkrc-2.0?

2012-06-09 Thread Paul Davis
On Fri, Jun 8, 2012 at 5:11 AM, Johny Why wrote: > 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. > your messages so far seem quite confusi

Re: How To Script .gtkrc-2.0?

2012-06-09 Thread David Andruczyk
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 must contain a internal > function for performin

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

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.

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

RE: gtk+3 and the user's homedir .gtkrc-3.0

2011-03-10 Thread John Lumby
ified, the files looked for will be   /gtk-2.0/gtkrc and .gtkrc-3.0 in the users home directory." My experience with the ~/.gtkrc-3.0 file when running my application compiled against gtk+-3.0.2 is that it has no effect at all. Specifically,   I have a file named both gtkrc-2.0 and gtkrc-

Re: gtk+3 and the user's homedir .gtkrc-3.0

2011-03-10 Thread Allin Cottrell
ked > for will be      /gtk-2.0/gtkrc and .gtkrc-3.0 in > the users home directory." > My experience with the ~/.gtkrc-3.0 file when running my > application compiled against gtk+-3.0.2is that it has no effect > at all. That is my experience too. It seems that all code per

gtk+3 and the user's homedir .gtkrc-3.0

2011-03-10 Thread John Lumby
The gtk3 reference on resource files,   gtk+-3.0.2/docs/reference/gtk/html/gtk3-Resource-Files.html,states that,   although deprecated,      "certain files will be read at the end of gtk_init().        Unless modified, the files looked for will be       /gtk-2.0/gtkrc and .gtkrc-3.0 in the

Changing gtkrc prelight color of a GtkLabel inside of a GtkEventBox

2010-10-24 Thread Craig Harding
etting the color (or PRELIGHT) of the label. The GtkLabel in question in dn_label in setup_display_name. Thanks for any pointers! === My gtkrc-2.0: style "display_name_label_style" { fg[NORMAL] = { 0.0, 0.0, 0.0 } fg[PRELIGHT] = { 0.0, 0.0, 1.0

gtkrc: differences between gtk_rc_add_default_file() and gtk_rc_parse()?

2009-06-16 Thread Jiason Li
Hi all, I was able to customize my app's look-and-feel by my own gtkrc file, using gtk_rc_parse()/gtk_rc_add_default_file(). according to the doc, gtk_rc_parse(): Parses a given resource file. gtk_rc_add_default_file(): Adds a file to the list of files to be parsed at the end of gtk

Can't set custom GtkWidget style property in gtkrc

2008-07-07 Thread Stefan WEBER
0, G_MAXINT, 8, (GParamFlags)G_PARAM_READWRITE /*was READABLE, but doesn't change anything*/)); gtk_rc_p

temporary gtkrc file parsing aka 'sub-themes'

2008-04-18 Thread Brian J. Tarricone
Hey all, I have an app that draws some windows in a special way, and I'm letting it be easily themed separately (rather, on top of) gtk's theming. I'm just using normal gtkrc files for the theming, and calling gtk_rc_parse() when the user changes the theme. The problem is t

Re: How to set background for a gtk window form using .gtkrc file

2008-02-26 Thread Bin Chen
On Tue, Feb 26, 2008 at 8:23 PM, 邓超 <[EMAIL PROTECTED]> wrote: > I have searched some articles, it's compositing manager, am I right? Yes. Bin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-ap

Re: How to set background for a gtk window form using .gtkrc file

2008-02-26 Thread 邓超
I have searched some articles, it's compositing manager, am I right? 在08-2-25,Bin Chen <[EMAIL PROTECTED]> 写道: > > On Mon, Feb 25, 2008 at 9:13 PM, 邓超 <[EMAIL PROTECTED]> wrote: > > Hi all, > > I want to use .gtkrc file to set the background for a window for

Re: How to set background for a gtk window form using .gtkrc file

2008-02-25 Thread Bin Chen
On Mon, Feb 25, 2008 at 9:13 PM, 邓超 <[EMAIL PROTECTED]> wrote: > Hi all, > I want to use .gtkrc file to set the background for a window form to > transparent, how to do it? I have read the tutorial at live.gnome.com, but > it looks that it just can set color for a window f

How to set background for a gtk window form using .gtkrc file

2008-02-25 Thread 邓超
Hi all, I want to use .gtkrc file to set the background for a window form to transparent, how to do it? I have read the tutorial at live.gnome.com, but it looks that it just can set color for a window form. Thanks! -- Deng Chao ___ gtk-app-devel-list

Setting the height of widget in Gtkrc file

2008-01-14 Thread Srikanth Nallamothu
Hi, Can some one tell me how to set the height of the widget in Gtkrc file? Regards, srikanth, ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtkrc file......want to change opacity of window

2007-04-11 Thread prajyot
Hello Everybody, Can anybody help me out in Resource files used to change colors, style, opacity(transparency) of any GTK widget. I want to set opacity of top window in my application. How can I set it using RC file. Gtk uses gtkrc file. Please reply immediately

GtkHButtonBox and the styles from the gtkrc.

2007-01-05 Thread Tom Gaudasinski
Greetings, I am creating an application, in the midst of which I've discovered a certain quirk in GTK+ which I'm hoping can be disproved. I want to set the spacing in between buttons of a GtkHButtonBox to a certain number, let's say 10 pixels for example's sake. My ~/.

gtkrc , pixmap engine, and button widgets

2005-07-22 Thread Boncek, John
We are using gtkrc with the pixmap engine to have a brushed-aluminum look on button widgets. It looks great, but it also disables the default behavior in which the button appears to press inward when clicked on. Is there a way to achieve this with the pixmap engine? For instance, is there a way

gtkrc

2005-05-09 Thread abhi rocks
hi, Could someone please help me out in telling me how to change my application looks. Thank You Abhishek Samuel ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.

.gtkrc

2005-05-03 Thread abhi rocks
hi all, I just wanted to change my application looks. How do i do this. I found the .gtkrc file in my home/name directory. It was as follows # -- THEME AUTO-WRITTEN DO NOT EDIT include "/usr/share/themes/Bluecurve/gtk/gtkrc" # -- THEME AUTO-WRITTEN DO NOT EDIT Even thought i changed

gtkrc

2005-02-22 Thread andrew gatt
Hi all, I'm desperately trying to implement a set of buttons in a gtkrc file which has one button picture for when it has focus, one normal and one when it is active - to simulate a visual keypress. I have this in my gtkrc: style "pause_button" { GtkWidget::focus_padding =