ToggleButton style
- From: "Diego A. Fons" <diegofons apexar com ar>
- To: gtk-list <gtk-list gnome org>
- Subject: ToggleButton style
- Date: Tue, 21 Aug 2007 14:45:24 -0300
Sorry for my mistake, here is the rc style file, in case i can help.
pixmap_path "/usr/share/pixmaps"
style "my-button" {
xthickness = 0
ythickness = 0
engine "pixmap" {
image {
function = BOX
state = ACTIVE
file = "boton_pressed.gif"
#border = { 3, 3, 3, 3 }
stretch = TRUE
}
image {
function = BOX
file = "boton_unpressed.gif"
#border = { 3, 3, 3, 3 }
stretch = TRUE
}
}
}
style "my-toggle-button" {
xthickness = 0
ythickness = 0
engine "pixmap" {
image {
function = BOX
state = ACTIVE
file = "toggle_pressed.gif"
#border = { 3, 3, 3, 3 }
stretch = TRUE
}
image {
function = BOX
file = "toggle_unpressed.gif"
#border = { 3, 3, 3, 3 }
stretch = TRUE
}
}
}
style "my-radio" {
xthickness = 0
ythickness = 0
engine "pixmap" {
image {
function = BOX
state = ACTIVE
file = "boton_pressed2.gif"
#border = { 3, 3, 3, 3 }
stretch = TRUE
}
image {
function = BOX
file = "boton_unpressed2.gif"
#border = { 3, 3, 3, 3 }
stretch = TRUE
}
}
}
class "GtkButton" style "my-button"
class "GtkToggleButton" style "my-toggle-button"
widget "*.radio" style "my-radio"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]