本文整理汇总了Python中CeciliaLib.getInterfaceWidgets方法的典型用法代码示例。如果您正苦于以下问题:Python CeciliaLib.getInterfaceWidgets方法的具体用法?Python CeciliaLib.getInterfaceWidgets怎么用?Python CeciliaLib.getInterfaceWidgets使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CeciliaLib
的用法示例。
在下文中一共展示了CeciliaLib.getInterfaceWidgets方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: createHorizontalSlidersPanel
# 需要导入模块: import CeciliaLib [as 别名]
# 或者: from CeciliaLib import getInterfaceWidgets [as 别名]
def createHorizontalSlidersPanel(self):
panel = wx.Panel(self, -1, style=wx.SIMPLE_BORDER)
panel.SetBackgroundColour(BACKGROUND_COLOUR)
box, sl = buildHorizontalSlidersBox(panel, CeciliaLib.getInterfaceWidgets())
CeciliaLib.setUserSliders(sl)
panel.SetSizerAndFit(box)
size = panel.GetSize()
return panel, size
示例2: createTogglePopupPanel
# 需要导入模块: import CeciliaLib [as 别名]
# 或者: from CeciliaLib import getInterfaceWidgets [as 别名]
def createTogglePopupPanel(self):
panel = wx.Panel(self, -1, style=wx.SIMPLE_BORDER)
panel.SetBackgroundColour(BACKGROUND_COLOUR)
box, objs = buildTogglePopupBox(panel, CeciliaLib.getInterfaceWidgets())
panel.SetSizerAndFit(box)
CeciliaLib.setUserTogglePopups(objs)
size = panel.GetSize()
return panel, objs, size
示例3: createGrapher
# 需要导入模块: import CeciliaLib [as 别名]
# 或者: from CeciliaLib import getInterfaceWidgets [as 别名]
def createGrapher(self):
graph = buildGrapher(self.grapher, CeciliaLib.getInterfaceWidgets(), CeciliaLib.getTotalTime())
CeciliaLib.setGrapher(graph)
return graph