[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: gtk_style_set_prop_experimental() equivalent in GTK+-2.0 ?
From:       Olivier Fourdan <fourdan () xfce ! org>
Date:       2002-05-30 12:13:16
[Download RAW message or body]

Hi all,

Replying my own mail, I've found a workarround, but I'm not sure if it's
quite smart :

In the style_class_init () function on the engine, I've added a call to
gtk_rc_parse_string () with the correct values.

Is it okay ? Do you see any smarter way of achieving this ?

Cheers,
Olivier.

On Wed, 2002-05-29 at 18:12, Olivier Fourdan wrote:
> Hi all,
> 
> In the process of porting my theme engine to GTK+-2.0, I could not find
> an equivalent in GTK+-2.0 for latest GTK+-1.2.10's
> gtk_style_set_prop_experimental()
> 
> Basically, wht I want to do is set a few props from within the code
> rather than in the gtkrc file. This is what
> gtk_style_set_prop_experimental() was for, right ? 
> 
> Another (small) question, in my gtkrc file, I have
> 
> GtkSpinButton::shadow-type = etched-in
> 
> This doesn't seem to have any effect at all. Any idea ?
> 
> Thanks in advance,
> 
> Cheers,
> -- 
> Olivier               <fourdan@xfce.org>            http://www.xfce.org
> -----------------------------------------------------------------------
> XFce is a lightweight  desktop  environment  for  various *NIX systems.
> Designed for productivity,  it loads  and  executes  applications fast,
> while conserving  system resources. XFce is all free software, released
> under GNU General Public License.    Available from http://www.xfce.org
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 
-- 
Olivier               <fourdan@xfce.org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems.
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic