Re: [gtk-list] buttons with labels.
- From: Elliot Lee <sopwith cuc edu>
- To: alaric mail2 nai net
- cc: gtk List <gtk-list redhat com>
- Subject: Re: [gtk-list] buttons with labels.
- Date: Fri, 27 Feb 1998 00:41:39 -0500 (EST)
On Thu, 26 Feb 1998, Leeman Strout wrote:
> I would like to have the ease of using gtk_button_new_with_label, however
> also be able to access the lable semi-directly. That is, I'd like to be
> able to change the value of the label attached to that button.
>
> Is there a hard way? (while still using _new_with_label?) Any plans on
> making an easy way? For instance a gtk_button_label_set() function that
> would work with all types of buttons? (if possible)
gtk_label_set(GTK_LABEL(GTK_BUTTON(mybutton)->child), "New label text");
Or something along those lines...
-- Elliot http://www.redhat.com/
"The obvious mathematical breakthrough would be development of an easy way
to factor large prime numbers." -- Bill Gates from "The Road Ahead," p. 265.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]