Hide window titlebar for desktop platforms #1792
Unanswered
ItsCubeTime
asked this question in
Q&A
Replies: 2 comments 5 replies
-
(Converted to a discussion question) You're correct that there isn't currently a way to hide the menubar - all apps have a menu bar. #733 is tracking a feature request to make this optional. |
Beta Was this translation helpful? Give feedback.
4 replies
-
For hide menubar in Linux (Gnome 3) I have used: import toga
class MainWindow(toga.App):
def startup(self):
self.commands.clear()
self.main_window = toga.MainWindow(title=self.formal_name)
self.main_window.show()
def main():
return MainWindow() The line self.commands.clear() remove the menu bar from App. In the Gnome Style Guide (Linux) and Material Design (Android) have a option to remove menu bar. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it correct that you cannot hide the window titlebar for desktop platforms currently?
Im using Toga as a PWA window host via the WebView widget, would like to be able to use the WebView widget to design my own titlebar:
Beta Was this translation helpful? Give feedback.
All reactions