
The password pane is a pane designed for entering passwords, such that when the password is entered it is not visible on the screen.
The password pane inherits all of its functionality from text-input-pane , and thus it starts with the initial text and caret position specified by :text and :caret-position respectively, and limits the number of characters entered with the :max-characters keyword (which defaults to nil , meaning there is no maximum). It can be enabled and disabled with the accessor text-input-pane-enabled .
(setq password-pane (capi:contain
(make-instance
'capi:password-pane
:callback
#'(lambda (password interface)
(capi:display-message
"Password: ~A"
password)))))
(capi:text-input-pane-text password-pane)(capi:contain (make-instance 'capi:password-pane
:max-characters 5))