RelativePanel
struct · ferroui-controls · v0.5.0
struct RelativePanel
A panel that arranges its children relative to each other and to the panel itself.
Members
TYPEto_refconstructnewabove_propertyget_aboveset_abovealign_bottom_with_panel_propertyget_align_bottom_with_panelset_align_bottom_with_panelalign_bottom_with_propertyget_align_bottom_withset_align_bottom_withalign_horizontal_center_with_panel_propertyget_align_horizontal_center_with_panelset_align_horizontal_center_with_panelalign_horizontal_center_with_propertyget_align_horizontal_center_withset_align_horizontal_center_withalign_left_with_panel_propertyget_align_left_with_panelset_align_left_with_panelalign_left_with_propertyget_align_left_withset_align_left_withalign_right_with_panel_propertyget_align_right_with_panelset_align_right_with_panelalign_right_with_propertyget_align_right_withset_align_right_withalign_top_with_panel_propertyget_align_top_with_panelset_align_top_with_panelalign_top_with_propertyget_align_top_withset_align_top_withalign_vertical_center_with_panel_propertyget_align_vertical_center_with_panelset_align_vertical_center_with_panelalign_vertical_center_with_propertyget_align_vertical_center_withset_align_vertical_center_withbelow_propertyget_belowset_belowleft_of_propertyget_left_ofset_left_ofright_of_propertyget_right_ofset_right_of
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RelativePanel>
Returns a strong reference to this object.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
above_property
fn above_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the Above attached property.
get_above
fn get_above(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the Above attached property for an object.
set_above
fn set_above(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the Above attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
align_bottom_with_panel_property
fn align_bottom_with_panel_property() -> &'static AttachedProperty<bool>
Defines the AlignBottomWithPanel attached property.
get_align_bottom_with_panel
fn get_align_bottom_with_panel(obj: &FerroObject) -> bool
Gets the value of the AlignBottomWithPanel attached property for an object.
set_align_bottom_with_panel
fn set_align_bottom_with_panel(obj: &FerroObject, value: bool)
Sets the value of the AlignBottomWithPanel attached property for an object.
align_bottom_with_property
fn align_bottom_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the AlignBottomWith attached property.
get_align_bottom_with
fn get_align_bottom_with(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the AlignBottomWith attached property for an object.
set_align_bottom_with
fn set_align_bottom_with(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the AlignBottomWith attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
align_horizontal_center_with_panel_property
fn align_horizontal_center_with_panel_property() -> &'static AttachedProperty<bool>
Defines the AlignHorizontalCenterWithPanel attached property.
get_align_horizontal_center_with_panel
fn get_align_horizontal_center_with_panel(obj: &FerroObject) -> bool
Gets the value of the AlignHorizontalCenterWithPanel attached property for an object.
set_align_horizontal_center_with_panel
fn set_align_horizontal_center_with_panel(obj: &FerroObject, value: bool)
Sets the value of the AlignHorizontalCenterWithPanel attached property for an object.
align_horizontal_center_with_property
fn align_horizontal_center_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the AlignHorizontalCenterWith attached property.
get_align_horizontal_center_with
fn get_align_horizontal_center_with(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the AlignHorizontalCenterWith attached property for an object.
set_align_horizontal_center_with
fn set_align_horizontal_center_with(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the AlignHorizontalCenterWith attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
align_left_with_panel_property
fn align_left_with_panel_property() -> &'static AttachedProperty<bool>
Defines the AlignLeftWithPanel attached property.
get_align_left_with_panel
fn get_align_left_with_panel(obj: &FerroObject) -> bool
Gets the value of the AlignLeftWithPanel attached property for an object.
set_align_left_with_panel
fn set_align_left_with_panel(obj: &FerroObject, value: bool)
Sets the value of the AlignLeftWithPanel attached property for an object.
align_left_with_property
fn align_left_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the AlignLeftWith attached property.
get_align_left_with
fn get_align_left_with(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the AlignLeftWith attached property for an object.
set_align_left_with
fn set_align_left_with(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the AlignLeftWith attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
align_right_with_panel_property
fn align_right_with_panel_property() -> &'static AttachedProperty<bool>
Defines the AlignRightWithPanel attached property.
get_align_right_with_panel
fn get_align_right_with_panel(obj: &FerroObject) -> bool
Gets the value of the AlignRightWithPanel attached property for an object.
set_align_right_with_panel
fn set_align_right_with_panel(obj: &FerroObject, value: bool)
Sets the value of the AlignRightWithPanel attached property for an object.
align_right_with_property
fn align_right_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the AlignRightWith attached property.
get_align_right_with
fn get_align_right_with(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the AlignRightWith attached property for an object.
set_align_right_with
fn set_align_right_with(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the AlignRightWith attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
align_top_with_panel_property
fn align_top_with_panel_property() -> &'static AttachedProperty<bool>
Defines the AlignTopWithPanel attached property.
get_align_top_with_panel
fn get_align_top_with_panel(obj: &FerroObject) -> bool
Gets the value of the AlignTopWithPanel attached property for an object.
set_align_top_with_panel
fn set_align_top_with_panel(obj: &FerroObject, value: bool)
Sets the value of the AlignTopWithPanel attached property for an object.
align_top_with_property
fn align_top_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the AlignTopWith attached property.
get_align_top_with
fn get_align_top_with(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the AlignTopWith attached property for an object.
set_align_top_with
fn set_align_top_with(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the AlignTopWith attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
align_vertical_center_with_panel_property
fn align_vertical_center_with_panel_property() -> &'static AttachedProperty<bool>
Defines the AlignVerticalCenterWithPanel attached property.
get_align_vertical_center_with_panel
fn get_align_vertical_center_with_panel(obj: &FerroObject) -> bool
Gets the value of the AlignVerticalCenterWithPanel attached property for an object.
set_align_vertical_center_with_panel
fn set_align_vertical_center_with_panel(obj: &FerroObject, value: bool)
Sets the value of the AlignVerticalCenterWithPanel attached property for an object.
align_vertical_center_with_property
fn align_vertical_center_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the AlignVerticalCenterWith attached property.
get_align_vertical_center_with
fn get_align_vertical_center_with(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the AlignVerticalCenterWith attached property for an object.
set_align_vertical_center_with
fn set_align_vertical_center_with(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the AlignVerticalCenterWith attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
below_property
fn below_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the Below attached property.
get_below
fn get_below(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the Below attached property for an object.
set_below
fn set_below(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the Below attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
left_of_property
fn left_of_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the LeftOf attached property.
get_left_of
fn get_left_of(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the LeftOf attached property for an object.
set_left_of
fn set_left_of(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the LeftOf attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
right_of_property
fn right_of_property() -> &'static AttachedProperty<Option<BoxedValue>>
Defines the RightOf attached property.
get_right_of
fn get_right_of(obj: &FerroObject) -> Option<BoxedValue>
Gets the value of the RightOf attached property for an object.
set_right_of
fn set_right_of(obj: &FerroObject, value: Option<BoxedValue>)
Sets the value of the RightOf attached property for an object. The
layout uses the value when it holds a control of the panel; see
Control::boxed.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeControlImplExtPanelImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<RelativePanel>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplInteractiveImplInputElementImplControlImplPanelImplFerroObjectImplLayoutableImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.