##// END OF EJS Templates
updated old license information and current date...
updated old license information and current date git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@170 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r10:21d959e02207
r133:26c5443b8486
Show More
example.py
14 lines | 282 B | text/x-python | PythonLexer
from PythonQt import CustomObject
# create a new object
custom = CustomObject("John","Doe")
# print the methods available
print dir(custom)
# set a name
custom.setFirstName("Mike")
custom.setLastName("Michels")
# get the name
print custom.firstName() + " " + custom.lastName();