Re: About gtk_label_set_text()



learfox furry ao net wrote:

I think this should work! When you attach the signal, make sure you
pass the label widget as the client data pointer.

this should not be needed at all. you can get the label out of the
button with:

GtkWidget *label;

label = (GTK_LABEL(GTK_BIN(button)->child));

i hope this is right, i tell this from memory ;-) ...

regards ...
clemens




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