Comments (41)
Thank you a lot! I've seen your beautiful project and I'm finding a way to contact you. But now it's unnecessary. Will try after holiday end.
from fluxcalc.
Ok, my calculator was transparent, what should I do next? (Sorry if this is a stupid question). This is the first time I do something much complex like this one.
I forgot to tell you, you have to import ctypes at the beginning of your code!
from fluxcalc.
I'm not sure how to apply blur to my program after installed BlurWindow, just started to learn about Python 4 days ago.
from fluxcalc.
Its easy, just add the following lines to your code:
bg_color = ttk.Style().lookup(".", "background")
app.wm_attributes("-transparent", bg_color)
app.update()
HWND = ctypes.windll.user32.GetForegroundWindow()
GlobalBlur(HWND)
from fluxcalc.
Keep in mind that you have to replace app
with the name of your tkinter window.
from fluxcalc.
Hi, I just want to know if you created this project by learning through YouTube. Coincidentally, I also made a program that mimics the entire code, except the theming. Just wanna know, and it's great seeing @not-nef too.
from fluxcalc.
You can use the code, anyway I put my edition in the public domain, but I just want to know, since the code is like an exact copy, except your abridged features.
from fluxcalc.
Wait, you said here that you saw our beautiful project, are you talking about TimerX? That's the only one I know, just a doubt. If you do like it, feel free to contribute too! We are looking for more features to add, especially since we hit the stable mark.
from fluxcalc.
Also, @not-nef this works only on Windows, since there are a bunch of errors when you try getting it onto POSIX-compliant operating systems like macOS and Linux.
from fluxcalc.
Hi, I just want to know if you created this project by learning through YouTube. Coincidentally, I also made a program that mimics the entire code, except the theming. Just wanna know, and it's great seeing @not-nef too.
yeah, I did lol, my teacher just taught me some basic things of python, else, I just search the internet
from fluxcalc.
Oh, then it's fine. You can carry on. I still have to update my code base lol.
from fluxcalc.
I will do if I learn more things in the future, my knowledge currently is still very basic!
from fluxcalc.
Its easy, just add the following lines to your code:
bg_color = ttk.Style().lookup(".", "background") app.wm_attributes("-transparent", bg_color) app.update() HWND = ctypes.windll.user32.GetForegroundWindow() GlobalBlur(HWND)
Thanks a lot!
from fluxcalc.
Also, that code works only on Windows. You need to import BLurWindow too. You can take an example of the implementation from TimerX.
from fluxcalc.
Ok, my calculator was transparent, what should I do next? (Sorry if this is a stupid question). This is the first time I do something much complex like this one.
from fluxcalc.
I've added it after seeing it missing, still transparent. Thanks for your help. Guess I will try after holiday week. My parent told me to shut down the computer. See you later.
from fluxcalc.
Bye
from fluxcalc.
did you import the BlurWindow module correctly? You have to do from BlurWindow.blurwindow import *
from fluxcalc.
I told @HuyHung1408 to implement it from TimerX. We did it a little bit better, hence I asked him to refer to our project.
from fluxcalc.
I told @HuyHung1408 to implement it from TimerX. We did it a little bit better, hence I asked him to refer to our project.
Ok, trying now XD
from fluxcalc.
did you import the BlurWindow module correctly? You have to do
from BlurWindow.blurwindow import *
from fluxcalc.
btw, thanks a lot for both of you
from fluxcalc.
I think that is how it is supposed to be... Did you import ctypes?
from fluxcalc.
Try changing -transparent
to -alpha
and try. I don't think it was supposed to go like that.
from fluxcalc.
I think that is how it is supposed to be... Did you import ctypes?
yes, after the from BlurWindow.blurwindow import *
from fluxcalc.
Try changing
-transparent
to-alpha
and try. I don't think it was supposed to go like that.
from fluxcalc.
I meant not supposed to be, sorry for that. @not-nef can you tell how you added blur to TimerX? The TimerX system theme issue with transparency is here, although it's only transparency. How'd you do that?
from fluxcalc.
Oh... I experimented with that. For got about it. Let it be. I will try making a PR to fix this tomorrow, can't boot my PC atm.
from fluxcalc.
Oh... I experimented with that. For got about it. Let it be. I will try making a PR to fix this tomorrow, can't boot my PC atm.
Ok, thank you a lot
from fluxcalc.
Also, I can't promise when I will make the PR, it's heavy IRL here. So, it is a big if, but if I get the chance, I'll utilise it.
from fluxcalc.
Also, I can't promise when I will make the PR, it's heavy IRL here. So, it is a big if, but if I get the chance, I'll utilise it.
That's ok, don't worry. We can try another method if it didn't work
from fluxcalc.
Thanks a lot, guys, I got it working after reviewing TimerX python files, light mode is cursed haha
from fluxcalc.
I think I'll use the button instead of the command bar button for the dark/mode switcher since making the command bar dark will be more complicated. I guess I will focus on the dark/light mode switcher then will add blur and dark title bar later
from fluxcalc.
Thanks a lot!
from fluxcalc.
I pushed my latest changes to Github, there or some issues like Acrylic works with dark mode on start, click 'M' to change dark to light mode then it changes to Acrylic with a light mode, change it again and Acrylic didn't work with dark mode. Not sure why.
from fluxcalc.
Current progress! How to set the titlebar to white again after apply light theme?
from fluxcalc.
Call GlobalBlur
again, and this time set Dark
to False
from fluxcalc.
Call
GlobalBlur
again, and this time setDark
toFalse
from fluxcalc.
Lookin' great! Hiya @sumeshir26!
from fluxcalc.
Yep, like that
from fluxcalc.
Thank all of you!
from fluxcalc.
Related Issues (17)
- No option to backspace HOT 9
- App's UI is not working perfectly HOT 27
- Cannot import sv_ttk HOT 3
- Better way of using Mica with tkinter HOT 10
- Invite to join Futura Py HOT 12
- Zero division easter egg HOT 18
- Multiplication Improvement HOT 10
- Fixing all compiling issues HOT 3
- Remove icon? HOT 3
- Transfer from place to grid HOT 3
- Decide a new name HOT 7
- Move calculations to a different .py file HOT 5
- Buttons need to click multiple times before they can be insert into the content HOT 23
- Application window goes out of focus when clicking between buttons HOT 4
- Can I add automatic Mac and Windows builds using my template? HOT 3
- Buttons and Entry not round
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 fluxcalc.