Re: $list->selection
| From: | Iuri Fiedoruk | Date: | Tue, 13 Mar 2001 18:53:31 +0000 |
| Subject: | Re: $list->selection | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-807@lists.php.net to get a copy of this message | ||
Em Ter 13 Mar 2001 15:36, Edward A. McLain escreveu:
> Sorry.. My bad.. I was doing some testing and forgot to correct some
> things before
> Should be:
> function handle_select($gtkwidget, $row, $column, $even)
> {
> $blah = $gtkwidget->get_text($row, $column, $bleh);
> if ($blah) {
> print "you clicked on $bleh\n";
> }
> print "value could not be retrieved.\n";
> }
> }
>
> $blah is the return identifier on whether or not the function could get
> the text. $bleh is
> the actual text that was in the field.
> From my experience on this so far, the actual documentation on the
> gtk.org website is
> a better reference for the functions that anything. They are usually
> very close to the
> way php-gtk calls them..
>
It's returning a empty value, but probaly it's because of the changes Andrei
said he did on CVS. Thanks anyway, I'll wait until it works again.
--
Iuri Fiedoruk
Santa Maria, RS, Brazil