【发布时间】:2009-12-26 11:16:21
【问题描述】:
如何利用 ScrollableTextLayout 的特性通过 pyglet 显示和滚动多行字符串(包含“\n”)?
STL crops what is display, and seems to be the most efficient way to implement scrolling.
但是我不知道如何使用它。这些文档对我来说并没有说明太多。
一些文本:
string = "Some multiline \n text is contained within this string \n which must be rendered \n such that it is able to be scrolled through."
感谢片段/链接。
【问题讨论】:
标签: python scroll multiline pyglet