Re: change window color



>Hi John
>
>Thanks for the suggestion, but i need from C code

you think you do, but you don't.

widget "*Foo" style "foo"
widget "*Bar" style "bar"

in C: 

   gtk_widget_set_name (widget, "Foo");
   ... later ...
   gtk_widget_set_name (widget, "Bar");

please don't hard-code color/font choices for users. leave it to an RC
file.

--p




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]