dframe-y-or-n-p

dframe-y-or-n-p is a compiled Lisp function in `dframe.el'.

(dframe-y-or-n-p PROMPT)

Like `y-or-n-p', but for use in a dedicated frame.
Argument PROMPT is the prompt to use.