On Fri, 7 May 2004 08:59:59 +0200
"Maik Hertha" <[EMAIL PROTECTED]> wrote:

> 
> :> Date: Thu, 6 May 2004 17:28:20 +1000
> :> From: Bob Hepple <[EMAIL PROTECTED]>
> :> Subject: Re: [pygtk] segmentation fault after using clipboard
> :> To: [EMAIL PROTECTED]
> :> Message-ID: <[EMAIL PROTECTED]>
> :> 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:[EMAIL PROTECTED] http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to