Add Show() and Hide() to runtime to show/hide application#1599
Merged
leaanthony merged 4 commits intomasterfrom Jul 20, 2022
Merged
Add Show() and Hide() to runtime to show/hide application#1599leaanthony merged 4 commits intomasterfrom
leaanthony merged 4 commits intomasterfrom
Conversation
Deploying with
|
| Latest commit: |
1ef1a25
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f3f9fecf.wails-website.pages.dev |
| Branch Preview URL: | https://feature-application-show-hid.wails-website.pages.dev |
leaanthony
added a commit
that referenced
this pull request
Jul 21, 2022
* Add troubleshooting for `Not Found` error (#1586) Issues with Vite's optimizer * Remove usage of unsafe.Pointer in winc (#1556) * Remove usage of unsafe.Pointer * [windows] Remove MakeIntResource and add overloads for Load functions * Fix `EnumProc` race condition. * Refactor `EnumDisplayMonitors` to use `unsafe.Pointer` instead of `uintptr` Co-authored-by: stffabi <stffabi@users.noreply.github.com> * [windows] Fix stack corruption when using ICoreWebView2HttpHeadersCollectionIterator (#1589) The API expects a `BOOL *` with `typedef int BOOL` therefore we need to use a `int32` on the stack. * Docs/better homepage (#1591) * Better carousel width * Learn more button * Learn more button * Fix button/width * Update introduction * Fix outline colour * remove custom css * remove default css * use secondary button * Update sponsors. Improve website for mobile. * v2.0.0-beta.39 * fix docs again (cherry picked from commit 0a9ae0d) * Fix docs for good * Docs FTLOG * Fix docs again! * Fix Varly link * Fix Varly link * Update example for macOS Menu (#1600) * Update example for macOS compatibility Reference #1588 * Add comments, remove duplicates * Add compatibility for Go1.17 (#1605) * v2.0.0-beta.39.2 * [v2] Fix plain template (#1609) * [template] Add missing main.go file to plain template * [dev] If wails could not be find in go.mod output a gracefull error message * Install dev dependencies before starting dev mode (#1615) * Add Show() and Hide() to runtime to show/hide application (#1599) * Add Show() and Hide() to runtime to show/hide application * Fix devserver * Update API docs * Fix container size (#1616) * Update Crowdin configuration file * Update Crowdin configuration file * Update Crowdin configuration file * Bump terser from 4.8.0 to 4.8.1 in /runtime/js (#1625) Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump terser from 5.12.0 to 5.14.2 in /website (#1627) Bumps [terser](https://github.com/terser/terser) from 5.12.0 to 5.14.2. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Antonio <acheong@student.dalat.org> Co-authored-by: Lea Anthony <lea.anthony@gmail.com> Co-authored-by: stffabi <stffabi@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Potential fix for #1583
It should be noted that for Windows and Linux, this will simply call WindowShow and WindowHide.
Mac has the concept of hiding applications which is different from hiding the window. That's what this API does.