Skip to content

Instantly share code, notes, and snippets.

@MatthieuDartiailh
Created June 30, 2016 16:30
Show Gist options
  • Save MatthieuDartiailh/16cbb96a1ba142fa95ee5be947bdf1f1 to your computer and use it in GitHub Desktop.
Save MatthieuDartiailh/16cbb96a1ba142fa95ee5be947bdf1f1 to your computer and use it in GitHub Desktop.
from enaml.widgets.api import Window, Container, Field
enamldef Main(Window):
attr aux = ''
attr bis << str(aux)
bis ::
print(bis)
attr ter << 2*aux
ter ::
print(ter)
raise ValueError()
Container:
Field:
text := aux
Field:
text << bis
Field:
text << ter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment