enable.tools.toolbars.viewport_toolbar module

class enable.tools.toolbars.viewport_toolbar.HoverToolbar(component=None, *args, **kw)[source]

Bases: enable.tools.toolbars.viewport_toolbar.ViewportToolbar

class enable.tools.toolbars.viewport_toolbar.ViewportToolbar(component=None, *args, **kw)[source]

Bases: enable.container.Container, enable.abstract_overlay.AbstractOverlay

ViewportToolbar is a toolbar that is attached to the top of a viewport on the block canvas.

add_button(button)[source]
overlay(other_component, gc, view_bounds=None, mode='normal')[source]

Draws this component overlaid on another component.