--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/07bb8ecf-62fc-4dd9-bdf0-2d886c57e603n%40googlegroups.com.
The is not working because you are returning prior to executing the Window.set_title() code.
class MyApp(App):
# load kivy file
def build(self):
return Builder.load_file("./kivyFile.kv")
Window.set_title("My Window")
In app you can simply use self.title to set the title
def build(self):
self.title = ‘My Window’
return Builder.load_file("./kivyFile.kv")
read: https://kivy.org/doc/stable/api-kivy.app.html#kivy.app.App.title
--