Re: GObject constructor

From: Date: Sat, 14 Oct 2006 22:07:59 +0000
Subject: Re: GObject constructor
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3472@lists.php.net to get a copy of this message
Okay, I have this implemented. But exactly how useful is this? $w = new GObject(GtkWindow::gtype, array('type' => Gtk::WINDOW_POPUP)); $w->show_all(); Will give: Fatal error: Call to undefined method GObject::show_all() in /Users/andrei/dev/php-gtk/c.php on line 5 I can only see this being used in a constructor of a custom widget that extends some class.. -Andrei On Sep 28, 2006, at 11:09 PM, Christian Weiske wrote:
Hello all, I guess we don't want to have a GObject constructor as the C method provides? With a parameter for the gtype and an array of property key-value pairs? --Regards/MfG, Christian Weiske


« previous php.gtk.dev (#3472) next »