help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs C question


From: Jason Rumney
Subject: Re: emacs C question
Date: 25 Sep 2003 22:16:12 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

John Russell <address@hidden> writes:

> How does one "bind" something to an event?

With define-key. There is already a drag-n-drop event defined
globally (though only Windows and Mac generate it currently AFAIK),
so all you need to do is construct the (Emacs) event when you
receive a GTK drop event. See construct_drag_n_drop in w32term.c for
example.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]