I have finally discovered how to force Qt to update changed widgets immediately. Just call QApplication.processEvents(), that is, g.app.gui.qtApp.processEvents().
This is *way *better than queuing up an idle-time callback, which is pretty much guaranteed to cause screen flash. Btw, calling QWidget.update, etc. never seems to work. I used this pattern first today in LeoQtBody.add_editor_command. I have just made similar changes to g.recursiveUNLSearch and QtIconBarClass.goto_command. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/ad740bd4-591d-4415-977c-c5d0f5cf02d2%40googlegroups.com.