pixmap tiling on canvas



I'm having trouble setting a pixmap background for the GnomeCanvas.
I'm using a gtkrc file, which works well for tiling other gtk
widgets, but when I try this with the GnomeCanvas, the pixmap
appears very briefly and is then whiped out by the default color.
Coloring the canvas works fine.

Here's part of the gtkrc:

-------------------
style "canvas"
{
  bg_pixmap[NORMAL] = "bg_pixmap.xpm"
}

widget_class "*GnomeCanvas" style "canvas"
-------------------

What's wrong?  Thanks!

Jeff



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