python - Does kivy has some function which could turn an app into widget -


for example have made custom app file browser. problem is, want use app widget in app can browse files on app.

is possible ? if yes, best way ?

you should have created file browser widget @ beginning.

it's practice leave main app class alone, , put app logic custom widgets, later used modules in future apps. general app behaviors should contained there.

your best choice right rewriting file browser seperate widget - if still want keep it.


Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -