#!/usr/bin/python

from gi.repository import GObject, Gtk

adjustment1 = Gtk.Adjustment()
adjustment2 = Gtk.Adjustment()
print 'binding %s value to %s value' % (adjustment1, adjustment2)
binding = GObject.InitiallyUnowned.bind_property(adjustment1, 'value', adjustment2, 'value', GObject.BindingFlags.DEFAULT)
