Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人知道 gtk# 中是否有等价的richtextbox 或任何复制功能的方式?
我可能不需要完整的 rtf 支持,如果无法完成完整的 rtf 解决方案,我可能能够显示多色文本。
提前致谢。
TextView 小部件支持富文本(尽管不支持 RTF、AFAIK)。您可以在视图显示的 TextBuffer 的 TextTagList 中的 TextTag 对象中定义样式,并将它们应用于 TextBuffer 中的文本范围。