tkagg: raise each new window; partially addresses #596#5951
tkagg: raise each new window; partially addresses #596#5951pelson merged 1 commit intomatplotlib:masterfrom
Conversation
This uses the method suggested by @gsonnenf in a comment on matplotlib#596.
There was a problem hiding this comment.
I wonder if we should make this a method on the FigureManager[TkAgg] - that way we can re-use in code too.
There was a problem hiding this comment.
Long-term, it might make sense to have a standard API for requests to the window manager. (We can't do more than make requests; each particular window manager has the final say.) I'm reluctant to try to design this now, though, so I'm not sure it would be a good idea to add to our public API by putting this (and the raise() in qt) into methods. It's debatable, and I have been on the fence about it.
There was a problem hiding this comment.
|
This may be addressed by the GUI class structure overhaul which we need to review. |
|
I am 👍 on merging this, but use a very strange window manager so can not meaningfully test it. |
tkagg: raise each new window; partially addresses #596
tkagg: raise each new window; partially addresses matplotlib#596
|
Backported to v2.x via 07d17ba. |
This uses the method suggested by @gsonnenf in a comment on #596.