[PyKDE] Re: Need to know "who" triggers a callback?

kscalet kscalet at innternet.de
Tue Nov 18 17:19:01 GMT 2003


kscalet wrote:

> Hi,
>
> what would be the best approach in finding out, if a signal is send 
> due to a "real" gui action
> like key-presses and mouse-clicks, or due to a programmatic action 
> like setButton,
> setCurrentText, etc on a specific widget.
> It's often needed to trigger some action only in the former case, so I 
> assume, there is an easy
> way to find out the "source" of action, but did not find it out myself.


I'd like to follow up my own post:

As it looks to me, I was wrong in the first place anyhow.
No slot-function is called on programmatic actions like
setButton and setCurrentText. Sorry for all the confusion.

Karl





More information about the PyQt mailing list