"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "man/lispref/x-windows.texi" between
xemacs-21.4.22.tar.gz and xemacs-21.4.24.tar.bz2

About: XEmacs (an alternative to GNU Emacs) is a highly customizable open source text editor and application development system (current version).

x-windows.texi  (xemacs-21.4.22):x-windows.texi  (xemacs-21.4.24.tar.bz2)
skipping to change at line 27 skipping to change at line 27
However, there are some features of the X Window System that do not However, there are some features of the X Window System that do not
generalize well, and they are covered specially here. generalize well, and they are covered specially here.
@menu @menu
* X Selections:: Transferring text to and from other X clients. * X Selections:: Transferring text to and from other X clients.
* X Server:: Information about the X server connected to * X Server:: Information about the X server connected to
a particular device. a particular device.
* X Miscellaneous:: Other X-specific functions and variables. * X Miscellaneous:: Other X-specific functions and variables.
@end menu @end menu
@node X Selections @node X Selections, X Server, X-Windows, X-Windows
@section X Selections @section X Selections
@cindex selection (for X windows) @cindex selection (for X windows)
The X server records a set of @dfn{selections} which permit transfer of The X server records a set of @dfn{selections} which permit transfer of
data between application programs. The various selections are data between application programs. The various selections are
distinguished by @dfn{selection types}, represented in XEmacs by distinguished by @dfn{selection types}, represented in XEmacs by
symbols. X clients including XEmacs can read or set the selection for symbols. X clients including XEmacs can read or set the selection for
any given type. any given type.
@defun x-own-selection data &optional type @defun x-own-selection data &optional type
skipping to change at line 94 skipping to change at line 94
through the series of cut buffers, kill-ring-style. There are 8 cut through the series of cut buffers, kill-ring-style. There are 8 cut
buffers altogether. buffers altogether.
Cut buffers are considered obsolete; you should use selections instead. Cut buffers are considered obsolete; you should use selections instead.
This function has no effect if support for cut buffers was not compiled in. This function has no effect if support for cut buffers was not compiled in.
This function is called @code{x-set-cut-buffer} in FSF Emacs. This function is called @code{x-set-cut-buffer} in FSF Emacs.
@end defun @end defun
@node X Server @node X Server, X Miscellaneous, X Selections, X-Windows
@section X Server @section X Server
This section describes how to access and change the overall status of This section describes how to access and change the overall status of
the X server XEmacs is using. the X server XEmacs is using.
@menu @menu
* Resources:: Getting resource values from the server. * Resources:: Getting resource values from the server.
* Server Data:: Getting info about the X server. * Server Data:: Getting info about the X server.
* Grabs:: Restricting access to the server by other apps. * Grabs:: Restricting access to the server by other apps.
@end menu @end menu
@node Resources @node Resources, Server Data, X Server, X Server
@subsection Resources @subsection Resources
@defun default-x-device @defun default-x-device
This function return the default X device for resourcing. This is the This function return the default X device for resourcing. This is the
first-created X device that still exists. first-created X device that still exists.
@end defun @end defun
@defun x-get-resource name class type &optional locale device noerror @defun x-get-resource name class type &optional locale device noerror
This function retrieves a resource value from the X resource manager. This function retrieves a resource value from the X resource manager.
skipping to change at line 258 skipping to change at line 258
be made before the connection to the X server is initialized, that is, be made before the connection to the X server is initialized, that is,
this variable may only be changed before XEmacs is dumped, or by setting this variable may only be changed before XEmacs is dumped, or by setting
it in the file @file{lisp/term/x-win.el}. it in the file @file{lisp/term/x-win.el}.
By default, this variable is @code{nil} at startup. When the connection By default, this variable is @code{nil} at startup. When the connection
to the X server is first initialized, the X resource database will to the X server is first initialized, the X resource database will
be consulted and the value will be set according to whether any be consulted and the value will be set according to whether any
resources are found for the application class ``XEmacs''. resources are found for the application class ``XEmacs''.
@end defvar @end defvar
@node Server Data @node Server Data, Grabs, Resources, X Server
@subsection Data about the X Server @subsection Data about the X Server
This section describes functions and a variable that you can use to This section describes functions and a variable that you can use to
get information about the capabilities and origin of the X server get information about the capabilities and origin of the X server
corresponding to a particular device. The device argument is generally corresponding to a particular device. The device argument is generally
optional and defaults to the selected device. optional and defaults to the selected device.
@defun x-server-version &optional device @defun x-server-version &optional device
This function returns the list of version numbers of the X server This function returns the list of version numbers of the X server
@var{device} is on. The returned value is a list of three integers: the @var{device} is on. The returned value is a list of three integers: the
skipping to change at line 287 skipping to change at line 287
@defun x-display-visual-class &optional device @defun x-display-visual-class &optional device
This function returns the visual class of the display @var{device} is This function returns the visual class of the display @var{device} is
on. The value is one of the symbols @code{static-gray}, on. The value is one of the symbols @code{static-gray},
@code{gray-scale}, @code{static-color}, @code{pseudo-color}, @code{gray-scale}, @code{static-color}, @code{pseudo-color},
@code{true-color}, and @code{direct-color}. (Note that this is different @code{true-color}, and @code{direct-color}. (Note that this is different
from previous versions of XEmacs, which returned @code{StaticGray}, from previous versions of XEmacs, which returned @code{StaticGray},
@code{GrayScale}, etc.) @code{GrayScale}, etc.)
@end defun @end defun
@node Grabs @node Grabs, , Server Data, X Server
@subsection Restricting Access to the Server by Other Apps @subsection Restricting Access to the Server by Other Apps
@defun x-grab-keyboard &optional device @defun x-grab-keyboard &optional device
This function grabs the keyboard on the given device (defaulting to the This function grabs the keyboard on the given device (defaulting to the
selected one). So long as the keyboard is grabbed, all keyboard events selected one). So long as the keyboard is grabbed, all keyboard events
will be delivered to XEmacs---it is not possible for other X clients to will be delivered to XEmacs---it is not possible for other X clients to
eavesdrop on them. Ungrab the keyboard with @code{x-ungrab-keyboard} eavesdrop on them. Ungrab the keyboard with @code{x-ungrab-keyboard}
(use an @code{unwind-protect}). Returns @code{t} if the grab was (use an @code{unwind-protect}). Returns @code{t} if the grab was
successful; @code{nil} otherwise. successful; @code{nil} otherwise.
@end defun @end defun
skipping to change at line 320 skipping to change at line 320
ignore all keyboard events during the grab. Returns @code{t} if the ignore all keyboard events during the grab. Returns @code{t} if the
grab is successful, @code{nil} otherwise. grab is successful, @code{nil} otherwise.
@end defun @end defun
@defun x-ungrab-pointer &optional device @defun x-ungrab-pointer &optional device
This function releases a pointer grab made with @code{x-grab-pointer}. This function releases a pointer grab made with @code{x-grab-pointer}.
If optional first arg @var{device} is @code{nil} the selected device is If optional first arg @var{device} is @code{nil} the selected device is
used. If it is @code{t} the pointer will be released on all X devices. used. If it is @code{t} the pointer will be released on all X devices.
@end defun @end defun
@node X Miscellaneous @node X Miscellaneous, , X Server, X-Windows
@section Miscellaneous X Functions and Variables @section Miscellaneous X Functions and Variables
@defvar x-bitmap-file-path @defvar x-bitmap-file-path
This variable holds a list of the directories in which X bitmap files This variable holds a list of the directories in which X bitmap files
may be found. If @code{nil}, this is initialized from the may be found. If @code{nil}, this is initialized from the
@samp{"*bitmapFilePath"} resource. This is used by the @samp{"*bitmapFilePath"} resource. This is used by the
@code{make-image-instance} function (however, note that if the @code{make-image-instance} function (however, note that if the
environment variable @samp{XBMLANGPATH} is set, it is consulted first). environment variable @samp{XBMLANGPATH} is set, it is consulted first).
@end defvar @end defvar
 End of changes. 6 change blocks. 
6 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)