code: def libvlc_event_detach(p_event_manager, i_event_type, f_callback, p_user_data):
      '''Unregister an event notification.
      @param p_event_manager: the event manager.
      @param i_event_type: the desired event to which we want to unregister.
      @param f_callback: the function to call when i_event_type occurs.
      @param p_user_data: user provided data to carry with the event.
      '''
      f = _Cfunctions.get('libvlc_event_detach', None) or \
          _Cfunction('libvlc_event_detach', ((1,), (1,), (1,), (1,),), None,
                      None, EventManager, ctypes.c_uint, Callback, ctypes.c_void_p)
      return f(p_event_manager, i_event_type, f_callback, p_user_dataf libvlc_event_detach(p_event_manager, i_event_type, f_callback, p_user_data):
      '''Unregister an event notification.
      @param p_event_manager: the event manager.
      @param i_event_type: the desired event to which we want to unregister.
      @param f_callback: the function to call when i_event_type occurs.
      @param p_user_data: user provided data to carry with the event.
      '''
      f = _Cfunctions.get('libvlc_event_detach', None) or \
          _Cfunction('libvlc_event_detach', ((1,), (1,), (1,), (1,),), None,
                      None, EventManager, ctypes.c_uint, Callback, ctypes.c_void_p)
      return f(p_event_manager, i_event_type, f_callback, p_user_data)
docs: Unregister an event notification.
      @param p_event_manager: the event manager.
      @param i_event_type: the desired event to which we want to unregister.
      @param f_callback: the function to call when i_event_type occurs.
      @param p_user_data: user provided data to carry with the event.