We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcfd3cd commit 299982cCopy full SHA for 299982c
textext/base.py
@@ -282,6 +282,8 @@ def effect(self):
282
283
from .asktext import load_asktext_tk, load_asktext_gtk
284
toolkit = gui_config.get("toolkit", None)
285
+ if "use_gtk_source" in gui_config and toolkit != "gtk":
286
+ raise RuntimeError("invalid config, use_gtk_source cannot be specified when toolkit != gtk")
287
if toolkit == "tk":
288
AskTextImpl = load_asktext_tk()
289
elif toolkit == "gtk":
0 commit comments