Questionning the privacy of certains very usefull state #6494
|
Hi, I love Fyne, but when I use it. I'm always facing real issues with the amount of useful stuff that are just not published and not even readable/settable by functions. The last one I just encountered is with innerWindows. If I got it right, to manage maximizing and restoring innerWindow size, we need to define a OnMaximize function callback. But we also need to manage our own maximized flag... why the maximized flag of the innerWindow is not published ? In my opinion this is the same issue with a lot of Fyne's standard elements. I sadly can't understand why, I need explanation. Thanks a lot. Kind regards. |
Replies: 1 comment
|
Our policy is that an API is not made public until there is a particular need and we are cure that it is correct. As for "the same issue with a lot of Fyne's standard elements" I cannot reply to generalities. If there is something we have missed then please do open an issue. |
Our policy is that an API is not made public until there is a particular need and we are cure that it is correct.
I think you're right we got something wrong with OnMaximized - it should have passed the state, but tracking the bool is thankfully a minimal burden (same with iconified).
As for "the same issue with a lot of Fyne's standard elements" I cannot reply to generalities. If there is something we have missed then please do open an issue.