Created
June 30, 2016 16:30
-
-
Save MatthieuDartiailh/16cbb96a1ba142fa95ee5be947bdf1f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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