-
Notifications
You must be signed in to change notification settings - Fork 0
making figuremanager figure centric instead of canvas centric #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a334841 to
6637e60
Compare
|
Same here with the additional commits, I don't get it. |
|
I haven't had a good look through this, but in general I like it, I presume this helps pave the way for multi-figure, 😄. |
|
Yes for multi-figure but for really actually reusable components |
|
I like the idea, but right now I feel more concerned with getting MEP27 reviewed and out so we can work on the other backends, and I don't see this as a blocker, i.e. it doesn't add a feature that we can't add later without any impact on users. |
|
I kind of agree, the only problem, is that if you provide a |
|
Actually I will push a PR for toolmanager that does exactly that, but it will store a |
|
Ahh, understand now what you mean, I didn't notice that difference before. I kind of agree with you, I mean the only reason for having If BC ain't a problem here, then fine, but lets make sure it plays nice with the rest of the codebase as well... |
|
I would go for having |
|
Okay, fine, I think you have convinced me, give it a rebase and lets see if we get any errors from other parts of the codebase wanting a canvas attribute... |
|
Just taken one more look at this and what do you think about splitting this into two? I.e. we have:
From what I see we need to add 1. now, 2. we can add later. Not adverse to 2. just that it creates extra work for the backends and I want to play it super-safe from a next point release deadline point of view from what you write above we can add that part later, probably fine, but I have learnt the hard way not to try and do much. |
|
The part that touches every backend is the The replace figure logic... It's already there... if you insist we can leave it out 😢 |
|
Sure, I understand that I think we can get everything bar this done in two weeks, that should give us a two week margin for error for slow release checks (plus I want to make another PR to refactor out the Save Tool out of the backend and into |
|
Ok, I'll change that to leave it out. |
|
Great, how easy to do it in a fresh PR following the method in #1? |
|
Done, check PR #6 |
6d379bc to
cc1362a
Compare
27885ad to
1b61b42
Compare
eb514d5 to
cc0d4cd
Compare
Same idea and implementation as with my "multifigure-toolbar" PR but just implementing the stuff in the
FigureManagerandWindowGTK3.Please run the example
examples/user_interfaces/reuse_figuremanager.pyjust pressingfonce will switch the figure.The toolbar and toolmanager don't support the FigureManager change of figures, but I already know and have implemented that in my previous PR. I just want to know if you like this idea