Re: modifying text of a GtkButton
- From: jrb redhat com
- To: Bernd Hornböck <bhornboeck grips com>
- Cc: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: modifying text of a GtkButton
- Date: 06 Mar 2001 12:28:36 -0500
Bernd Hornböck <bhornboeck grips com> writes:
GtkLabel *buttonlabel = (GTK_CONTAINER (refresh_button))->label_widget;
gtk_label_set_text ( buttonlabel, (const gchar*) "stillempty" );
Use:
GtkWidget *button_label = GTK_BIN (refresh_button)->child;
gtk_label_set_text (GTK_LABEL (button_label), "stillempty");
Instead.
Thanks,
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]