Re: rc file
- From: "Claudio Polegato Junior" <cpolegatojr_lsts pop com br>
- To: "Giovanni Manenti" <linux euromatic-automazione it>
- Cc: Gtk Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: rc file
- Date: Fri, 21 Jan 2005 10:06:23 -0200 (BRST)
Hi,
Almost this, with gtk_widget_set_name(widget,"newbutton") the widget's name is
"newbutton", then put in RC file widget "newbutton" style "mybutton".
[]'s
Claudio
I've create a rc file like this:
style "mybutton"
{
[cut]
}
widget_class "*GtkButton*" style "mybutton"
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]