This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import toga | |
class WindowSubclass(toga.Window): | |
pass | |
class TestMergeApp(toga.App): | |
def startup(self): | |
self.main_window = toga.MainWindow(title="Main Window") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import toga | |
from toga_cocoa.libs import NSWindow | |
class TestTabApp(toga.App): | |
def startup(self): | |
self.main_window = toga.MainWindow( | |
title=f"Main Window: Created while {NSWindow.allowsAutomaticWindowTabbing}" | |
) | |
self.status_label = toga.Label(str(NSWindow.allowsAutomaticWindowTabbing)) |