Fix examples a bit

This commit is contained in:
2024-06-03 18:07:23 -03:00
parent ce9cd97bda
commit a8efd1c3e1
8 changed files with 17 additions and 756 deletions

View File

@@ -7,12 +7,8 @@ In order to fully understand this (and use the hundreds of things not
demonstrated), you should:
a) Read the XForms docs
b) Read the Pyxform.py file
b) Read the pyxforms/__init__.py file
c) Read all the .c files
Anyway, it's just a sampler, this should get MUCH more complete soon
Anyway, you can email me
Roberto Alsina
ralsina@unl.edu.ar

View File

@@ -1,4 +1,4 @@
#!/usr/local/bin/python
#!/usr/bin/env python
from pyxforms import *
#

View File

@@ -1,7 +1,7 @@
#!/usr/local/bin/python
#!/usr/bin/env python
from Pyxform import *
from goodies import *
from pyxforms import *
from pyxforms.goodies import *
#
# Init the library (sucks but works)
@@ -35,7 +35,7 @@ win.Add(a_button)
def funct(self):
# It shows a message and exits (or not)
answer = show_question("Do you want", "to exit?", "")
answer = show_question("Do you want to exit?", "")
if answer == 1:
sys.exit()

View File

@@ -1,7 +1,7 @@
#!/usr/local/bin/python
#!/usr/bin/env python
from Pyxform import *
from goodies import *
from pyxforms import *
from pyxforms.goodies import *
#
# Init the library (sucks but works)

View File

@@ -1,7 +1,8 @@
#!/usr/local/bin/python
#!/usr/bin/env python
from Pyxform import *
from goodies import *
from pyxforms import *
from pyxforms.goodies import *
#
# Init the library (sucks but works)

View File

@@ -1,6 +1,6 @@
#!/usr/local/bin/python
from Pyxform import *
from pyxforms import *
from goodies import *
#