RE: [PHP-GTK] $list->selection
| From: | Edward A. McLain | Date: | Mon, 12 Mar 2001 17:17:47 +0000 |
| Subject: | RE: [PHP-GTK] $list->selection | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-705@lists.php.net to get a copy of this message | ||
should be:
$list->connect('select-row', 'function name to call');
that's it.. it then passes the GTK Widget, row, column, and event.. so
forinstance:
$list->connect('select-row', 'hanlde_select');
function handle_select($gtkwidget, $row, $column, $even)
{
$blah = $gtkwidget->get_text($row, 0, $bleh);
if ($blah) {
print "you clicked on $bleh\n";
}
print "value could not be retrieved.\n";
}
}
Ed McLain
-----Original Message-----
From: Iuri Fiedoruk [mailto:bart@avalon.sma.zaz.com.br]
Sent: Monday, March 12, 2001 11:15 AM
To: php-gtk@lists.php.net
Subject: [PHP-GTK] $list->selection
Can someone please try $list->selection?
I think it's broken, I tryied a lot of times using it as perl-gtk
indicates
and get nothing. It just returns nothing to me.
Thanks
--
Iuri Fiedoruk
Santa Maria, RS, Brazil
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net