Most viewed recipes tagged "connect"http://code.activestate.com/recipes/tags/connect/views/2011-02-19T17:50:42-08:00ActiveState Code RecipesConnect PyGTK object events to class methods automatically (Python)
2011-02-19T17:50:42-08:00Pavel Krchttp://code.activestate.com/recipes/users/4177047/http://code.activestate.com/recipes/577577-connect-pygtk-object-events-to-class-methods-autom/
<p style="color: grey">
Python
recipe 577577
by <a href="/recipes/users/4177047/">Pavel Krc</a>
(<a href="/recipes/tags/automate/">automate</a>, <a href="/recipes/tags/connect/">connect</a>, <a href="/recipes/tags/decorator/">decorator</a>, <a href="/recipes/tags/event/">event</a>, <a href="/recipes/tags/pygtk/">pygtk</a>).
Revision 2.
</p>
<p>A module that allows you to not to repeat yourself (DRY) while writing typical PyGTK constructions (an object containing PyGTK widgets with its methods servicing widget events) by calling connect() automatically. See docstring.</p>