python - In kivy using screenmanager how can I add other widgets like scatter? -


i'm developing kivy app. while i'm using screenmanager, can add screen in it. screen seems can add other widgets. how can add scatter widget screen interface performance?

class sc(scatter):     pass class screen1(screen):     pass class screen2(screen):     pass class manager(screenmanager):     pass class myapp(app):     def build(self):         sm = manager()         s1 = screen1()         sca = sc()          s1.add_widget(sca)         sm.add_widget(s1)          return sm  myapp().run() 

your code does add scatter (what call sca) screen (what call s1).


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -