Use removeglist() to remove the boolean gadget from the window or requester. Set or clear the gflg_selected flag to reflect the displayed state of the gadget. Replace the gadget using addglist() and refresh its imagery with refreshglist(). of course, several gadgets may be processed with a single call to each of these functions.