Re: GDK set_cursor

From: Date: Thu, 19 May 2005 17:29:17 +0000
Subject: Re: GDK set_cursor
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1299@lists.php.net to get a copy of this message
Why is there no object context? I don't see anything wrong with that function. this_ptr should be filled in by the time set_cursor() is called. -Andrei On May 19, 2005, at 3:13 AM, Markus Fischer wrote:
I can create a new cursor with $c = new GdkCursor(Gdk::WATCH); but I can't find a way to call gdk_window_set_cursor correctly. It's defined as GdkWindow::set_cursor but refers to 'this_ptr' in the source, when there's no object context to call it from; calling it statically fails: gdk_window_set_cursor(GDK_WINDOW(PHPG_OBJECT(this_ptr)), cursor);


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