Re: image in button



On Sun, Jan 16, 2005 at 03:44:56PM +0000, Ranieri Mazili wrote:
> how to add a image in a button ?
> 
> I need of examples

The Gtk+ tutorial does contain an example

  http://www.gtk.org/tutorial/ch-buttonwidget.html

(In Gtk+2.6, there's a new way, but I'd use the old method
for compatibility.)

And you can read the part about widget packing too: button
is a container, so images can be packed to it the same way
as to other containers.

Yeti


--
Dynamic IP address is not a crime.



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