Setting a background image for GtkCellRenderer.



Hi,
Am facing problem setting a background image to a GtkCellRenderer, trying to
set the background image for GtkCellRenderer, using the rc file,
 my intention is to set a background image(a transparent one) to a cell
which is selected,

This is the part of the rc file i am using.
style "sample-cellrenderer" {
engine "pixmap" {
  image {
          function        = FOCUS
         file            = "sample.png"
          border          = { 0, 0, 0, 0 }
          stretch         = TRUE
      }
    }
}
widget "GtkCellRenderer" style "sample-cellrenderer".

can some help me through this.

Thanks,
Srikanth.



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