Debian Codegraph @

envisage/ui/tasks/task_window_event.py

raw
1 # (C) Copyright 2007-2025 Enthought, Inc., Austin, TX
2 # All rights reserved.
3 #
4 # This software is provided without warranty under the terms of the BSD
5 # license included in LICENSE.txt and may be redistributed only under
6 # the conditions described in the aforementioned license. The license
7 # is also available online at http://www.enthought.com/licenses/BSD.txt
8 #
9 # Thanks for using Enthought open source!
10 # Enthought library imports.
11 from traits.api import HasTraits, Instance, Vetoable
12
13 # Local imports.
14 from .task_window import TaskWindow
15
16
17 class TaskWindowEvent(HasTraits):
18 """A task window lifecycle event."""
19
20 #: The window that the event occurred on.
21 window = Instance(TaskWindow)
22
23
24 class VetoableTaskWindowEvent(TaskWindowEvent, Vetoable):
25 """A vetoable task window lifecycle event."""
26
27 pass