Trait atk::prelude::RelationExt
source · [−]pub trait RelationExt: 'static {
fn add_target<P: IsA<Object>>(&self, target: &P);
fn get_relation_type(&self) -> RelationType;
fn remove_target<P: IsA<Object>>(&self, target: &P) -> bool;
fn set_property_relation_type(&self, relation_type: RelationType);
fn set_property_target(&self, target: Option<&ValueArray>);
fn connect_property_relation_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_target_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn add_target<P: IsA<Object>>(&self, target: &P)
source
fn get_relation_type(&self) -> RelationType
source
fn set_property_relation_type(&self, relation_type: RelationType)
source
fn set_property_target(&self, target: Option<&ValueArray>)
sourcefn connect_property_relation_type_notify<F: Fn(&Self) + 'static>(
fn connect_property_relation_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_target_notify<F: Fn(&Self) + 'static>(