curse you, cursor!

Nathan smith <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Hello Group,

As you may have guessed this is a question regarding the cursor in WX 
python specifically is there some sort of way in which the cursor can be 
simulated?

I have a panel within a frame, on the panel is drawn a grid. Now I am 
assuming if I drew an arrow by drawing a straight line down, and then 
two diagonals at the top to make an arrow shape, half of it would not 
show because it would be over the top of those pixels already used for 
the line.

Could I in some way though having something (a circle or similar) which 
flashed, danced, hopped about or in some other way indicated where the 
cursor is positioned at the moment?

I'm not entirely sure as to whether this could be worked with the mouse 
perhaps? At the moment I am imaging some sort of thing like:

def mouse_moves(self, event):

  self.cursor_object.move_to(event.x, event.y)

def left_arrow_pressed(self, event):

  # move the mouse one coordinate to the left, causing the cursor to follow

Would that work?

Thanks a lot

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/604b9f6f-bdef-ef0e-acb7-992922cd4a25%40gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.