Stephen Kennedy wrote:

Plain "connect" works fine, but the "connect_after"
callback does not get called.
Or am I doing something wrong? See attached example.


No bug here.

For the standard widget event signals, a custom accumulator is set. When going through the list of handlers to call for the signal, the process goes like this:

  1. call handler
  2. if it returned True, skip the rest of the handlers in the list and
     return True
  3. otherwise, continue to the next handler

GtkTreeView handles button press events, so its handler will return True. If you have a handler further down the list, then it won't get called.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to