aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-06-08 09:54:59 +0000
committerKim F. Storm2004-06-08 09:54:59 +0000
commit0e726aa5fbb49570c207171582c81bf9ecc7a19e (patch)
treee936a3bf314b2c050876c2ae970d365001d4ee3d
parent765771b1ff551f55765b5aec340ca915e14371a5 (diff)
downloademacs-0e726aa5fbb49570c207171582c81bf9ecc7a19e.tar.gz
emacs-0e726aa5fbb49570c207171582c81bf9ecc7a19e.zip
(widget-specify-button): Use hand pointer rather
than mouse-face as visible mouse-over effect.
-rw-r--r--lisp/wid-edit.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index 33f1f06ba9a..a37f4871beb 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -385,8 +385,8 @@ new value.")
385 (overlay-put overlay 'evaporate t) 385 (overlay-put overlay 'evaporate t)
386 ;; We want to avoid the face with image buttons. 386 ;; We want to avoid the face with image buttons.
387 (unless (widget-get widget :suppress-face) 387 (unless (widget-get widget :suppress-face)
388 (overlay-put overlay 'face (widget-apply widget :button-face-get)) 388 (overlay-put overlay 'face (widget-apply widget :button-face-get)))
389 (overlay-put overlay 'mouse-face widget-mouse-face)) 389 (overlay-put overlay 'pointer 'hand)
390 (overlay-put overlay 'help-echo help-echo))) 390 (overlay-put overlay 'help-echo help-echo)))
391 391
392(defun widget-mouse-help (window overlay point) 392(defun widget-mouse-help (window overlay point)
@@ -1289,8 +1289,8 @@ Store the newly created widget in the :children attribute.
1289The value of the :type attribute should be an unconverted widget type." 1289The value of the :type attribute should be an unconverted widget type."
1290 (let ((value (widget-get widget :value)) 1290 (let ((value (widget-get widget :value))
1291 (type (widget-get widget :type))) 1291 (type (widget-get widget :type)))
1292 (widget-put widget :children 1292 (widget-put widget :children
1293 (list (widget-create-child-value widget 1293 (list (widget-create-child-value widget
1294 (widget-convert type) 1294 (widget-convert type)
1295 value))))) 1295 value)))))
1296 1296
@@ -3312,8 +3312,8 @@ Here we attempt to define my-list as a choice of either the constant
3312nil, or a cons-cell containing a sexp and my-lisp. This will not work 3312nil, or a cons-cell containing a sexp and my-lisp. This will not work
3313because the `choice' widget does not allow recursion. 3313because the `choice' widget does not allow recursion.
3314 3314
3315Using the `lazy' widget you can overcome this problem, as in this 3315Using the `lazy' widget you can overcome this problem, as in this
3316example: 3316example:
3317 3317
3318 (define-widget 'sexp-list 'lazy 3318 (define-widget 'sexp-list 'lazy
3319 \"A list of sexps.\" 3319 \"A list of sexps.\"
@@ -3322,7 +3322,7 @@ example:
3322 :format "%{%t%}: %v" 3322 :format "%{%t%}: %v"
3323 ;; We don't convert :type because we want to allow recursive 3323 ;; We don't convert :type because we want to allow recursive
3324 ;; datastructures. This is slow, so we should not create speed 3324 ;; datastructures. This is slow, so we should not create speed
3325 ;; critical widgets by deriving from this. 3325 ;; critical widgets by deriving from this.
3326 :convert-widget 'widget-value-convert-widget 3326 :convert-widget 'widget-value-convert-widget
3327 :value-create 'widget-type-value-create 3327 :value-create 'widget-type-value-create
3328 :value-get 'widget-child-value-get 3328 :value-get 'widget-child-value-get