Comments (6)
[deleted comment]
from pgu.
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 [email protected]
on 22 Apr 2011 at 10:51
- Added labels: ****
- Removed labels: ****
Attachments:
from pgu.
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 [email protected]
on 22 Apr 2011 at 8:59
- Added labels: ****
- Removed labels: ****
from pgu.
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 [email protected]
on 24 Apr 2011 at 6:30
- Added labels: ****
- Removed labels: ****
Attachments:
from pgu.
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 [email protected]
on 24 Apr 2011 at 7:02
- Added labels: ****
- Removed labels: ****
from pgu.
# -*- 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 [email protected]
on 24 Apr 2011 at 8:08
- Added labels: ****
- Removed labels: ****
from pgu.
Related Issues (20)
- gui.textarea.TextArea sets the editor caret at eol - 1 HOT 1
- gui.Form.items() raises AttributeError HOT 1
- Two fixes: TextArea.resize() causes widget to grow; TextArea.event() not "using" events HOT 2
- Hilight and Clipboard in Input and Textarea
- RETURN key signal HOT 1
- pgu won't install in python3 because os.path.walk was removed HOT 1
- Error in basic.py HOT 1
- method tile_to_screen(self, pos) form isovid
- Minor titlebar glitch in "clean" theme HOT 2
- Creating a menu unconditionally writes to stdout HOT 1
- Suggestions for improving FileDialog (filtering) HOT 1
- TextArea resize issues
- "clean" theme crashes: StyleError 'font' for 'dialog.title.label' HOT 2
- Please support "partial" functions as callback handlers HOT 1
- TextArea: Add "editable" property HOT 1
- [deleted issue]
- Input crashes when pressing UP/DOWN (Includes FIX)
- Label size problems with changing content
- container.py not python3 compatible HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgu.