[nycphp-talk] OO PHP-Gtk
Chris Snyder
csnyder at chxo.com
Thu Apr 15 10:43:07 EDT 2004
Php-gtk is not my area (tho I was able to successfully install it once).
Your code works in a non-gtk context, given the following pseudo-object
(php 4.3.2 on osx):
class GtkButton {
function GtkButton($name) {
$this->name = $name;
}
function connect ($event, $callback) {
$callback[0]->{$callback[1]}();
}
}
Not sure if that helps or not, but if you can get a fake GtkButton to
behave like the real GtkButton, maybe you can figure out why it doesn't
work and route around the problem?
More information about the talk
mailing list