Re: Changing label of an existing button
- From: Mark Leisher <mleisher crl nmsu edu>
- To: gtk app <gtk-app-devel-list gnome org>
- Subject: Re: Changing label of an existing button
- Date: Tue, 14 Nov 2000 08:09:30 -0700 (MST)
Dani> Is there a simple way to change the label of an existing button???
Not necessarily "simple," but this works:
gtk_label_set_text(GTK_LABEL(GTK_BIN(button)->child), "New Text");
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab Cinema, radio, television, magazines are a
New Mexico State University school of inattention: people look without
Box 30001, Dept. 3CRL seeing, listen without hearing.
Las Cruces, NM 88003 -- Robert Bresson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]