Comments (3)
the idle_add
is necessary because we're triggering it outside the main loop. that will be required regardless.
i'm a pretty amateurish GTK dev. could you explain or link to an explanation why dialog.run()
is worse than listening to a signal? i tend to do it when i can because it's just simpler code, but if i'm stepping on my own feet w/o knowing it i definitely want to know. docs https://developer.gnome.org/gtk3/stable/GtkDialog.html#gtk-dialog-run don't seem to suggest it's deprecated. also has this:
Note that even though the recursive main loop gives the effect of a modal dialog (it prevents the user from interacting with other windows in the same window group while the dialog is run), callbacks such as timeouts, IO channel watches, DND drops, etc, will be triggered during a gtk_dialog_run() call.
which would indicate it doesn't block the main loop, just creates a modal-like experience. (which i'm looking for here.)
from gnomecast.
I think this comment explains it quite well: https://blogs.gnome.org/desrt/2012/02/26/sprout-and-the-bean/#comment-1225
from gnomecast.
huh, that article is from 2012 and says:
we’re going to deprecate gtk_dialog_run() next cycle. (yay!)
i wonder why that didn't happen.
from gnomecast.
Related Issues (20)
- Error playing Brown Noise 8 Hours, for Relaxation, Sleep, Studying and Tinnitus.webm
- [Feature] Create as appimage
- Error playing Total Recall 1990 BR 720p Qmax.mkv
- GUI freezes on Ubuntu 20.04 when trying to play HOT 2
- Error playing Blade Runner 2049 2017 HDRip 2.18 om lv scarabey.avi
- Error playing Free.Guy.2021.HDRip.XviD.AC3-EVO.avi
- sticky subtitles HOT 8
- socket.gaierror: [Errno -2] Name or service not known HOT 1
- AttributeError: 'Chromecast' object has no attribute 'device' HOT 14
- Error playing 06-Lai-Power-Anemia-Spaghetti-Junction-Remix.mp3 (because it's actually a video somehow!)
- Invalid desktop files detected HOT 1
- exception
- Error playing 1080p.BluRay.x265-DiN.mkv
- Update package in PyPI to include pychromecast version fix
- Installation issue on Fedora 36 HOT 2
- broken tests on master
- Gnomecast casts video but without audio
- "Invalid stream specifier" error with ffmpeg
- Error playing 2024-02-03 18-40-38.mkv
- Unable to find Chromecast
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 gnomecast.