Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter movable Dot?
#1
Can someone give me an example using tkinter's canvas and bind fetures to make a circle that you can move by using either WASD or the arrow keys?
Reply
#2
Hmm, not quite sure how this would be done but you could take a look at this for responding to keyboard events.
[Image: izsyo6.jpg]


Reply
#3
(03-05-2010, 08:36 PM)uber1337 Wrote: Hmm, not quite sure how this would be done but you could take a look at this for responding to keyboard events.

Yeah, Ive tried it. But cant seam to get it to work either. Do you know of another methoed that may work?
Reply
#4
(03-05-2010, 10:16 PM)nevets04 Wrote: Yeah, Ive tried it. But cant seam to get it to work either. Do you know of another methoed that may work?
To be honest I am not sure. If you are having trouble with the events you should probably ask Nyx, one of his recent scripts had a nice little event that reloaded the GUI, that is probably what you are looking for.
[Image: izsyo6.jpg]


Reply
#5
oops... O.o
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to display variable serial data on Tkinter window. srinivas.rambha 0 1,010 06-17-2013, 05:54 AM
Last Post: srinivas.rambha
  [Tutorial] Advanced Tkinter Calculator uber1337 8 5,633 04-06-2010, 11:51 AM
Last Post: uber1337
  Complete Tkinter Calculator uber1337 0 1,763 03-06-2010, 09:49 AM
Last Post: uber1337
  [Tutorial] Basic Tkinter Calculator uber1337 0 7,194 02-20-2010, 12:44 PM
Last Post: uber1337

Forum Jump:


Users browsing this thread: 1 Guest(s)