Re: Styles in GnomeCanvas?



>  I figured out the solution to my last question (changing the background
>  color in GnomeCanvas), but now I'm having another problem that may not be
>  as easy for me to solve. When I set the bg_pixmap[GTK_STATE_NORMAL] of a
>  GnomeCanvas, it displays my image once and then removes it. I'm not sure
>  if GnomeCanvas supports having a background pixmap normally. 

Ah.  Currently the canvas assumes it will have a blank background, and
it uses the default style's background color for that purpose.  I
guess it would not be terribly hard to modify the canvas to use the
gtk_paint_*() functions to draw the background pixmap from the style.

  Federico



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