[PyKDE] Direction of output
Roland Schulz
r2s2 at gmx.de
Tue Feb 17 22:24:01 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Dienstag, 17. Februar 2004 15:22 schrieb ml at www.prostatepointers.org:
> Suppose you have a simple pyqt window with two buttons: button 1 prints
> the message "message 1" to stdout. button 2 prints the message "message
> 2" to stdout.
>
> Ok, open two apps, say xedit and konqueror and direct konqueror to a form.
> In a third window, start your pyqt app. How do you cause the action of
> button 1 to be directed to xedit and button 2 to be directed to the
> konqueror form?
>
> If not stdout, how do you accomplish this?
You could write the messages from button 2 to stderr or to a named pipe
(fifo).
regards
Roland
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQFAMoVEV/hlvQgMogsRAmdKAKD73lzucooezTmREgJI1uSuE0jGywCg73lo
7QF7t7S8O//dABt5djA30O8=
=JZrf
-----END PGP SIGNATURE-----
More information about the PyQt
mailing list