合并 wx.Grid 中的相邻单元格
是否可以合并 wx.grid 中的相邻单元格?我的意思是水平的作为行中的单元格和垂直的作为列中的单元格。
Is it possible to merge adiacent cells in a wx.grid? I mean both horizontal as cells in a row and vertical as cells in a column.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一种方法可以使文本跨越网格小部件中的多行或多列。 wxPython 演示中有一个名为 GridSimple.py 的示例。参见第 64-67 行。它们的内容如下:
注意:您不需要分号。我不知道为什么他们会出现在例子中。
There is a way to make text span multiple rows or columns in a grid widget. There's an example in the wxPython demo called GridSimple.py. See lines 64-67. They read as follows:
Note: You don't need the semi-colons. I don't know why they're in the example.