| Author |
Message |
Cerulean Gokenin
Joined: 22 Oct 2004 Posts: 742 Location: London, England
|
Posted: Mon Nov 15, 2004 4:32 pm Post subject: wxPython: Connect vs EVT_* |
|
|
What are the arguments for and against using EVT_* for event driven stuff? Google turns up nothing.
I'm more used to connecting, but probably only because it's a more C++ type thing to do. EVT_* seems simple enough and normal enough with Python. |
|
| Back to top |
|
 |
Algorithms Dragon
Joined: 21 Oct 2004 Posts: 343 Location: Florida
|
Posted: Wed Nov 17, 2004 12:22 pm Post subject: |
|
|
| Preference really, I prefer Connect. I think it provides a more Python'es manner for hooking the callbacks and produces a more readable code. |
|
| Back to top |
|
 |
Cerulean Gokenin
Joined: 22 Oct 2004 Posts: 742 Location: London, England
|
Posted: Thu Nov 18, 2004 11:21 am Post subject: |
|
|
| And I found out its determined the connection is evaluated at run time and not compile time. Pretty useful. |
|
| Back to top |
|
 |
|