Re: GTK+-2.2.2 gc behavior



On Tue, 2003-06-24 at 19:44, George M. Gallant wrote:
> I am observing an odd behavior when using the widget->style->black_gc 
> and either ulers or scrollbars. The line thickness of the rulers and the
> arrow heads of the scrollbars seem to follow the line thickness of my
> drwaing area. I am performing a zoom in/out on a drawing by first 
> writting to a pixmap then coping the portion desired to a drawing area.
> As this is my first real GTK program, I am open to any and all feedback.
> 

Sounds like you are modifying widget->style->black_gc, which is not
a good idea [*]. If you need a modified GC, you should create your own.

Regards,
 						Owen

[*] The one thing that you can generally do is set the clip region
    for one of the style GC's, then set it back to empty after you
    are done.





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