Trait libpanel::subclass::prelude::BuilderScopeImpl
source · pub trait BuilderScopeImpl: ObjectImpl {
// Required method
fn create_closure(
&self,
builder_scope: &Self::Type,
builder: &Builder,
function_name: &str,
flags: BuilderClosureFlags,
object: Option<&Object>
) -> Result<Closure, Error>;
// Provided methods
fn type_from_name(
&self,
builder_scope: &Self::Type,
builder: &Builder,
type_name: &str
) -> Type { ... }
fn type_from_function(
&self,
builder_scope: &Self::Type,
builder: &Builder,
function_name: &str
) -> Type { ... }
}