gtk4::subclass::buildable

Trait BuildableImpl

Source
pub trait BuildableImpl: ObjectImpl + ObjectSubclass<Type: IsA<Buildable>> {
    // Provided methods
    fn set_id(&self, id: &str) { ... }
    fn id(&self) -> Option<GString> { ... }
    fn add_child(&self, builder: &Builder, child: &Object, type_: Option<&str>) { ... }
    fn set_buildable_property(
        &self,
        builder: &Builder,
        name: &str,
        value: &Value,
    ) { ... }
    fn parser_finished(&self, builder: &Builder) { ... }
    fn internal_child(&self, builder: &Builder, name: &str) -> Option<Object> { ... }
    fn construct_child(&self, builder: &Builder, name: &str) -> Object { ... }
}

Provided Methods§

Source

fn set_id(&self, id: &str)

Source

fn id(&self) -> Option<GString>

Source

fn add_child(&self, builder: &Builder, child: &Object, type_: Option<&str>)

Source

fn set_buildable_property(&self, builder: &Builder, name: &str, value: &Value)

Source

fn parser_finished(&self, builder: &Builder)

Source

fn internal_child(&self, builder: &Builder, name: &str) -> Option<Object>

Source

fn construct_child(&self, builder: &Builder, name: &str) -> Object

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§