Trait winsafe::prelude::GuiParentPopup

source ·
pub trait GuiParentPopup: GuiParent {
    // Provided method
    fn close(&self) { ... }
}
Available on crate features kernel and gui only.
Expand description

A closeable popup parent window.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn close(&self)

Closes the window by posting a WM_CLOSE message. This is the safest way to close any popup window, because you’re able to process the wm_close event, just like if the user clicked the window “X” button.

Object Safety§

This trait is not object safe.

Implementors§