WEntry

class labpyproject.apps.labpyrinthe.gui.skinPygame.uitools.WEntry(fontname, size, skin, text='', extendchars=False, **kwargs)[source]

Bases : labpyproject.core.pygame.widgets.Entry, labpyproject.apps.labpyrinthe.gui.skinBase.interfaces.AbstractInput

Widget Entry custom supportant l’interface AbstractInput

Constructeur kwargs : voir wgt.WEntry

Methods Summary

get_input_value()

Getter du texte input

on_entry_validated(event)

Appelée par handle_key_event lorsqu’une touche entrée a été pressée

register_callback(clb)

Enregistre le callback à appeler après validation (appui touche entrée)

set_input_value(val)

Setter du texte input

take_focus()

Méthode d’acquisition du focus input

Methods Documentation

get_input_value()[source]

Getter du texte input

on_entry_validated(event)[source]

Appelée par handle_key_event lorsqu’une touche entrée a été pressée

register_callback(clb)[source]

Enregistre le callback à appeler après validation (appui touche entrée)

set_input_value(val)[source]

Setter du texte input

take_focus()[source]

Méthode d’acquisition du focus input