Using Python + PyGTK. Is there a way to check for events / events to resize a window? If so, what is the easiest way to implement and use this signal.
a gtk.Window also gtk.Container , so it responds to a check-resize signal.
gtk.Window
gtk.Container
check-resize
Here's a minimal code example:
import gtk def changed(window): print 'I have resized.' w = gtk.Window() w.connect('check-resize', changed) w.show() gtk.main()