Setting a background image for GtkCellRenderer.
- From: "Srikanth Nallamothu" <srikant nallamothu gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Setting a background image for GtkCellRenderer.
- Date: Thu, 13 Dec 2007 21:26:41 +0530
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]