gtk4::subclass::builder_scope

Trait BuilderScopeImplExt

Source
pub trait BuilderScopeImplExt: Sealed + ObjectSubclass {
    // Provided methods
    fn parent_type_from_name(&self, builder: &Builder, type_name: &str) -> Type { ... }
    fn parent_type_from_function(
        &self,
        builder: &Builder,
        function_name: &str,
    ) -> Type { ... }
    fn parent_create_closure(
        &self,
        builder: &Builder,
        function_name: &str,
        flags: BuilderClosureFlags,
        object: Option<&Object>,
    ) -> Result<Closure, Error> { ... }
}

Provided Methods§

Source

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

Source

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

Source

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

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§