On Mon, 2003-09-29 at 16:51, Christian Reis wrote:
> On Mon, Sep 29, 2003 at 04:49:49PM +0100, Stephen Kennedy wrote:
> > On Mon, 2003-09-29 at 16:01, Christian Reis wrote:
> > > On Thu, Sep 25, 2003 at 10:57:23AM +0100, Stephen Kennedy wrote:
> > > >         path, col, cellx, celly = treeview.get_path_at_pos(
> > > > int(event.x), int(event.y) )
> > > 
> > > Question: Aren't event.x and event.y always integers?
> > 
> > Actually in pygtk-2.0.0 they're floats. I found this out when
> > upgrading to python2.3 - it gives warnings when passing floats
> > to c functions taking an integer.
> 
> We have subpixel resolutions now?

Dont think X11 has, but the gdk api supports them.
See gdkevents.h

Stephen
-- 
Stephen Kennedy <[EMAIL PROTECTED]>
http://meld.sf.net visual diff and merge

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to