Re: Problem with the gc I use to draw
- From: Paul Davis <pbd Op Net>
- To: Luis Velez <luis hpcf upr edu>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: Problem with the gc I use to draw
- Date: Thu, 14 Mar 2002 15:53:58 -0500
>> >The drawing goes fine but after I draw if I go to the buttons these get
>> >painted(as if the color leaked) in the color of the white_gc or black_gc
>> >I am using to draw. Why is this?
>>
>> styles are shared resources. if you don't this effect, use
>> gtk_style_copy() and gtk_widget_set_style() to get a per-widget style,
>> and then modify the copy.
>
>I tried using different styles for each widget but I still encountered the
>same problem.
did you use gtk_style_copy() ? and did you copy the GC's? I should
probably have mentioned that too - they are also shared resources.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]