Fw: [PHP-GTK-DEV] NTRVNRP
| From: | Steph Fox | Date: | Sun, 18 Jun 2006 22:28:05 +0000 |
| Subject: | Fw: [PHP-GTK-DEV] NTRVNRP | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-3084@lists.php.net to get a copy of this message | ||
Hmm, it _kind_ of thinks it's a pointer...
C:\php5>cat bug.php
<?php
$window = new GtkWindow();
$window->connect_simple('destroy', array('gtk', 'main_quit'));
$ctree = new GtkCTree(2, 0);
$ctree->set_size_request(300, 200);
print $ctree->get_name()."\n";
$node = $ctree->node_nth(0);
var_dump($node);
$window->add($ctree);
$window->show_all();
Gtk::main();
?>
C:\php5>php bug.php
Warning: GtkCTree::__construct() is deprecated: use GtkTreeStore/GtkTreeView in C:\php5\bug.php on line 6
GtkCTree
** (bug.php:2004): CRITICAL **: file C:\sandbox\php-gtk\main\phpg_gpointer.c: line 84: assertion `pointer != ((void *)0)' failed
NULL
I think I've had enough of fighting with it today - I'm outti.
Laters!
- Steph
----- Original Message ----- From: "Steph Fox" <steph@zend.com>
To: "Andrei Zmievski" <andrei@gravitonic.com>
Cc: "Christian Weiske" <cweiske@cweiske.de>; "PHP-GTK dev" <php-gtk-dev@lists.php.net>
Sent: Sunday, June 18, 2006 11:34 PM
Subject: Re: [PHP-GTK-DEV] NTRVNRP
You defined GtkCTreeNode as a pointer. (It's a 'faked' boxed type in GTK+ anyway, I think they must've had issues with it too.) I've got it to generate stuff, but I'm having problems testing the generated stuff atm... 'cos of course nothing else works around it either (pixmaps, bitmaps et al).Pointer support?? -Andrei On Jun 18, 2006, at 12:24 PM, Steph Fox wrote:Hi Chris,__________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.comNot a lot, I was just going through the TODO last night trying to find easy things to fix :). DND works on win32 now btw (first ever time!!!!) I've spent this afternoon/eve trying to write pointer support into the generator, but I don't think it's quite right. It works, but it isn't how it's meant to be. (I think anyway.) I'll mail in with it when I've stopped playing, I won't commit this. - StephDo you happen to have any test code lying around for anything you've marked as 'NTRVNRP' in the TODO? It'd save time if...No, sorry. I also was away on the weekend. What's missing?-- Regards/MfG, Christian Weiske -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php