is-selected? in list-box%
Returns #t if the item matching the specifies index is
selected, #f otherwise.
A list box's selection can be changed by the user clicking the control, and such changes do not go through this method; use the control callback procedure (provided as an initialization argument) to monitor selection changes.
(-> booleansenda-list-boxis-selected?n)
n: exact non-negative integerReturns
#tif the item index bynis selected. List box items are indexed from0. Ifnis equal to or larger than the number of choices, anexn:fail:contractexception is raised.