ncursesw
pub fn wgetparent(handle: WINDOW) -> Option<WINDOW>
Returns the parent WINDOW pointer for sub-windows, or None for windows having no parent.
None