pub fn register_property<P: Component>(
    ctx: &mut BuildContext,
    key: &str,
    entity: Entity,
    property: P,
) {
    ctx.register_property(key, entity, property);
}
/// Register a property as a component.
// if macro is adapted:
// #[deprecated = "Use orbtk_core::widget_base::BuildContext::register_property instead"]
Register a property as a component.
if macro is adapted.
Register a property as a component . if macro is adapted .
pub fn register_property<P: Component>(
    ctx: &mut BuildContext,
    key: &str,
    entity: Entity,
    property: P,
) {
    ctx.register_property(key, entity, property);
}
pub fn register_property < P : Component > ( ctx : & mut BuildContext , key : & str , entity : Entity , property : P , ) { ctx . register_property ( key , entity , property ) ; }
Register a property as a component.
Register a property as a component .
ctx
&mut BuildContext
key
&str
entity
Entity
property
P
[deprecated = "use orbtk_core::widget_base::buildcontext::register_property instead"]
None