aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-02-02 16:28:13 +0000
committerRichard M. Stallman2006-02-02 16:28:13 +0000
commite29e838a1955e4529f0e628500328d7ee9a3e80a (patch)
tree74d6e8d51fc47bf4596bd49e52e3e1468eeee706
parent475ffea41672b6f3a31f41753fd8dd04204132d0 (diff)
downloademacs-e29e838a1955e4529f0e628500328d7ee9a3e80a.tar.gz
emacs-e29e838a1955e4529f0e628500328d7ee9a3e80a.zip
(Layout Parameters): Minor clarification.
(Drag and Drop): New node. (Frames): Update menu.
-rw-r--r--lispref/frames.texi33
1 files changed, 32 insertions, 1 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index 4b967d8989c..6cbde3c6f78 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -64,6 +64,7 @@ The frame is displayed on an MS-DOS terminal.
64* Dialog Boxes:: Displaying a box to ask yes or no. 64* Dialog Boxes:: Displaying a box to ask yes or no.
65* Pointer Shapes:: Specifying the shape of the mouse pointer. 65* Pointer Shapes:: Specifying the shape of the mouse pointer.
66* Window System Selections:: Transferring text to and from other X clients. 66* Window System Selections:: Transferring text to and from other X clients.
67* Drag and Drop:: Internals of Drag-and-Drop implementation.
67* Color Names:: Getting the definitions of color names. 68* Color Names:: Getting the definitions of color names.
68* Text Terminal Colors:: Defining colors for text-only terminals. 69* Text Terminal Colors:: Defining colors for text-only terminals.
69* Resources:: Getting resource values from the server. 70* Resources:: Getting resource values from the server.
@@ -469,7 +470,7 @@ frame, or control their sizes.
469The width in pixels of the frame's border. 470The width in pixels of the frame's border.
470 471
471@item internal-border-width 472@item internal-border-width
472The distance in pixels between text and the frame's border. 473The distance in pixels between text (or fringe) and the frame's border.
473 474
474@item vertical-scroll-bars 475@item vertical-scroll-bars
475Whether the frame has scroll bars for vertical scrolling, and which side 476Whether the frame has scroll bars for vertical scrolling, and which side
@@ -1685,6 +1686,36 @@ access the clipboard at all. The default is @code{nil} on most systems,
1685but @code{t} on MS-Windows. 1686but @code{t} on MS-Windows.
1686@end defopt 1687@end defopt
1687 1688
1689@node Drag and Drop
1690@section Drag and Drop
1691
1692@vindex x-dnd-test-function
1693@vindex x-dnd-known-types
1694 When a user drags something from another application over Emacs, that other
1695application expects Emacs to tell it if Emacs can handle the data that is
1696dragged. The variable @code{x-dnd-test-function} is used by Emacs to determine
1697what to reply. The default value is @code{x-dnd-default-test-function}
1698which accepts drops if the type of the data to be dropped is present in
1699@code{x-dnd-known-types}. You can customize @code{x-dnd-test-function} and/or
1700@code{x-dnd-known-types} if you want Emacs to accept or reject drops based
1701on some other criteria.
1702
1703@vindex x-dnd-types-alist
1704 If you want to change the way Emacs handles drop of different types
1705or add a new type, customize @code{x-dnd-types-alist}. This requires
1706detailed knowledge of what types other applications use for drag and
1707drop.
1708
1709@vindex dnd-protocol-alist
1710 When an URL is dropped on Emacs it may be a file, but it may also be
1711another URL type (ftp, http, etc.). Emacs first checks
1712@code{dnd-protocol-alist} to determine what to do with the URL. If
1713there is no match there and if @code{browse-url-browser-function} is
1714an alist, Emacs looks for a match there. If no match is found the
1715text for the URL is inserted. If you want to alter Emacs behavior,
1716you can customize these variables.
1717@end ignore
1718
1688@node Color Names 1719@node Color Names
1689@section Color Names 1720@section Color Names
1690 1721