Comments (7)
Why is it needed to be integrated into tukaan itself? Just run playsound asynchronously (with the second parameter set to False, as suggested in the playsound's readme), this way it will not block the main thread.
from tukaan.
Well i just thought it would be useful
from tukaan.
Maybe, if you specify what kind of integration do you mean, it would be clearer. From my perspective, it is easy to use playsound as is, as a separate package, without any additional integration.
As an example, what needs some kind of integration is pystray, because there is no clear and obvious way how to add a tray icon when you use tkinter or tukaan. There is some workaround on StackOverflow, but as far as I remember I had some problems with this approach on Linux.
from tukaan.
Well, I'm not going to integrate the playsound
module, for several reasons.
playsound
has only one function, which isn't a big deal to import from there instead of Tukaanplaysound
advertises itself as no dependencies required, which is not true. On Linux you need thePyGObject
package, which is a huge dependencyplaysound
is dumb. It has only one function, which doesn't allow you to stop the music, edit it, or do anything useful with it.- I have a MUCH better idea for sound support in
Tukaan
from tukaan.
@insolor I'm not sure in Pystray either.
It's a pain to get it working with Tkinter, since both have their own mainloops that block each other.
I might just implement the tk systray
feature that's in Tk 8.7, although it would be nice to find a way to make Tukaan and Pystray work well together.
from tukaan.
But mac dosent have Tcl 8.7 unless you use annaconda, right?
from tukaan.
I won't add support for Tcl/Tk 8.7 until they release the stable version, so I don't think that's a problem.
from tukaan.
Related Issues (20)
- Upload to pypi soon HOT 3
- `ButtonGroup` widget
- `LabeledView` widget
- Add DBus API HOT 1
- There are too many files HOT 1
- `tkinter` widget support HOT 3
- Add a better color module HOT 2
- Docstrings explaining widget HOT 3
- Make Combobox and Spinbox generic HOT 5
- Window not shown HOT 5
- Make `main` branch the main HOT 3
- How can I apply mica effect to the tukaan window? HOT 1
- `.size()` method crashes application HOT 2
- KolorScheme on Mac breaks tooltips HOT 2
- Delay first update until `run()` HOT 1
- Builtin required size getters
- `enabled` property on `Tab` doesn't work
- `TabView` makes some binds that are never saved HOT 1
- `TabView.enable_tab_dragging()` is broken
- Tooltip delay argument HOT 4
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 tukaan.