pub trait PopupWindowMethods: NonOwnedWindowMethods {
// Provided methods
fn create_int<W: WindowMethods>(
&self,
parent: Option<&W>,
flags: c_int,
) -> bool { ... }
fn position<P: PointMethods, S: SizeMethods>(
&self,
pt_origin: &P,
size_popup: &S,
) { ... }
}Expand description
This trait represents C++ wxPopupWindow class’s methods and inheritance.
See PopupWindowIsOwned documentation for the class usage.
Provided Methods§
Sourcefn create_int<W: WindowMethods>(&self, parent: Option<&W>, flags: c_int) -> bool
fn create_int<W: WindowMethods>(&self, parent: Option<&W>, flags: c_int) -> bool
Create method for two-step creation.
Sourcefn position<P: PointMethods, S: SizeMethods>(
&self,
pt_origin: &P,
size_popup: &S,
)
fn position<P: PointMethods, S: SizeMethods>( &self, pt_origin: &P, size_popup: &S, )
Move the popup window to the right position, i.e. such that it is entirely visible.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".