all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jasonr (Jason Rumney) @  f2s.com
Subject: Re: emacs C question
Date: 25 Sep 2003 22:16:12 +0100	[thread overview]
Message-ID: <ur824tvqb.fsf@jasonrumney.net> (raw)
In-Reply-To: m365jgvbvc.fsf@cisco.com

John Russell <jorussel@cisco.com> 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	other threads:[~2003-09-25 21:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 19:00 emacs C question John Russell
2003-09-25  2:30 ` Pascal Bourguignon
2003-09-25 12:51   ` John Russell
2003-09-25 18:35     ` Stefan Monnier
2003-09-25 18:37     ` Stefan Monnier
2003-09-25 20:41       ` John Russell
2003-09-25 21:19         ` Jason Rumney
2003-09-25 21:36         ` Stefan Monnier
2003-09-25 19:07     ` Jason Rumney
2003-09-25 20:42       ` John Russell
2003-09-25 21:16         ` Jason Rumney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ur824tvqb.fsf@jasonrumney.net \
    --to=jasonr@f2s.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.