[Tutor] mouse_buttons()

Leung Cris krazie_mu_boi at hotmail.com
Sun Nov 30 21:25:08 EST 2003


How do I use that function? It's from Livewires . It returns three values, the middle , right, and left button. Depending on whether it is clicked, it will return a 0 or 1. But how do I get it so that when I click on the screen, it will stop? I've triedthis:

while 1:
  mouse_buttons()
  if mouse_buttons() == 1
    break


but... it doens't work

_________________________________________________________________
¨Ï¥Î¥þ²y¥Î¤á³Ì¦hªº¹q¤l¶l¥óªA°È MSN Hotmail¡G http://www.hotmail.com 




More information about the Tutor mailing list