+from pygame.locals import K_RETURN
from pgu.gui import FileDialog
import pgu.gui.basic as basic
import pgu.gui.input as input
from pgu.gui import FileDialog
import pgu.gui.basic as basic
import pgu.gui.input as input
self._button_okay_clicked_(None)
else :
self._last_time_click = pygame.time.get_ticks()
self._button_okay_clicked_(None)
else :
self._last_time_click = pygame.time.get_ticks()
+
+ def event(self, e) :
+ FileDialog.event(self, e)
+ if e.type == KEYDOWN and e.key == K_RETURN :
+ self._button_okay_clicked_(None)