| | |
How to detect a click in a grid cell?
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
I have a small WxPython app using the CalendarCtrl module, which works
fine. I have it set to bring up a grid of times for a particular day's appointments
when I click on one of the days.
But I don't see how to detect which cell of a grid I click on and use that (row,col)
value. I found an example detecting the (x,y) in the panel on a click, but I don't
see this kind of example.
Any ideas? Thanks much.
Mark McWiggins
fine. I have it set to bring up a grid of times for a particular day's appointments
when I click on one of the days.
But I don't see how to detect which cell of a grid I click on and use that (row,col)
value. I found an example detecting the (x,y) in the panel on a click, but I don't
see this kind of example.
Any ideas? Thanks much.
Mark McWiggins
If you are using wx.grid.Grid, there is an example here:
http://www.daniweb.com/forums/post666940-59.html
http://www.daniweb.com/forums/post666940-59.html
May 'the Google' be with you!
![]() |
Similar Threads
- memory management in wndows 2000 (Windows NT / 2000 / XP)
Other Threads in the Python Forum
- Previous Thread: Convert Python script into dll
- Next Thread: Screen Scraping - part deux
| Thread Tools | Search this Thread |
Tag cloud for Python
alarm assignment avogadro beginner bluetooth character cmd code copy customdialog cx-freeze data decimals dictionary directory dynamic error examples excel exe file float format ftp function generator gnu graphics gui halp homework http ideas import input itunes java leftmouse line linux list lists logging loop module mouse number numbers output parsing path port prime program programming projects push py2exe pygame pyglet pyqt python random recursion recursive schedule screensaverloopinactive script scrolledtext slicenotation sqlite ssh stdout string strings sudokusolver table terminal text thread threading time tkinter tlapse tuple tutorial ubuntu unicode update urllib urllib2 variable ventrilo verify vigenere webservice wikipedia windows wxpython xlib






