Re: invisible mouse cursor



On Thu, 2008-07-31 at 09:36 +0100, Lukasz Gromotowicz wrote:
> Hi all, 
> I am looking for a way to make the mouse cursor invisible for the
> whole application. I can create the cursor with
> gdk_cursor_new_from_pixmap()
> 
> and set it to any window using
> gdk_window_set_cursor()
> 
> 
> However my application has dozens of windows. They are being created
> in the "button-clicked" event of other windows. Is it possible to set
> the default cursor for all windows, or I have to do
> gdk_windows_set_cursor() in the constructor of each window separately?

the cursor is a per-window property, so it must be set for each window.

what you are trying to do is almost certainly a terrible idea, btw. but
thats a separate discussions.





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