【发布时间】:2018-04-13 11:06:07
【问题描述】:
我在Gtk.TextView() 中使用Gtk.TextBuffer() 在屏幕上写一些文字。我希望在经常写作时改变文本的颜色。例如。
In Green -- Printing Green color
In Red -- Printing Red color
In Green -- Printing Green color
In Red -- Printing Red color
您能否建议一些功能来做到这一点。
【问题讨论】:
-
没有 PyGtk3 这样的东西。 pygtk 是 gtk2 并且已过时。