Mercurial > hg > xemacs-beta
comparison tests/Dnd/droptest.el @ 5423:d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
- drag 'n drop was also done by Oliver Graf, so samy copyright
- with gtk-test.glade, the only question was where to actually stick
the attribution; inserted XML comment
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Sun, 31 Oct 2010 01:35:37 +0100 |
parents | bc4f2511bbea |
children |
comparison
equal
deleted
inserted
replaced
5422:ade4c7e2c6cb | 5423:d88ad9ccfa66 |
---|---|
1 ;; a short example how to use the new Drag'n'Drop API in | 1 ;; a short example how to use the new Drag'n'Drop API in |
2 ;; combination with extents. | 2 ;; combination with extents. |
3 ;; | 3 |
4 ;; Copyright (C) 1998 Oliver Graf <ograf@fga.de> | |
5 | |
6 ;; This file is part of XEmacs. | |
7 | |
8 ;; XEmacs is free software: you can redistribute it and/or modify it | |
9 ;; under the terms of the GNU General Public License as published by the | |
10 ;; Free Software Foundation, either version 3 of the License, or (at your | |
11 ;; option) any later version. | |
12 | |
13 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
14 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 ;; for more details. | |
17 | |
18 ;; You should have received a copy of the GNU General Public License | |
19 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. | |
20 | |
21 ;;; Synched up with: Not in FSF. | |
4 | 22 |
5 (defun dnd-drop-message (event object text) | 23 (defun dnd-drop-message (event object text) |
6 (message "Dropped %s with :%s" text object) | 24 (message "Dropped %s with :%s" text object) |
7 ;; signal that we have done something with the data | 25 ;; signal that we have done something with the data |
8 t) | 26 t) |