[Glade-users] How can I access a button's label to change the text?
- From: damon helixcode com (Damon Chaplin)
- Subject: [Glade-users] How can I access a button's label to change the text?
- Date: Thu, 14 Sep 2000 18:58:34 +0100
Friedrich Steven E CONT CNIN wrote:
I'm really struggling to learn GTK and GNOME...
How can I access a button's label to change the text?
If the label is the only widget in the button you can use
GTK_BIN (button)->child
(GtkButton is a subclass of GtkBin, which is a container with one child,
which it stores in the child field of its struct.)
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]