from enaml.widgets.api import MainWindow, MenuBar, Menu, Action, Container, Splitter, SplitItem, FlowArea, FlowItem, Label, Field
enamldef MainWindow(MainWindow):
title = 'Serpens'
MenuBar:
Menu:
title = '&File'
Action:
text = 'Import...'
Action:
separator = True
Action:
text = 'Exit\tCtrl+X'
triggered :: exit()
Container:
background = 'green'
Splitter:
background = 'red'
SplitItem:
Container:
Label:
text = 'test'
SplitItem:
Container:
Label:
text = 'test'