You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
424 B

  1. """
  2. App wide event registry
  3. Everything in the application is communitcated via pubsub. These are the events that
  4. tie everythign together.
  5. """
  6. import wx
  7. new_id = lambda: str(wx.NewId())
  8. WINDOW_STOP = new_id()
  9. WINDOW_CANCEL = new_id()
  10. WINDOW_CLOSE = new_id()
  11. WINDOW_START = new_id()
  12. WINDOW_RESTART = new_id()
  13. WINDOW_EDIT = new_id()
  14. WINDOW_CHANGE = new_id()
  15. PANEL_CHANGE = new_id()