Trait gtk4::subclass::builder_scope::BuilderScopeImpl

source ·
pub trait BuilderScopeImpl: ObjectImpl {
    // Required method
    fn create_closure(
        &self,
        builder: &Builder,
        function_name: &str,
        flags: BuilderClosureFlags,
        object: Option<&Object>
    ) -> Result<Closure, Error>;

    // Provided methods
    fn type_from_name(&self, builder: &Builder, type_name: &str) -> Type { ... }
    fn type_from_function(&self, builder: &Builder, function_name: &str) -> Type { ... }
}

Required Methods§

source

fn create_closure( &self, builder: &Builder, function_name: &str, flags: BuilderClosureFlags, object: Option<&Object> ) -> Result<Closure, Error>

Provided Methods§

source

fn type_from_name(&self, builder: &Builder, type_name: &str) -> Type

source

fn type_from_function(&self, builder: &Builder, function_name: &str) -> Type

Object Safety§

This trait is not object safe.

Implementors§