Re: invisible mouse cursor
- From: "Néstor Amigo Cairo" <nestorac gmail com>
- To: paul linuxaudiosystems com
- Cc: gkt+ <gtk-list gnome org>
- Subject: Re: invisible mouse cursor
- Date: Thu, 31 Jul 2008 19:47:56 +0200
It's easier with Qt/KDE. I have run into the same trouble, and have no
idea about this. I think that the best way is to just hide the cursor
moving it to the bottom-right side of the screen.
There are a lot of C samples on the internet to do this, try "x.org
mouse pointer hide" on Google:
Take a look at this, just as an example:
http://lists.freedesktop.org/archives/xorg/2006-September/018068.html
If you find any better way, please, post it!!
2008/7/31 Paul Davis <paul linuxaudiosystems com>:
>
> 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.
>
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
--
Néstor
+34 687 96 74 81
nestorac gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]