Re: Set Label on Button with Resource File



Marcos Leal wrote:

Hey there,

	Is that possible to change the Label of a button using just the resource
files ?

No. You can change only the style stuff like colours, fonts, etc.

	I tried something like

widget "mywindow.GtkLabel.my_button" style "white-label"

	Does anybody have any clue on how to do that ?
Use glade interface in text/xml. You can easily edit it by hands in any text editor.
Glade is an interface editor for interface building:
http://glade.gnome.org/

libglade is a library for using glade interface files:
http://www.daa.com.au/~james/software/libglade/

   Olexiy




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