Inherits from
- Widget: enthought.pyface.widget.Widget
Attributes
- collapsed_carat_image
The carat image to show when the panel is collapsed.
collapsed_carat_image = Instance(ImageResource, ImageResource('carat_closed'))
- expanded_carat_image
The carat image to show when the panel is expanded.
expanded_carat_image = Instance(ImageResource, ImageResource('carat_open'))
- header_bar_image
The backing header image when the mouse is elsewhere
header_bar_image = Instance(ImageResource, ImageResource('panel_gradient'))
- header_mouseover_image
The backing header image when the mouse is over
header_mouseover_image = Instance(ImageResource, ImageResource('panel_gradient_over'))
- panel_expanded
The panel has been expanded or collapsed
panel_expanded = Event
- remove_image
The carat image to show when the panel is expanded.
remove_image = Instance(ImageResource, ImageResource('close'))
- state
Represents the current state of the button. True means pressed.
state = Bool(False)
- title
The title of the panel.
title = Str('Panel')
Method summary
- __init__(self, parent, container, **traits)
Methods
- __init__(self, parent, container, **traits)
Creates the panel.