Repository navigation
webview.start gui kwarg seems mostly redundant #772
Replies: 4 comments
|
Do you mean forced_gui kwarg? If so, its purpose is to force a specific renderer trumping over the default renderer choice. If the forced renderer is not available it defaults to what is available. |
|
Starting with an example
Unless I've missed something, It looks like its really not doing much of anything, except putting |
|
Yes you are right that is used only for forcing QT. However if you look at winforms.py the same parameter is used for choosing a renderer, even though WinForms is used in any case. |
|
Ah ok, I see what's going on. |
Uh oh!
There was an error while loading. Please reload this page.
Looking at the code in guilib.py, it seems that the
guikwarg is almost entirely supefluous with the exception of prioritising gtk/qtThe check on line 72 shows a large list of what values are acceptable.
But the per-platform checks below only honor qt/gtk on some platforms.
Is there something I'm not grokking?
All reactions