Type to store anything in a GtkTreeStore/GtkListStore

From: Date: Mon, 21 Nov 2005 22:10:51 +0000
Subject: Type to store anything in a GtkTreeStore/GtkListStore
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2082@lists.php.net to get a copy of this message
Hello all, I'm wondering what type I could use to store any object/value of simple data type in a GtkTreeStore or GtkListStore. (PHP-Gtk2) Currently I have the following code: > new GtkTreeStore(Gtk::TYPE_PHP_VALUE); which allows me to store any php object and array in the model. Downside is that I can't add GtkWidgets into it. On the other side, if I do > new GtkTreeStore(Gtk::TYPE_OBJECT); I can add widgets, but no php objects or arrays. For both, I can't add simple data types like strings, ints, floats and so on. Is there a one-covers-all type I could use? -- Regards/MfG, Christian Weiske

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.dev (#2082) next »