def accelCallback(back_front, portrait_landscape, tap, shake):
  if tap == 1:
    print "Tap Detected"
  if shake == 1:
    print "Shake Detected"
Called when a text cell is edited.  It puts the new text
dataset/ETHPy150Open graycatlabs/PyBBIO/examples/mma7660_test.py/accelCallback--crossover with--dataset/ETHPy150Open anandology/pyjamas/pygtkweb/demos/046-cellrenderer.py/DisplayModel.col0_edited_cb