Open GoogleCodeExporter opened 8 years ago
[deleted comment]
Here i make some changes. I close the program and start it agian. As you can
see on photo 1 and 2, they are reversed, but when i print the booleans. It
shows the same results?
Original comment by troelsyn...@gmail.com
on 22 Apr 2011 at 10:51
Attachments:
Could you be more specific about what you're doing here?
1. What operating system are you using?
2. What version of PGU are you using? What version of pygame?
3. Post a complete transcript of the commands you are entering into the python
interpreter. How are you assigning the fullscreen variable? hwsurface? etc...
4. What are the first two screenshots of? Is that a windows config dialog?
Original comment by peter.ro...@gmail.com
on 22 Apr 2011 at 8:59
I have made an little example to show it. As you can see, the value, resizable,
is False, and it prints False. But when you use the switch it print False
again. The thrid time it shows True.
Original comment by troelsyn...@gmail.com
on 24 Apr 2011 at 6:30
Attachments:
I'm having trouble extracting the zip file. Could you just post the python file
in question - I don't need the pgu source code as well.
Also what operating system are you using?
Original comment by peter.ro...@gmail.com
on 24 Apr 2011 at 7:02
# -*- coding: utf-8 -*-
import sys; sys.path.insert(0, "..")
import pygame
from pygame.locals import *
from sys import exit
from pgu import gui
pygame.init()
# Changing mouse settings
pygame.mouse.set_visible(True)
resizable = False
print resizable
def write_str(value):
print str(value.value)
app = gui.Desktop()
app.connect(gui.QUIT,app.quit,None)
c = gui.Table(width=100,height=100)
c.tr()
c.td(gui.Label("Resizable"))
RE = gui.Switch(resizable)
RE.connect(gui.CLICK, write_str, RE)
c.td(RE)
app.run(c)
---------------
I'm using both Windows 7 and Mac OS X, and get the same results.
Original comment by troelsyn...@gmail.com
on 24 Apr 2011 at 8:08
Original issue reported on code.google.com by
troelsyn...@gmail.com
on 22 Apr 2011 at 12:01