-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Decouple clipboard from fyne.Window #4418
Labels
enhancement
New feature or request
good first issue
Good for newcomers
refactor
Issues related to refactoring code.
Milestone
Comments
Jacalz
added
enhancement
New feature or request
refactor
Issues related to refactoring code.
good first issue
Good for newcomers
labels
Nov 23, 2023
Jacalz
changed the title
Decouple clipboard from Window struct
Decouple clipboard from fyne.Window
Nov 23, 2023
This will make some system tray people happy as well, because we can then use clipboard without having any windows created. |
Cool. I'll assign myself and look into implementing this |
What is the status of this issue? I had a quick glance and it seems that what is left is:
This seems too simple to be true :) |
That sounds about right except I don't think there is any need to expose new structs to do this... |
pierrec
pushed a commit
to pierrec/fyne
that referenced
this issue
Sep 8, 2024
NB. getting a lot of errors when running go test ./..., unrelated to this change. Will investigate some of them as they relate to the locale, others I have no idea.
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
good first issue
Good for newcomers
refactor
Issues related to refactoring code.
Checklist
Is your feature request related to a problem?
The clipboard in GLFW was previously tied to the window. This is no longer the case so I think it seems strange to have a
window.Clipboard()
method when clipboards generally are per app or per system and not per window.See #4417 for step one.
Is it possible to construct a solution with the existing API?
Yeah. We can move the clipboard struct anywhere we'd like.
Describe the solution you'd like to see.
Add a
app.Clipboard()
method and deprecate the one on the window.The text was updated successfully, but these errors were encountered: