It seems that `push-button' widget flickers when displayed on the frame
border and is followed by text. To reproduce:
(progn
(require 'wid-edit)
(pop-to-buffer "TMP")
(erase-buffer)
(widget-insert (make-string 50 ?\ ) "Flickering button: ")
(set-frame-property (selected-frame) 'width 72)
(widget-create 'push-button :tag "Flicker"
:help-echo "Sometimes flickers"
:action '(lambda (&rest args) (kill-buffer "TMP")))
;; Without this dot it does not flicker
(widget-insert "."))
It happens with beta-38 on both linux with both motif and athena widgets.
On Windows 2000 the above written code results in two buttons -- one on the
first line and the second on the second.
Nick.
Show replies by date