code: def OnVideoCell(self, event):
          
  
          if self.video_cell_button_id == event.GetId():
              if event.IsChecked():
                  wildcard = _("Media files") + " (*.*)|*.*"
                  videofile, __ = self.get_filepath_findex_from_user(
                      wildcard, "Choose video or audio file", wx.OPEN)
                  post_command_event(self, self.VideoCellMsg,
                                     videofile=videofile)
              else:
                  post_command_event(self, self.VideoCellMsg, videofile=False)
  
          event.Skip()
docs: Event handler for video cell toggle button