events.py 680 B

1234567891011121314151617181920212223242526
  1. """!
  2. @package core.events
  3. @brief General events
  4. Put here only truly general events. Once you find that your event can be
  5. generated in more than one class, put your event here. Otherwise,
  6. leave it in your class file.
  7. (C) 2012 by the GRASS Development Team
  8. This program is free software under the GNU General Public License
  9. (>=v2). Read the file COPYING that comes with GRASS for details.
  10. @author Vaclav Petras <wenzeslaus gmail.com>
  11. """
  12. from wx.lib.newevent import NewCommandEvent
  13. # Notification event intended to update statusbar.
  14. # The message attribute contains the text of the message (plain text)
  15. gShowNotification, EVT_SHOW_NOTIFICATION = NewCommandEvent()