Menu

#53 Tkinspect: changing widget background doesn't work for Ttk widgets

None
open
nobody
None
5
2016-03-15
2016-03-15
No

Hi!

When I try to introspect Ttk widgets via Tkinspect it fails because it wants to change the widget backround to pink temporarily. And Ttk widgets don't have the -background option. As a workaround I'd suggest to disable the background change for such widgets. The attached patch does just that. Note that I had to send the [catch] command to the Tkinspect target instead of catching the error locally because the latter approach still throws an error dialog if the [comm] transport is used instead of the [send] one.

1 Attachments

Discussion


Log in to post a comment.