def reflow(text, width, flexDown=5, flexUp=5):
    """ returns a tuple of the wrapped text, the actual width, and the actual height
    """
    return _snack.reflow(text, width, flexDown, flexUp)
def reflow(text, width, flexDown = 5, flexUp = 5):
    return _snack.reflow(text, width, flexDown, flexUp)
示例#3
0
文件: snack.py 项目: 274914765/python
def reflow(text, width, flexDown = 5, flexUp = 5):
    """ returns a tuple of the wrapped text, the actual width, and the actual height
    """
    return _snack.reflow(text, width, flexDown, flexUp)
def reflow(text, width, flexDown=5, flexUp=5):
    return _snack.reflow(text, width, flexDown, flexUp)