Mercurial > hg > xemacs-beta
comparison man/lispref/faces.texi @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | 7d59cb494b73 |
children | 501cfd01ee6d |
comparison
equal
deleted
inserted
replaced
397:f4aeb21a5bad | 398:74fd4e045ea6 |
---|---|
244 @var{locale} is given, then this function will attempt to add | 244 @var{locale} is given, then this function will attempt to add |
245 @var{value} as the instantiator for the given @var{locale}, using | 245 @var{value} as the instantiator for the given @var{locale}, using |
246 @code{add-spec-to-specifier}. If the value of the property is not a | 246 @code{add-spec-to-specifier}. If the value of the property is not a |
247 specifier, it will automatically be converted into a @code{generic} | 247 specifier, it will automatically be converted into a @code{generic} |
248 specifier. | 248 specifier. |
249 @end defun | |
250 | |
251 @defun remove-face-property face property &optional local tag-set exact-p | |
252 This function removes a property of a @var{face}. | |
253 | |
254 For built-in properties, this is analogous to @code{remove-specifier}. | |
255 For more information, @xref{Other Specification Functions}. | |
256 | |
257 When @var{property} is not a built-in property, this function will just | |
258 remove its value if @var{locale} is @code{nil} or @code{all}. However, | |
259 if @var{locale} is other than that, this function will attempt to remove | |
260 @var{value} as the instantiator for the given @var{locale} with | |
261 @code{remove-specifier}. If the value of the property is not a | |
262 specifier, it will be converted into a @code{generic} specifier | |
263 automatically. | |
249 @end defun | 264 @end defun |
250 | 265 |
251 @defun face-property face property &optional locale | 266 @defun face-property face property &optional locale |
252 This function returns @var{face}'s value of the given @var{property}. | 267 This function returns @var{face}'s value of the given @var{property}. |
253 | 268 |
670 @code{specifier-instance} and applying @code{color-instance-name} to the | 685 @code{specifier-instance} and applying @code{color-instance-name} to the |
671 result. | 686 result. |
672 @end defun | 687 @end defun |
673 | 688 |
674 @defun color-rgb-components color &optional domain | 689 @defun color-rgb-components color &optional domain |
675 This function returns the @sc{RGB} components of the @var{color} in the | 690 This function returns the @sc{rgb} components of the @var{color} in the |
676 specified @var{domain}, if any. @var{color} should be a color specifier | 691 specified @var{domain}, if any. @var{color} should be a color specifier |
677 object and @var{domain} is normally a window and defaults to the | 692 object and @var{domain} is normally a window and defaults to the |
678 selected window if omitted. This is equivalent to using | 693 selected window if omitted. This is equivalent to using |
679 @code{specifier-instance} and applying | 694 @code{specifier-instance} and applying |
680 @code{color-instance-rgb-components} to the result. | 695 @code{color-instance-rgb-components} to the result. |