def setFlags(self, flags): mingc.SWFTextField_setFlags(self.this, flags)
def __init__(self, flags=None): self.__fonts = {} # keep reference self.this = mingc.newSWFTextField() if flags is not None: mingc.SWFTextField_setFlags(self.this, flags)