Re[4]: [PHP-GTK-DEV] create cursor
| From: | Tom Rogers | Date: | Wed, 04 Aug 2004 13:52:49 +0000 |
| Subject: | Re[4]: [PHP-GTK-DEV] create cursor | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-670@lists.php.net to get a copy of this message | ||
Hi,
Wednesday, August 4, 2004, 8:42:52 PM, you wrote:
S> Thanks for trying this, Tom!
S> hmm. (my copy, that error's line 157..)
S> Was this using the test script I attached before, the one with Christian's
S> monochrome pixmap in it?
S> If so, could you please try messing with the parameters for the
S> cursor_new_from_pixmap() call?
S> e.g.
S> $cursor = gdk::cursor_new_from_pixmap($mask, $mask, $style->white,
$style->>black, 1, 1);
S> $cursor = gdk::cursor_new_from_pixmap($pixmap, $mask, null, null, 1, 1);
S> (any variations on the theme)
S> Just to confuse the issue further, in the original GDK docs for this, two
S> bitmaps are used..!
S> - Steph
I did try with the mono pixmap and it still did not like it. The only
way was to make the php function accept 2 bitmaps and feed it 2 masks
but there was no way to get a white pixel in the cursor.
I will have a bit more of a play
--
regards,
Tom