access widget in glade file from script
| From: | Alexander Kuznetsov | Date: | Tue, 19 Nov 2002 14:01:40 +0000 |
| Subject: | access widget in glade file from script | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2676@lists.php.net to get a copy of this message | ||
Hello,
I have a .glade file which contains one GtkEntry (named Entry)
and two Buttons. I have two functions for my buttons.
Problem:
how can I use
$Entry->set_text("text");
method from my functions for buttons?
When I clicked one button I want to see text "But1" in my GtkEntry
and for the second button I want text changed to "But2".
How can I do this?
--
Best regards,
Alexander Kuznetsov