I have a multi line, read only TextCtrl in wxpython I know how to set values using
myTextCtrl.SetValue(\'hello\')
But this will change wha
Either widget.AppendText
or widget.WriteText
will write a new line each time if you send your string with a newline character (like 'hello\n')
AppendText
, would append the text at the end of the text in the control. WriteText
is the same except because the new text in placed at the current insertion point.