gtk4::subclass::gl_area

Trait GLAreaImplExt

Source
pub trait GLAreaImplExt: GLAreaImpl {
    // Provided methods
    fn parent_create_context(&self) -> Option<GLContext> { ... }
    fn parent_render(&self, context: &GLContext) -> Propagation { ... }
    fn parent_resize(&self, width: i32, height: i32) { ... }
}

Provided Methods§

Source

fn parent_create_context(&self) -> Option<GLContext>

Source

fn parent_render(&self, context: &GLContext) -> Propagation

Source

fn parent_resize(&self, width: i32, height: i32)

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§