parameters: (evt)
docstring: Catch actions from a slider
          @param evt: wx.SpinEvent
docstring_summary: Catch actions from a slider
          @param evt: wx.SpinEvent
docstring_tokens: Catch actions from a slider @param evt : wx . SpinEvent
function: def OnSpin(evt):
          """Catch actions from a slider
          @param evt: wx.SpinEvent
  
          """
          e_id = evt.GetId()
          if e_id == ed_glob.ID_PREF_EDGE:
              val = evt.GetEventObject().GetValue()
              Profile_Set(ed_glob.ID_2_PROF[e_id], val)
  
              for mainw in wx.GetApp().GetMainWindows():
                  for stc in mainw.nb.GetTextControls():
                      stc.SetEdgeColumn(val)
          else:
              evt.Skip()
function_tokens: def OnSpin ( evt ) : e_id = evt . GetId ( ) if e_id == ed_glob . ID_PREF_EDGE : val = evt . GetEventObject ( ) . GetValue ( ) Profile_Set ( ed_glob . ID_2_PROF [ e_id ] , val ) for mainw in wx . GetApp ( ) . GetMainWindows ( ) : for stc in mainw . nb . GetTextControls ( ) : stc . SetEdgeColumn ( val ) else : evt . Skip ( )