[−][src]Trait atk::RelationExt
Required methods
fn add_target<P: IsA<Object>>(&self, target: &P)
Adds the specified AtkObject to the target for the relation, if it is
not already present. See also AtkObjectExt::add_relationship
.
target
an Object
fn get_relation_type(&self) -> RelationType
fn get_target(&self) -> Vec<Object>
fn remove_target<P: IsA<Object>>(&self, target: &P) -> bool
Remove the specified AtkObject from the target for the relation.
target
an Object
Returns
TRUE if the removal is successful.
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
&self,
f: F
) -> SignalHandlerId
fn connect_property_target_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Relation>> RelationExt for O
[src]
fn add_target<P: IsA<Object>>(&self, target: &P)
[src]
fn get_relation_type(&self) -> RelationType
[src]
fn get_target(&self) -> Vec<Object>
[src]
fn remove_target<P: IsA<Object>>(&self, target: &P) -> bool
[src]
fn set_property_relation_type(&self, relation_type: RelationType)
[src]
fn set_property_target(&self, target: Option<&ValueArray>)
[src]
fn connect_property_relation_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_target_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId