enable.tools.toolbars.toolbar_buttons module

class enable.tools.toolbars.toolbar_buttons.Button(**traits)[source]

Bases: enable.component.Component

draw_down(gc, view_bounds)[source]
draw_up(gc, view_bounds)[source]
normal_left_down(event)[source]
normal_left_up(event)[source]
perform(event)[source]

Called when the button is depressed.

‘event’ is the Enable mouse event that triggered this call.

class enable.tools.toolbars.toolbar_buttons.SampleButtonButton(**traits)[source]

Bases: enable.tools.toolbars.toolbar_buttons.Button

perform(event)[source]

Called when the button is depressed.

‘event’ is the Enable mouse event that triggered this call.