[PyQt] Friend function in python
Mateusz Korniak
mateusz at ant.gliwice.pl
Wed Aug 19 12:21:21 BST 2009
On Wednesday 19 of August 2009, abhishek gupta wrote:
> Hi , I want to ask if there is a way I can access the member function
> of a class from another class without instantiating that class (whose
> single instance is already running as the Main Application) . In other
> words I want to ask how we can implement the concept of friend functions in
> Python .
It's more general python q...
http://pyref.infogami.com/staticmethod
http://pyref.infogami.com/classmethod
> Actually I am trying to implement a three level threading in my
> application and one of the thread class needs to access the member function
> of the application class .
Be carefull what qt calls may be called fron non-qt threads ...
Regards,
--
Mateusz Korniak
"(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś,
krótko mówiąc - podpora społeczeństwa."
Nikos Kazantzakis - "Grek Zorba"
More information about the PyQt
mailing list