module timelinelib.wxgui.dialogs.editcontainer.controller¶
-
class
timelinelib.wxgui.dialogs.editcontainer.controller.
EditContainerDialogController
[source]¶ Bases:
humblewx.Controller
This controller is responsible for two things:
Creating a new container
Updating properties of an existing container
When creating a new container the result is NOT stored in the database. This happens later when the first event added to the container is saved to the database.
The reason for this behavior is that we don’t want to have empty containers in the database. When updating the properties of an existing container the changes are stored in the timeline database.