On Wed, 23 Mar 2016 02:47:47 -0400, Terry Reedy wrote:

>      def load_image(self, _):
>          # load image file
> 
> You must pass the bound method, as you did, and not the function itself 
> (which has two parameters).

I meant to ask a followup question in my previous post but
it slipped my mind.

What is the best thing to do...
Define all procedures this way, (self. event)?
Define all event handlers this way?
Define only the event handlers that will be called from
elsewhere in the code, as in this case?

-- 
<Wildman> GNU/Linux user #557453
More gun laws will reduce gun violence just
like Obamacare reduced insurance rates.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to