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§
sourcefn create_context(&self) -> Option<GLContext>
fn create_context(&self) -> Option<GLContext>
class closure for the GtkGLArea::create-context
signal
sourcefn render(&self, context: &GLContext) -> Propagation
fn render(&self, context: &GLContext) -> Propagation
class closure for the GtkGLArea::render
signal
Object Safety§
This trait is not object safe.