Fix examples a bit
This commit is contained in:
@@ -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
|
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/python
|
||||
#!/usr/bin/env python
|
||||
from pyxforms import *
|
||||
|
||||
#
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#!/usr/local/bin/python
|
||||
|
||||
from Pyxform import *
|
||||
from pyxforms import *
|
||||
from goodies import *
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user