"""Set window icon using `webview.start(icon=). This is supported only on GTK and QT. For other platforms, icon is set during freezing.""" import webview if __name__ == '__main__': window = webview.create_window('Set window icon', 'https://pywebview.flowrl.com/hello') webview.start(icon='../assets/logo.png')