本文整理汇总了Python中VariableText.VariableText类的典型用法代码示例。如果您正苦于以下问题:Python VariableText类的具体用法?Python VariableText怎么用?Python VariableText使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了VariableText类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, text = '', onClick = None):
if not onClick:
onClick = []
GUIComponent.__init__(self)
VariableText.__init__(self)
self.setText(text)
self.onClick = onClick
示例2: __init__
def __init__(self, path, type, update = True):
GUIComponent.__init__(self)
VariableText.__init__(self)
self.type = type
self.path = path
if update:
self.update()
示例3: __init__
def __init__(self):
VariableText.__init__(self)
GUIComponent.__init__(self)
self.doClock()
self.clockTimer = eTimer()
self.clockTimer.callback.append(self.doClock)
示例4: __init__
def __init__(self, text = '', maxSize = False, visible_width = False, type = TEXT, currPos = 0, allMarked = True):
NumericalTextInput.__init__(self, self.right)
GUIComponent.__init__(self)
VariableText.__init__(self)
self.type = type
self.allmarked = allMarked and text != '' and type != self.PIN
self.maxSize = maxSize
self.currPos = currPos
self.visible_width = visible_width
self.offset = 0
self.overwrite = maxSize
self.setText(text)
示例5: __init__
def __init__(self, text="", maxSize = False, visible_width = False, type = TEXT):
NumericalTextInput.__init__(self, self.right)
GUIComponent.__init__(self)
VariableText.__init__(self)
self.type = type
self.allmarked = (text != "") and (type != self.PIN)
self.maxSize = maxSize
self.currPos = 0
self.visible_width = visible_width
self.offset = 0
self.overwrite = maxSize
self.setText(text)
示例6: __init__
def __init__(self, text=""):
GUIComponent.__init__(self)
VariableText.__init__(self)
self.setText(text)
示例7: __init__
def __init__(self, text="", onClick = [ ]):
GUIComponent.__init__(self)
VariableText.__init__(self)
self.setText(text)
self.onClick = onClick
示例8: __init__
def __init__(self, navcore, eventmap):
GUIComponent.__init__(self)
VariableText.__init__(self)
PerServiceBase.__init__(self, navcore, eventmap)