enable.text_field module

class enable.text_field.TextField(**traits)[source]

Bases: enable.component.Component

A basic text entry field for Enable. fixme: Requires monospaced fonts.

cursor_left_up(event)[source]
normal_character(event)[source]

Actual text that we want to add to the buffer as-is.

normal_key_pressed(event)[source]

Special character handling

normal_left_down(event)[source]
normal_mouse_enter(event)[source]
normal_mouse_leave(event)[source]
reset()[source]

Resets the text field. This involes reseting cursor position, text position, etc.