#๐ Class Accessing Methods in my application
15 messages ยท Page 1 of 1 (latest)
@jagged niche
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
So basically GUI class is where the main application starts up. You can control some settings (which gets reflected in the settings class), and then 'boot' the overlay up.
The overlay periodically runs some functions in backend class to get the current screen applications and whatnot
now here is where i am a bit confused
assume i have a boolean setting, like a checkbox right
should it be like only GUI has access to settings, and then it just calls backend functions
or should backend functions have a check by accessing settings
if needed i'll post my code
I guess it's more of the backend's job to know of settings. The backend would check for settings, then send updates to the GUI based on them.
hm so like GUI changes settings, backends does checks based on settings and overlay just needs to call backend functions?
that sounds better but means i got to move so much around ;-;
Pretty much.
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.