@depends(skin=None)
def make_multi_button(name, channel, number, midi_message_type, skin=None, default_states=None, **k):
 is_momentary = True
 return MultiButtonElement(USER_MODE_CHANNELS, is_momentary, midi_message_type, channel, number, name=name, skin=skin, default_states=default_states, **k)

@ depends ( skin = None ) def make_multi_button ( name , channel , number , midi_message_type , skin = None , default_states = None , ** k ) : is_momentary = True return MultiButtonElement ( USER_MODE_CHANNELS , is_momentary , midi_message_type , channel , number , name = name , skin = skin , default_states = default_states , ** k )
creates a special button element that is actually multiple buttons; one for the default channel (1) and one for each of the channels used in user layouts .