-
-
Notifications
You must be signed in to change notification settings - Fork 941
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
DesktopContext
Wrap & Inject
#180
Conversation
#160 I think this PR can help you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Really awesome feature and great job on the code. Very excited to have this demo.
One change:
To make it easier for people to get the desktop context, lets provide a hook that does it for them. Maybe something like use_window
.
Just a nit - can we standardize some language on the methods? The methods added are
Should each of these methods be If the hook was I think it would be clearer to specify that this hook applies to the current window (ie use_window gets the current window context) and then have the methods be just |
ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Good job on the code!
DesktopContext
provide some api to control window, likedrag_window
minimized
maximized
.