AW: Re: [pygtk] segmentation fault after using clipboard
Bob Hepple
bhepple at freeshell.org
Sat May 8 10:23:53 WST 2004
On Fri, 7 May 2004 08:59:59 +0200
"Maik Hertha" <maik.hertha at berlin.de> wrote:
>
> :> Date: Thu, 6 May 2004 17:28:20 +1000
> :> From: Bob Hepple <bhepple at freeshell.org>
> :> Subject: Re: [pygtk] segmentation fault after using clipboard
> :> To: pygtk at daa.com.au
> :> Message-ID: <20040506172820.02c053b7.bhepple at freeshell.org>
> :> Content-Type: text/plain; charset="us-ascii"
> :>
> :> Just to narrow it down a bit, it's the
> :> gtk.gdk.Display(os.environ["DISPLAY"]) call that causes the problem.
> :>
> :> Anyone with an idea?
> :>
> Why setting the DISPLAY explicit? PyGtk initializes itself with the current
> DISPLAY otherwise it fails.
Dear Maik,
OK - I understand - but can you tell me, please, how do I reference the
one created in the initialization?
> What would you want to do with your clipboard app? I think normaly the
> system clipboard is handled by the textview.
I want to get (and put) the current selection in the PRIMARY clipboard -
for cut and paste,
Thanks!
--
Bob Hepple
mailto:bhepple at freeshell.org http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20040508/5efe1b2b/attachment.bin
More information about the pygtk
mailing list