def __bindings(self):
        """Binds events to handlers"""

        self.textctrl.Bind(wx.EVT_TEXT, self.OnText)
        self.fontbutton.Bind(wx.EVT_BUTTON, self.OnFont)
        self.Bind(csel.EVT_COLOURSELECT, self.OnColor)
def __bindings ( self ) : self . textctrl . Bind ( wx . EVT_TEXT , self . OnText ) self . fontbutton . Bind ( wx . EVT_BUTTON , self . OnFont ) self . Bind ( csel . EVT_COLOURSELECT , self . OnColor )
Binds events to handlers