Sets the background of a button with a Image
- From: "windflying zhou" <windflying zhou gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Sets the background of a button with a Image
- Date: Fri, 9 Nov 2007 17:33:33 +0800
Hello, everyone
How can I do this(Sets the background of a button with a Image) please?
In RC file:
I did this:
style "button"
{
bg_pixmap[NORMAL] = "1.bmp"
bg_pixmap[SELECTED] = "2.bmp"
}
widget_class "*GtkButton*" style "button"
But it can't work, then how can I do?
Thank you very much!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]