core.components.eztext module

class core.components.eztext.Config(options, *look_for)[source]

A utility for configuration

exception core.components.eztext.ConfigError[source]

Bases: exceptions.KeyError

class core.components.eztext.Input(**options)[source]

A text input for pygame apps

draw(surface)[source]

Draw the text input to a surface

set_font(font)[source]

Set the font for the input

set_pos(x, y)[source]

Set the position to x, y

update(events)[source]

Update the input based on passed events