Re: [pygtk] no invisible cursor

2005-03-01 Thread Ionutz Borcoman
John Finlay wrote: Ionutz Borcoman wrote: Hi, The reference says: "To make the cursor invisible, use gtk.gdk.Cursor() to create a cursor with no pixels in it." When I try to use it, I get an error: >>> import gtk >>> gtk.pygtk_version (2, 4, 1) >>> c = gtk.gdk.Cursor() Traceback (most recent call l

Re: [pygtk] no invisible cursor

2005-02-28 Thread John Finlay
Ionutz Borcoman wrote: Hi, The reference says: "To make the cursor invisible, use gtk.gdk.Cursor() to create a cursor with no pixels in it." When I try to use it, I get an error: >>> import gtk >>> gtk.pygtk_version (2, 4, 1) >>> c = gtk.gdk.Cursor() Traceback (most recent call last): File "",

Re: [pygtk] no invisible cursor

2005-02-28 Thread Ross Burton
On Mon, 2005-02-28 at 17:08 +0200, Ionutz Borcoman wrote: > The problem is that I still get a black dot. I want nothing, not event > that dot. (I have try to set the pix to have size 0x0, but it crashes > the whole app). > > I believe hiding the cursor is a common enough operation - there should

Re: [pygtk] no invisible cursor

2005-02-28 Thread Ionutz Borcoman
Ross Burton wrote: On Mon, 2005-02-28 at 14:45 +0100, Le Boulanger Yann wrote: I think the doc suggests you to use an empty pixbuf, not to run gtk.gdk.Cursors() without arguments. Maybe i'm wrong :/ That is correct. By "gtk.gdk.Cursor()" the documentation meant "one of the valid gtk.gdk.Cursor co

Re: [pygtk] no invisible cursor

2005-02-28 Thread Ross Burton
On Mon, 2005-02-28 at 14:45 +0100, Le Boulanger Yann wrote: > I think the doc suggests you to use an empty pixbuf, not to run > gtk.gdk.Cursors() without arguments. > Maybe i'm wrong :/ That is correct. By "gtk.gdk.Cursor()" the documentation meant "one of the valid gtk.gdk.Cursor constructors w

Re: [pygtk] no invisible cursor

2005-02-28 Thread Le Boulanger Yann
Ionutz Borcoman wrote: Le Boulanger Yann wrote: Ionutz Borcoman wrote: Le Boulanger Yann wrote: Ionutz Borcoman wrote: Hi, The reference says: "To make the cursor invisible, use gtk.gdk.Cursor() to create a cursor with no pixels in it." When I try to use it, I get an error: >>> import gtk >>> g

Re: [pygtk] no invisible cursor

2005-02-28 Thread Ionutz Borcoman
Le Boulanger Yann wrote: Ionutz Borcoman wrote: Le Boulanger Yann wrote: Ionutz Borcoman wrote: Hi, The reference says: "To make the cursor invisible, use gtk.gdk.Cursor() to create a cursor with no pixels in it." When I try to use it, I get an error: >>> import gtk >>> gtk.pygtk_version (2, 4,

[pygtk] no invisible cursor

2005-02-28 Thread Ionutz Borcoman
Hi, The reference says: "To make the cursor invisible, use gtk.gdk.Cursor() to create a cursor with no pixels in it." When I try to use it, I get an error: >>> import gtk >>> gtk.pygtk_version (2, 4, 1) >>> c = gtk.gdk.Cursor() Traceback (most recent call last): File "", line 1, in ? TypeError: