python binding to force a gui update