Skip to content
Browse files

add pushbutton to toggle example

git-svn-id: https://pyjamas.svn.sourceforge.net/svnroot/pyjamas/trunk@568 7a2bd370-bda8-463c-979e-2900ccfb811e
  • Loading branch information...
1 parent e6c5cd0 commit 685fce909539503753df032ec3e112ccc5f98e44 lkcl committed Apr 30, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/toggle/Toggle.py
View
4 examples/toggle/Toggle.py
@@ -25,15 +25,15 @@ def onModuleLoad(self):
self.image_down3 = Image("./images/logo.png")
self.toggle = ToggleButton(self.image_up, self.image_down, self)
self.toggle2 = ToggleButton("up", "down")
- self.toggle3 = ToggleButton(self.image_up3, self.image_down3)
+ self.push = PushButton(self.image_up3, self.image_down3)
self.vpanel = VerticalPanel()
self.togglePanel = HorizontalPanel()
self.togglePanel.setSpacing(10)
self.togglePanel.add(self.toggle)
self.togglePanel.add(self.toggle2)
- self.togglePanel.add(self.toggle3)
+ self.togglePanel.add(self.push)
self.vpanel.add(self.label)
self.vpanel.add(self.button)

0 comments on commit 685fce9

Please sign in to comment.
Something went wrong with that request. Please try again.