Hello, are you going to continue with your series? I found your Kivy tutorials the best on the youtube/internet and it would be awesome to finish your POS system. Thank alot for your tutorials
Hey Samuel, I love your content. I've been coding an app and ran into some difficulties with the TreeView widget... Could you perhaps make a tutorial on the TreeView widget? I'd really appreciate that and I know it would help many other people.
Thank you, very interesting video. Could you please explain how to create text input with icon and button with icon? It would be awesome if you discuss a little bit about dynamic position of elements. As is well known, on a different screen resolution, the same icon will not be positioned in the same place of a text input layout. Is there any video where have you explained the use of icon function?
Hey Sam, trust you are good will like to register for your content via udemy but seems my country is not supported. Is there any way around this, maybe pay you direct and you can register me. I can pay with any crypto you want . Thanks
@@anoopsrana I'll try to make a tutorial on how I create my frequently used widgets maybe in 2 days. Right now Im extremely busy with work, its why I havent posted in a while
Hi Samuel , i have create an app and i have used Window.bind(on_keyboard=self.function) for back button functionality.Everything is working but this results in a keyboard automatically popping up when the app opens .How can i not let the keyboard open up automatically when the app starts??The problem is that Window.bind(on_keyboard=self.Android_back_click) results in keyboard unnecessarily popping up when the app starts.Below is the code: from kivy.core.window import Window from kivy.properties import ObjectProperty class MyAppClass(FloatLayout): _screen_manager=ObjectProperty(None) def __init__(self,**kwargs): super(MyAppClass,self).__init__(**kwargs) #code goes here and add: Window.bind(on_keyboard=self.Android_back_click) def Android_back_click(self,window,key,*largs): if key == 27: self._scree_manager.current='screen1' return True class MyApp(App): def build(self): return MyAppClass() if __name__=='__main__': MyApp().run()
Interesting, that shouldnt be happening..anyway try: Window.bind(on_keyboard=self.Android_back_clik) Window.release_all_keyboards() PROTIP: All Functions Should Start With A Lowercase Letter According To Py Standards so might wanna consider that simple thing
@@samuelcourses7225 Still the keyboard is opening automatically when the app starts.I have used : Window.bind(on_keyboard=self.android_back_click) Window.release_all_keyboards() Even after using Window.release_all_keyboards the keyboard is popping up? Logcat output: 03-08 17:30:15.148 30593 30593 W KeyboardModeManager: setInputView() : inputView = com.google.android.apps.inputmethod.libs.framework.core.InputView{51df0c4 V.E...... .......D 0,0-1080,1932}
@@samuelcourses7225 Thankyou so much man ,it is working when i use: Clock.schedule_once(lambda x: Window.release_all_keyboards(), 2) Although the keyboard pops-up when the app opens but it closes automatically.Can you tell why and how this is working? Also now i will try to reduce the time given as argument in Clock.schedule_once() . Thanks again :)
@@anoop_rana Yah, I thought so, basically, When you called Window.release... for the first time, It released the keyboard BEFORE it even appeared so basically the keyboard appears but AFTER you already tried to close it, in the second time, you waited a little until the keyboard has loaded and closed it. Exactly, reduce that time and it.will work well, Usually in cases like these I like to wait for 20ms, that is: Clock.schedule_once(func, .2). This almost always gives the desired result for me, If it doesnt work, try .3 or .5