[Glade-users] Adding a xpm to a Button



I use a toolbar and then set it for icons then attach buttons to the 
toolbar using glade...... might be a better way but it works for me.....



Jeff Gaskill wrote:

Is there a way to add a Pixmap (xpm) to a standard GTK button
from within Glade?  We are developing and application that will
use the Gnome main window along with many of the Gnome stock
buttons.  These buttons provide a xpm to the left of the button 
label.  We would like to replicate this style with other standard
buttons using our own xpm files and labels.  I don't see how
this can be done through Glade.  Glade only allows a label to be
applied to the button.

I'm new to both Glade and GTK development but understood that the
GTKbutton widget allowed you to insert any type of widget in its
container.  If this is possible in raw GTK, is it possible through
Glade.








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