Hello,
First of all, this should not be a problem with WIds because I am
connecting to signals like activeWindowChanged(WId) without problems.
With PyKDE 3.11.3 (hand compiled) and kde 3.2.3 from Mandrake 10.1, I am
trying to connect to the signal
void KWinModule::windowChanged ( WId id,
Hello,
First of all, this should not be a problem with WIds because I am
connecting to signals like activeWindowChanged(WId) without problems.
With PyKDE 3.11.3 (hand compiled) and kde 3.2.3 from Mandrake 10.1, I am
trying to connect to the signal
void KWinModule::windowChanged ( WId
I'd like to get and set the X-window clipboard for some short scripts, but I'm
not doing it quite right. Can someone help me along?
def setclipboard(s):
from qt import QApplication
from sys import argv
a = QApplication(argv)
c = a.clipboard()
c.setText(s)
I heard Stephen Boulet said:
I'd like to get and set the X-window clipboard for some short
scripts, but I'm not doing it quite right. Can someone help me along?
Okay, it seems to work here (I just did the imports outside the function
calls, since doing it inside functions is -bad- practice).
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I've gone through the long process of installing Qt/Mac and
PyQt/Sip/QScintilla because I wanted to give Eric3 a try. I've gotten
everything succesfully built, and Eric3 launches fine, but it crashes
whenever I try to save a file. This happens with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I did apply the patch, but I already had a build of Qt/Mac installed and
didn't rebuild it. Could this be causing some weirdness? (QScintilla,
Sip and PyQt are built against the patched qt_mac.h file but Qt itself
isn't.)
Would I just need to rebuild
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That's what I was afraid of. Qt takes just a day under forever to
compile, which is probably one reason why PyQt isn't more widely used on
the Mac (and why I'm hoping to put together a distro of it). However,
I'm very eager to have a working PyQt build
On Wed, 27 Oct 2004 18:47:31 +0200, Sundance wrote
I heard Stephen Boulet said:
I'd like to get and set the X-window clipboard for some short
scripts, but I'm not doing it quite right. Can someone help me along?
Okay, it seems to work here (I just did the imports outside the
function
I heard Stephen Boulet said:
I just want to have a module to use under linux that would let me get
and set the clipboard
Your previously posted code should work fine for this purpose. Just take
the imports out of the functions.
-- S.
___
PyKDE