How to create an invisible cursor?

I want to make an invisible cursor in gtkmm. The documentation of Gdk::Window::set_cursor say that I have to use "gdk_cursor_new_from_pixmap()". Is this really necessecary? If yes, can you give me an example? I couldn't figure it out on my own :(

PS. Why Gdk::CursorType doesn't support "GDK_BLANK_CURSOR"? I think it would make things a lot easier.

Thanks in advance.

Με το Windows Live, μπορείτε να οργανώνετε, να επεξεργάζεστε και να μοιράζεστε τις φωτογραφίες σας.

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