Trait gtk4::subclass::gl_area::GLAreaImpl

source ·
pub trait GLAreaImpl: GLAreaImplExt + WidgetImpl {
    // Provided methods
    fn create_context(&self) -> Option<GLContext> { ... }
    fn render(&self, context: &GLContext) -> Propagation { ... }
    fn resize(&self, width: i32, height: i32) { ... }
}

Provided Methods§

source

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

class closure for the GtkGLArea::create-context signal

source

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

class closure for the GtkGLArea::render signal

source

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

class closeure for the GtkGLArea::resize signal

Object Safety§

This trait is not object safe.

Implementors§