textctrl.PositionToXy

Nathan smith <[email protected]> Thu, 17 Feb 2022 00:06:53 +0000
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Hi there,


could someone give me a quick rundown of what textCtrl.PositionToXy 
actually does?

According to the documentation it returns a 0 based line position and 
column number, which I would assume to mean,:

PositionToXy(t1.GetInsertionPoint())

would return (x, y) where y is the line number in the widget and x is 
the character count from left to right.


bug first off it returns (Bool, X, Y). What is that bool for?


And second off I have a texCtrl that is returning 318 when it only has 
169 lines in it.


thanks in Advance,

Nathan

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/4af33410-c876-870d-b6c3-487226700eb0%40gmail.com.