Example #1
0
 def destroy(self):
     GuiState.destroy(self)
     print('destroying GuiObjSearch')
     self.keybindings.remove(pygame.MOUSEBUTTONUP)
     self.keybindings.remove(pygame.K_RETURN)
     self.keybindings.remove(pygame.K_UP)
     self.keybindings.remove(pygame.K_DOWN)
     self.controls[:] = []
     self.listbox = None
     self.textbox = None
     self.level = None
Example #2
0
 def destroy(self, *args):
     GuiState.destroy(self)
     self.controls[:] = []
Example #3
0
 def destroy(self):
     print('GuiEditObj destroy called')
     GuiState.destroy(self)
     self.keybindings.remove(pygame.K_TAB)
     self.controls[:] = []
Example #4
0
 def destroy(self, *args):
     GuiState.destroy(self)
     self.keybindings.remove(pygame.K_ESCAPE)