def _selection_key_press(event, params):
 if (event.key == 'down'):
  _change_channel_group((-1), params)
 elif (event.key == 'up'):
  _change_channel_group(1, params)
 elif (event.key == 'escape'):
  _close_event(event, params)

def _selection_key_press ( event , params ) : if ( event . key == 'down' ) : _change_channel_group ( ( - 1 ) , params ) elif ( event . key == 'up' ) : _change_channel_group ( 1 , params ) elif ( event . key == 'escape' ) : _close_event ( event , params )
callback for keys in selection dialog .