Re: can you have no cursor for a window?



On 2002.07.19 15:27 Paul Davis wrote:
> is there a way to fully hide the mouse cursor in a given window?
> gdk_window_set_cursor() with a NULL argument simply reverts to the
> parent cursor (like XDefineCursor (win, None) == XUndefineCursor (win))

Documentation for gdk_cursor_new() says:

To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create
a cursor with no pixels in it.

HTH

-- 
Ali Harlow                              Email: ali avrc city ac uk
Research programmer                     Tel:   (020) 7040 4348
Applied Vision Research Centre          Intl: +44 20 7040 4348
City University                         Fax:   (020) 7040 5515
London                                  Intl: +44 20 7040 5515




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