gtk4::subclass::buildable

Trait BuildableImplExt

Source
pub trait BuildableImplExt: BuildableImpl {
    // Provided methods
    fn parent_set_id(&self, id: &str) { ... }
    fn parent_id(&self) -> Option<GString> { ... }
    fn parent_add_child(
        &self,
        builder: &Builder,
        child: &Object,
        type_: Option<&str>,
    ) { ... }
    fn parent_set_buildable_property(
        &self,
        builder: &Builder,
        name: &str,
        value: &Value,
    ) { ... }
    fn parent_parser_finished(&self, builder: &Builder) { ... }
    fn parent_internal_child(
        &self,
        builder: &Builder,
        name: &str,
    ) -> Option<Object> { ... }
    fn parent_construct_child(&self, builder: &Builder, name: &str) -> Object { ... }
}

Provided Methods§

Source

fn parent_set_id(&self, id: &str)

Source

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

Source

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

Source

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

Source

fn parent_parser_finished(&self, builder: &Builder)

Source

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

Source

fn parent_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§