Re: normal button labels
- From: Sven Neumann <sven gimp org>
- To: CyborgHead netscape net
- Cc: gtk-list gnome org
- Subject: Re: normal button labels
- Date: 08 Mar 2001 12:36:50 +0100
CyborgHead netscape net writes:
> Is there a simple way to change the text in the label of a button set in the function gtk_button_new_with_label(), during runtime. I have looked at the example in the Tutorial Chapter 6.1 and it seems to complicated to just change the text in a button. Is there a quick and easy way to do it.
>
gtk_label_set_text (GTK_LABEL (GTK_BIN (button)->child), text);
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]