ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
[wxPython-users] Doubt with event handling: can I event.Skip() all the time?
by Jorge Godoy other posts by this author
Jul 22 2004 5:52PM messages near this date
Re: [wxPython-users] wx.ListItem.GetBackgroundColour() return (-1,-1,-1) | [wxPython-users] 2 Quick Questions on wxTreeCtrl
Hi!


Could there be any problem if I adopt a default of ending my methods
with an 'event.Skip()' call for each and every method that is activated
by an event? 

This seems to be required by GTK whenever an event is activated by an
EVT_KILL_FOCUS signal. 

My idea was to have something like:

----------------------------------------------------------------------
def methodToHandleEvent(self, event):
    code to do what I want
    code to do what I want
    code to do what I want

    # Let the signal go ahead... 
    event.Skip()
----------------------------------------------------------------------


TIA,
-- 
Godoy.     <godoy@[...].org> 


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Thread:
Jorge Godoy
Eugene Borodkin
Eugene Borodkin
Eugene Borodkin
Mikael Norgren
Jorge Godoy
Peter Damoc
Jorge Godoy
Robin Dunn

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved