how to get self.paths.data from modules not "self" aware? #2612
-
I'm trying to segregate my sqlite code from the UI code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Since Toga only allows a single app to run in a process, you can access the app via |
Beta Was this translation helpful? Give feedback.
Since Toga only allows a single app to run in a process, you can access the app via
toga.App.app
. You'll just need to make sure yourtoga.App
has been instantiated first.