[Glade-users] How to get to the label field of a button

Ed Winchester edward.e.winchester@lmco.com
Mon, 14 May 2001 07:48:14 -0400


Hi again, all,

I've been trying to get my glade-generated app to compile.  I know, from
something I read, but can't remember where, that Glade itself will not
generate code to change the label for a button.  I remember seeing
somewhere an example, but can't for the life of me remember where I read
that.

What I tried last was:
    gtk_label_set_text (GTK_LABEL(button->label),"New button label");

I got the error:
    structure has no member named `label'

Please help.

Thanks in advance,
Ed