def init ( self, parent ):
        label = self.factory.label or self.item.get_label( self.ui )
        self.control = wx.Button( parent, -1, self.string_value( label ) )
        self.sync_value( self.factory.label_value, 'label', 'from' )
        wx.EVT_BUTTON( parent, self.control.GetId(), self.update_object )
        self.set_tooltip()

    #---------------------------------------------------------------------------
    #  Handles the 'label' trait being changed:
    #---------------------------------------------------------------------------
Aux of time_frequency for parallel computing over channels
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/button_editor.py/SimpleEditor.init--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/time_frequency/tfr.py/_time_frequency