1. Ralph Bean
  2. tw2.yui

Commits

paj  committed cc6fc75

Tweak example

  • Participants
  • Parent commits 707785e
  • Branches default

Comments (0)

Files changed (1)

File examples/example.py

View file
  • Ignore whitespace
         calendar = twy.Calendar()
         slider = twy.Slider()
         editor = twy.Editor()
-        class tabview(twy.TabView):
+        class tab_view(twy.TabView):
             tab1 = twf.Label(label='Tab 1', text='This is the first tab')
             tab2 = twf.Label(label='Tab 2', text='And this is the other tab')
-        class treeview(twy.TreeView):
+        class tree_view(twy.TreeView):
             content = [
                 {'type':'Text', 'label':'Label 1', 'children':['Sub label %d' % i for i in range(1,11)]},
                 {'type':'Text', 'label':'Label 2', 'children':['Sub label %d' % i for i in range(1,11)]},