PDA

View Full Version : How to create a toggle button with 2 custom images on GLADE?



JJHK
September 14th, 2012, 09:36 AM
I would like to create a toggle button which shows an image for button up and shows another image for button down.

I am new to GTK+ and Glade, and I wonder if someone can help to give me a pointer on it.

Thx in advance.

DarkAmbient
September 14th, 2012, 03:30 PM
I think you need to define a callback-function on the toggle-signal, and set the other image in the callback. Not sure if it's possible to do this from inside Glade (only) though.