freelanceprogrammers.org Forum Index » Delphi
python callbacks
Joined: 12 Aug 2005
Posts: 7
python callbacks
I`m looking for a leightweight way of DelphiWrapper callbacks, I wan`t to
connect control notifications (TButton.OnClick at first) to python object-methods
like in the belove python class.
class MyBttn:
def __init__(self):
self.bttn=CreateButton(some owner handle) self.bttn.left=200
self.bttn.top=160
self.OnClick=BttnClick
def BttnClick(self):
#do some on click stuff....
I haven`t found any good examples of this except the DelphiWrapper (but this is a bit
too heavy since I`ve got my own wrapper...)
Anyone got some samples how to call python classmethods from delphi ?
mvhRoar Larsen--------------------------------------------------------------------------------------TORDIVEL ASLade Alle 65 C, N-7041 Trondheim, NorwayTel : +47 7350 9220 Fax : + 47 2315 8701E-mail : roar@... Web : http://www.tordivel.no--------------------------------------------------------------------------------------...... THE VISION SOFTWARE HOUSE--------------------------------------------------------------------------------------
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







