[cl-gtk2-devel] GBoxed, signals, and dnd

Ryan Pavlik rpavlik at gmail.com
Mon Aug 22 23:18:27 UTC 2011


I'm currently working on implementing the calls necessary for DND on
the gtk side.  For the most part, this has been relatively
straightforward; I can receive drop data and initiate drags.

However, the critical part for initiated drags is setting
selection-data in the drag-data-get signal handler.  This requires you
to alter the passed selection-data in response; however, the changes
don't appear to be copied out.  How can I accomplish this?

It appears that glib-defcallback is defined for a related purpose, but
this doesn't seem useful in conjunction with signal handlers.

thanks,

-- 
Ryan Pavlik <rpavlik at gmail.com>




More information about the cl-gtk2-devel mailing list