Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/12/2010, 20:08
Avatar de razpeitia
razpeitia
Moderador
 
Fecha de Ingreso: marzo-2005
Ubicación: Monterrey, México
Mensajes: 7.321
Antigüedad: 19 años, 1 mes
Puntos: 1360
Respuesta: Consulta diálogo de confirmación

En el tutorial de PyGTK, en la parte del "hello word" te explica que pasa si regresas true o false.
Código Python:
Ver original
  1. # If you return FALSE in the "delete_event" signal handler,
  2. # GTK will emit the "destroy" signal. Returning TRUE means
  3. # you don't want the window to be destroyed.
  4. # This is useful for popping up 'are you sure you want to quit?'
  5. # type dialogs.