Re: [Vala] Setting image on a button?



Hello,

Le 16/05/11 à 18:33, Damien Radtke a écrit :
I'm trying to add an image to a button, but it doesn't display. I'm loading
one of the stock images, and can get it to display fine on its own, but it
doesn't show after placed on a button with set_image(). I've also looked
into the "gtk-button-images" setting to see if it's disabled, but
Gtk.Settings doesn't seem to support that property.

Using vala 0.11.5.

You can see an example here: 
http://bazaar.launchpad.net/~valide/valide/trunk/view/head:/libvalide/utils.vala#L320

You probably forget image.show()




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