Skip to content

Commit

Permalink
Updated readme with tut6 link
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffHoogland committed Nov 1, 2015
1 parent 2912822 commit 5752322
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Tutorials:
- 3.) [Align Hints](http://it.toolbox.com/blogs/enlightenment/pyefl-tutorial-3-align-hints-66348)
- 4.) [Images / FileselectorButton](http://it.toolbox.com/blogs/enlightenment/pyefl-tutorial-4-displaying-images-66459)
- 5.) [Naviframe](http://it.toolbox.com/blogs/enlightenment/pyefl-tutorial-5-naviframe-68138)
- 6.) [Elm Extensions]() - TODO
- 7.) [List and Genlist]() - TODO
- 6.) [Elm Extensions](http://it.toolbox.com/blogs/enlightenment/pyefl-tutorial-6-elmextensions-70278)
- 7.) [Lists]() - TODO

Credits:
- [Jeff Hoogland](http://www.jeffhoogland.com/)
Expand Down
7 changes: 3 additions & 4 deletions tut6-elmextensions/ex8-elmex.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self):
StandardWindow.__init__(self, "ex8", "ElmEx - Button and Popup", size=(300, 200))
self.callback_delete_request_add(lambda o: elm.exit())

ourButton = StandardButton(self, "Show Popup", "start-here", self.buttonPressed, size_hint_weight = EXPAND_HORIZ)
ourButton = StandardButton(self, "Show Popup", "start-here", self.buttonPressed)
ourButton.size_hint_weight = EXPAND_HORIZ
ourButton.size_hint_align = FILL_BOTH
ourButton.show()
Expand All @@ -28,8 +28,6 @@ def __init__(self):
ourButton2.size_hint_align = FILL_BOTH
ourButton2.show()

self.ourPopup = StandardPopup(self, "Press OK to close this message.", "ok")

mainBox = Box(self)
mainBox.size_hint_weight = EXPAND_BOTH
mainBox.size_hint_align = FILL_BOTH
Expand All @@ -40,7 +38,8 @@ def __init__(self):
self.resize_object_add(mainBox)

def buttonPressed(self, btn):
self.ourPopup.show()
ourPopup = StandardPopup(self, "Press OK to close this message.", "ok")
ourPopup.show()

def button2Pressed(self, btn):
AboutWindow(self, title="About Window", standardicon="dialog-information", \
Expand Down

0 comments on commit 5752322

Please sign in to comment.