Re: [gtk-list] Re: widechar support



phil@bolthole.com (Philip Brown) writes:

> [ Tim Janik writes ]
> >...
> > if you use button = gtk_button_new_with_label(), you'll have to change/apply
> > the style of GTK_BIN (button)->child to afefct the label.
> 
> Um. ugh.
> Is it different if I just use gtk_button_new()?
> I was presuming "gtk_button_new_with_label" just meant
> 
> "Make a button, and give an initial value for the button text".

There is no such thing as "button text" in Gtk.  Button is just a
container.  In many cases you want it to contain a label, and
gtk_button_new_with_label() is a useful shorthand for those cases.



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