This is the mail archive of the
guile-gtk@sourceware.cygnus.com
mailing list for the Guile project.
Re: obtaining the selection: gtk_selection_convert?
sen_ml@eccosys.com writes:
> my guess would have been to add:
>
> (define-func gtk_selection_convert
> int
> ((GtkWidget widget)
> (GdkAtom selection)
> (GdkAtom target)
> (uint time)))
>
> but, there does not appear to be a relevant defintion of GdkAtom.
> would that be difficult to add?
I think GdkAtom is Gdk's idea of what Scheme calls a symbol. So we
should probably add a new primitive type `atom' to build-guile-gtk and
convert between atoms and symbols automatically.
I'll look into this and when it easy enough, I'll add it tonight.
- Marius