Comments (8)
That is not a very helpful answer to an entirely reasonable question. Understanding the use case will make it easier to reason about adding functionality.
from fyne.
The Quit command (Cmd+Q) in macOS can be captured by using github.com/golang-design/hotkey
from fyne.
What is the use-case for intercepting the quit request if there is no visible action in progress?
from fyne.
from fyne.
It gives me enough information to say "just run your code after "App.Run()" has returned. You don't need any hooks to be informed when the event loop ends.
from fyne.
from fyne.
from fyne.
It does not relate to the Quit menu item or the system tray. It is part of the app runloop that when exited the main function will continue.
You can see it illustrated by "tidyUp()" here: https://docs.fyne.io/started/apprun
from fyne.
Related Issues (20)
- Capability to intercept Quit from Menu/Dock for Mac HOT 11
- Hang when using Entry fields HOT 5
- Some problems encountered when using the NewRichTextWithText (markdown syntax incompatible) method. HOT 5
- Scroll acceleration logic causes scrolling to "jump" suddenly on MacOS HOT 1
- fyne package is trying to bundle 32bit resource file HOT 11
- The content of the entries in the list may wrap to a new line or get lost when scrolling. HOT 1
- High CPU and sluggishness running a simple wasm app HOT 8
- Make `fyne serve` accept `--metadata` flags HOT 2
- button-disable-OnTapped? HOT 1
- fyne_demo logs Fyne error: Failed to load image when click Widgets/Text
- Demo Compilation error : /usr/bin/ld: cannot find -lXxf86vm: No such file or directory HOT 2
- FileOpen and FoldOpen:The window will always go into a subfolder automatically HOT 2
- Add tooltip to system tray HOT 1
- NewTreeWithData will occasionally show "item" disappearing on Ubuntu 18
- Android VPN Client HOT 3
- implicit declaration of function '_beginthread' HOT 1
- compilation failed ubuntu 24.04 LTS HOT 9
- Trigger MenuItem Selection in Open Menu of Select Widget in Test HOT 3
- Table Keyboard Navigation with Header Row Hides First Data Row
- Add Access to Table's Current Focus HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fyne.