Re: Goo::Canvas fails to get pointer

On 07.05.2010 09:56, Xi Yang wrote:
I'm using $canvas->get_pointer() and Glib::Object->new_from_pointer() to 
store Goo::Canvas in a shared perl data structure.

When you call it like this, it resolves to Gtk2::Widget::get_pointer,
since Goo::Canvas inherits from Gtk2::Widget.  If you want
Glib::Object::get_pointer, use $canvas->Glib::Object::get_pointer().

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]