def __init__( self, parent, value='', autosize=True, formatOptions=None, multiFormat=True, showFormattingBar=True, rtl=False, skin=None, entercallback=None, validator=wx.DefaultValidator, ): FormattedInput.__init__(self, parent, value=value, autosize=autosize, formatOptions=formatOptions, multiFormat=multiFormat, showFormattingBar=showFormattingBar, rtl=rtl, skin=skin, validator=validator) self.LoadStyle('messaging.default_style') self.entercallback = entercallback self.tc.Bind(wx.EVT_KEY_DOWN, self.OnEnterKey) self.sendbutton = None if self.showSendButton: self.CreateSendButton()
def __init__(self, parent, value = '', autosize = True, formatOptions = None, multiFormat = True, showFormattingBar = True, rtl = False, skin = None, entercallback = None, validator = wx.DefaultValidator, formatpref = None): FormattedInput.__init__(self, parent, value = value, autosize = autosize, formatOptions = formatOptions, multiFormat = multiFormat, showFormattingBar = showFormattingBar, rtl = rtl, skin = skin, validator = validator) self.formatpref = formatpref if formatpref is not None: self.LoadStyle(formatpref) #'messaging.default_style'
def __init__(self, parent, value='', autosize=True, formatOptions=None, multiFormat=True, showFormattingBar=True, rtl=False, skin=None, entercallback=None, validator=wx.DefaultValidator, formatpref=None): FormattedInput.__init__(self, parent, value=value, autosize=autosize, formatOptions=formatOptions, multiFormat=multiFormat, showFormattingBar=showFormattingBar, rtl=rtl, skin=skin, validator=validator) self.formatpref = formatpref if formatpref is not None: self.LoadStyle(formatpref) #'messaging.default_style'
def __init__(self, parent, value = '', autosize = True, formatOptions = None, multiFormat = True, showFormattingBar = True, rtl = False, skin = None, entercallback = None, validator = wx.DefaultValidator,): FormattedInput.__init__(self, parent, value = value, autosize = autosize, formatOptions = formatOptions, multiFormat = multiFormat, showFormattingBar = showFormattingBar, rtl = rtl, skin = skin, validator = validator) self.LoadStyle('messaging.default_style') self.entercallback = entercallback self.tc.Bind(wx.EVT_KEY_DOWN, self.OnEnterKey) self.sendbutton = None if self.showSendButton: self.CreateSendButton()