Inherits from
- Widget: enthought.pyface.widget.Widget
Attributes
- collapsed_image
collapsed_image = Instance(ImageResource, ImageResource('mycarat1'))
- expanded_image
expanded_image = Instance(ImageResource, ImageResource('mycarat2'))
- STYLE
The default style.
STYLE = wx.CLIP_CHILDREN
Method summary
- __init__(self, parent, **traits)
- add_panel(self, name, layer)
- remove_panel(self, name)
Methods
- __init__(self, parent, **traits)
Creates a new LayeredPanel.
- add_panel(self, name, layer)
Adds a layer with the specified name.
All layers are hidden when they are added. Use 'show_layer' to make a layer visible.
- remove_panel(self, name)
Removes a layer and its header from the container.