Mercurial > emacs
comparison doc/lispref/display.texi @ 88019:36cc1038d878
(Button Types): For define-button-type, clarify type of NAME.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Sun, 27 Jan 2008 11:07:49 +0000 |
parents | 107ccd98fa12 |
children | 1c088baa9d2d |
comparison
equal
deleted
inserted
replaced
88018:4e0d27f39575 | 88019:36cc1038d878 |
---|---|
4497 hierarchy, with specialized types inheriting from more general types, | 4497 hierarchy, with specialized types inheriting from more general types, |
4498 so that it's easy to define special-purpose types of buttons for | 4498 so that it's easy to define special-purpose types of buttons for |
4499 specific tasks. | 4499 specific tasks. |
4500 | 4500 |
4501 @defun define-button-type name &rest properties | 4501 @defun define-button-type name &rest properties |
4502 Define a `button type' called @var{name}. The remaining arguments | 4502 Define a `button type' called @var{name} (a symbol). |
4503 The remaining arguments | |
4503 form a sequence of @var{property value} pairs, specifying default | 4504 form a sequence of @var{property value} pairs, specifying default |
4504 property values for buttons with this type (a button's type may be set | 4505 property values for buttons with this type (a button's type may be set |
4505 by giving it a @code{type} property when creating the button, using | 4506 by giving it a @code{type} property when creating the button, using |
4506 the @code{:type} keyword argument). | 4507 the @code{:type} keyword argument). |
4507 | 4508 |