parameters: (self, event)
docstring: Processes a UI event, searching event tables and calling zero or more
          suitable event handler function(s).  Note that the ProcessEvent
          method is called from the wxPython docview framework directly since
          wxPython does not have a virtual ProcessEvent function.
docstring_summary: Processes a UI event, searching event tables and calling zero or more
          suitable event handler function(s).  Note that the ProcessEvent
          method is called from the wxPython docview framework directly since
          wxPython does not have a virtual ProcessEvent function.
docstring_tokens: Processes a UI event searching event tables and calling zero or more suitable event handler function ( s ) . Note that the ProcessEvent method is called from the wxPython docview framework directly since wxPython does not have a virtual ProcessEvent function .
function: def ProcessUpdateUIEvent(self, event):
          """
          Processes a UI event, searching event tables and calling zero or more
          suitable event handler function(s).  Note that the ProcessEvent
          method is called from the wxPython docview framework directly since
          wxPython does not have a virtual ProcessEvent function.
          """
          id = event.GetId()
          if id == wx.ID_CUT:
              event.Enable(False)
              return True
          elif id == wx.ID_COPY:
              event.Enable(False)
              return True
          elif id == wx.ID_PASTE:
              event.Enable(False)
              return True
          elif id == wx.ID_CLEAR:
              event.Enable(False)
              return True
          elif id == wx.ID_SELECTALL:
              event.Enable(False)
              return True
          elif id == SAVEALL_ID:
              filesModified = False
              docs = wx.GetApp().GetDocumentManager().GetDocuments()
              for doc in docs:
                  if doc.IsModified():
                      filesModified = True
                      break
  
              event.Enable(filesModified)
              return True
          else:
              return wx.GetApp().ProcessUpdateUIEvent(event)
function_tokens: def ProcessUpdateUIEvent ( self , event ) : id = event . GetId ( ) if id == wx . ID_CUT : event . Enable ( False ) return True elif id == wx . ID_COPY : event . Enable ( False ) return True elif id == wx . ID_PASTE : event . Enable ( False ) return True elif id == wx . ID_CLEAR : event . Enable ( False ) return True elif id == wx . ID_SELECTALL : event . Enable ( False ) return True elif id == SAVEALL_ID : filesModified = False docs = wx . GetApp ( ) . GetDocumentManager ( ) . GetDocuments ( ) for doc in docs : if doc . IsModified ( ) : filesModified = True break event . Enable ( filesModified ) return True else : return wx . GetApp ( ) . ProcessUpdateUIEvent ( event )