Re: Routing scroll events in a Gtk.Overlay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On Thu, Jun 5, 2014 at 4:12 PM, Robert Schroll <rschroll@xxxxxxxxx> wrote:

def eb_scroll(widget, event):
   print "Event Box scroll event"
   return True
eb.connect('scroll-event', eb_scroll)

this connects after the default handler, not before it.

i don't know pygtk all that well; in gtkmm (the C++ binding) there is an optional "before" boolean argument to the connect call to get the handler connected BEFORE the default handler.
 
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux