Re: GTK Entry and GTK Notebook

From: Date: Fri, 10 Aug 2001 21:13:58 +0000
Subject: Re: GTK Entry and GTK Notebook
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2764@lists.php.net to get a copy of this message
On Fri, 10 Aug 2001, Lorrie Cooke wrote: > Hi :) > > Im trying to get text out of a entry box that is in a GTK Notebook > > Usually its just a matter of using $name = $entry->get_text(); > > however when i try that I am getting an error: call to undefined > function get_text() > > below is a code snippet: > > When I echo $currname it is returning "object" as expected.. but then > the error comes.. So im not sure what I have done wrong.. This is because callbacks for 'clicked' signal are passed the button they are connected to as the first argument. Your custom parameters come later. -Andrei * Why is it always Segmentation's fault? *

« previous php.gtk (#2764) next »