Re: [gtk-list] How to change button label ?!



You would use

gtk_label_set_text( GTK_LABEL(label), "what ever you want here" );

If you're looking for additional documentation, which doesn't come with the
source,
try http://www.gtk.org/rdp/gtk/book1.html for the gtk reference manual.
Of course, it is still "under construction". =)
/------------------------------------------------------------------------\
| Miranda Hawarden-Ogata             Email: hawarden@irtf.ifa.hawaii.edu |
| NASA IRTF, Institute of Astronomy  Phone: (808) 974-4206               |
| 1175 Manono St., Bldg 393            Fax: (808) 974-4207               |
| Hilo, HI 96720                                                         |
\------------------------------------------------------------------------/

-----Original Message-----
From: Sven Anders <anderss@fmi.uni-passau.de>
To: gtk-list@redhat.com <gtk-list@redhat.com>
Date: Tuesday, August 17, 1999 10:49 AM
Subject: [gtk-list] How to change button label ?!


>
>Hello !
>
>I'm missing one question in the FAQ:
>
> How to change a button's label after it's creation ?!
>
>Regards
> Sven
>--
>            .-------------------------------------------------------.
>    .^.     | Sven Anders, Germany | anderss@fmi.uni-passau.de      |
>    /V\     |----------------------| www.fmi.uni-passau.de/~anderss |
>   // \\    | Sites I recommend:   `--------------------------------|
>  /(   )\   | www.freshmeat.net www.enlightenment.org www.gnome.org |
>   ^^-^^    `-------------------------------------------------------'
>
>--
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>



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