StaticBoxMethods

Trait StaticBoxMethods 

Source
pub trait StaticBoxMethods: ControlMethods {
    // Provided method
    fn create_str<W: WindowMethods, P: PointMethods, S: SizeMethods>(
        &self,
        parent: Option<&W>,
        id: c_int,
        label: &str,
        pos: &P,
        size: &S,
        style: c_long,
        name: &str,
    ) -> bool { ... }
}
Expand description

This trait represents C++ wxStaticBox class’s methods and inheritance.

See StaticBoxIsOwned documentation for the class usage.

Provided Methods§

Source

fn create_str<W: WindowMethods, P: PointMethods, S: SizeMethods>( &self, parent: Option<&W>, id: c_int, label: &str, pos: &P, size: &S, style: c_long, name: &str, ) -> bool

Creates the static box for two-step construction.

See C++ wxStaticBox::Create()’s documentation.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<const OWNED: bool> StaticBoxMethods for StaticBoxIsOwned<OWNED>