コード例 #1
0
ファイル: iminput.py プロジェクト: sgricci/digsby
    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()
コード例 #2
0
ファイル: formatprefsmixin.py プロジェクト: AlexUlrich/digsby
    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'
コード例 #3
0
ファイル: formatprefsmixin.py プロジェクト: sgricci/digsby
    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'
コード例 #4
0
ファイル: iminput.py プロジェクト: AlexUlrich/digsby
    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()