Re: rc file
- From: M Santhoff t-online de (Marc Santhoff)
- To: Gtk Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: rc file
- Date: Fri, 21 Jan 2005 11:33:11 +0100
Am Fr, den 21.01.2005 schrieb Giovanni Manenti um 10:41:
hi, I'm using gtk 1.2
[...]
this rc file modify the style of all the button.
How can I modify the style of a single button?
I've tried to create a new style adding
widget "*GtkButton*" style "newbutton"
and adding in the code
gtk_widget_set_name(widget,"newbutton");
but it doesn't work.
Make sure you
- have the rc file in place (~/.gtkrc normally)
- have no theming engine working concurrently
- your app parses the rc file at startup (gtk_rc_parse( ... ) after
gtk_init )
Naming seems to be okay.
HTH,
Marc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]