On Thu, May 29, 2003 at 09:06:32PM +0100, Rui Lopes wrote:
> > How do I do the equivalent of the following in PyGTK?
> >
> >     gtk_editable_cut_clipboard (GTK_EDITABLE (text));
> >
> > I found <http://www.daa.com.au/pipermail/pygtk/2002-July/003113.html>,
> > but it no longer seems to work (gtk no longer has an atom_intern
> > function).
> 
> Dunno about your particular problem, but atom_intern is in
> gtk.gdk.atom_intern (as in pygtk 1.9.16).

Thanks for your response.

>>> gtk.gdk.atom_intern("CLIPBOARD")
<GdkAtom 0x45 = 'CLIPBOARD'>
>>> dir(gtk.gdk.atom_intern("CLIPBOARD"))
['__class__', '__cmp__', '__delattr__', '__doc__', '__getattribute__',
'__hash__', '__init__', '__new__', '__reduce__', '__repr__',
'__setattr__', '__str__']

Hmm, I wonder what to do with it ;)

Best Regards,
-jj

-- 
Hacker is to software engineer as 
Climbing Mt. Everest is to building a Denny's there.
_______________________________________________
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