Code: Alles auswählen
from ScrolledText import ScrolledText
Code: Alles auswählen
import ScrolledText
ScrolledText.ScrolledText(root, ...)
Code: Alles auswählen
from ScrolledText import ScrolledText
Code: Alles auswählen
import ScrolledText
ScrolledText.ScrolledText(root, ...)
Code: Alles auswählen
def Help():
root = Tk()
root.title('Help')
ScrolledText.ScrolledText(root, text = 'blablabla\nblablabla')
root.mainloop()
Code: Alles auswählen
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python25\lib\lib-tk\Tkinter.py", line 1414, in __call__
return self.func(*args)
File "\\Home\jonas\JT_proj\python\blabla.py", line 41, in Help
ScrolledText.ScrolledText(root, text = 'blablabla\nblablabla')
File "C:\Python25\lib\lib-tk\ScrolledText.py", line 31, in __init__
Text.__init__(self, self.frame, **cnf)
File "C:\Python25\lib\lib-tk\Tkinter.py", line 2852, in __init__
Widget.__init__(self, master, 'text', cnf, kw)
File "C:\Python25\lib\lib-tk\Tkinter.py", line 1942, in __init__
(widgetName, self._w) + extra + self._options(cnf))
TclError: unknown option "-text"