mirror of
https://github.com/php/php-gtk-src.git
synced 2026-03-27 02:32:15 +01:00
- Implement GtkListStore::append(), GtkListStore::set(), and
GtkTreeModel::get_value().
All this allows things like:
class mine {
var $a = 5;
var $b;
function __construct($b) {
$this->b = $b;
}
}
$store = new GtkListStore(Gtk::TYPE_PHP_VALUE);
$iter = $store->append();
$o = new Mine(99);
$store->set($iter, 0, $o);
var_dump($store->get_value($iter, 0));