How do I change the header title from "Textual Application" to something else? #297
-
OK this is driving me nuts. I cannot figure out how to configure/change the Header (or Footer) widgets so they will display a title of my choosing. The code doesn't seem to provide an easy way to do this...there is no "title" attribute in the constructor, nor are there obvious methods by way of which to set the title after instantiation. What am I missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Can you set the title attribute in the header? |
Beta Was this translation helpful? Give feedback.
-
I just peeked at the code, and in |
Beta Was this translation helpful? Give feedback.
-
I ended up inserting the following line in my app's
|
Beta Was this translation helpful? Give feedback.
-
Petal to metal |
Beta Was this translation helpful? Give feedback.
I ended up inserting the following line in my app's
on_mount()
method and the header is now showing my title: