FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RelativePanel

    struct · ferroui-controls · v0.5.0

    struct RelativePanel
    

    A panel that arranges its children relative to each other and to the panel itself.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RelativePanel>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    above_property

    fn above_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the Above attached property.

    Source

    get_above

    fn get_above(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the Above attached property for an object.

    Source

    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.

    Source

    align_bottom_with_panel_property

    fn align_bottom_with_panel_property() -> &'static AttachedProperty<bool>
    

    Defines the AlignBottomWithPanel attached property.

    Source

    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.

    Source

    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.

    Source

    align_bottom_with_property

    fn align_bottom_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the AlignBottomWith attached property.

    Source

    get_align_bottom_with

    fn get_align_bottom_with(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the AlignBottomWith attached property for an object.

    Source

    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.

    Source

    align_horizontal_center_with_panel_property

    fn align_horizontal_center_with_panel_property() -> &'static AttachedProperty<bool>
    

    Defines the AlignHorizontalCenterWithPanel attached property.

    Source

    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.

    Source

    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.

    Source

    align_horizontal_center_with_property

    fn align_horizontal_center_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the AlignHorizontalCenterWith attached property.

    Source

    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.

    Source

    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.

    Source

    align_left_with_panel_property

    fn align_left_with_panel_property() -> &'static AttachedProperty<bool>
    

    Defines the AlignLeftWithPanel attached property.

    Source

    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.

    Source

    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.

    Source

    align_left_with_property

    fn align_left_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the AlignLeftWith attached property.

    Source

    get_align_left_with

    fn get_align_left_with(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the AlignLeftWith attached property for an object.

    Source

    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.

    Source

    align_right_with_panel_property

    fn align_right_with_panel_property() -> &'static AttachedProperty<bool>
    

    Defines the AlignRightWithPanel attached property.

    Source

    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.

    Source

    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.

    Source

    align_right_with_property

    fn align_right_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the AlignRightWith attached property.

    Source

    get_align_right_with

    fn get_align_right_with(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the AlignRightWith attached property for an object.

    Source

    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.

    Source

    align_top_with_panel_property

    fn align_top_with_panel_property() -> &'static AttachedProperty<bool>
    

    Defines the AlignTopWithPanel attached property.

    Source

    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.

    Source

    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.

    Source

    align_top_with_property

    fn align_top_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the AlignTopWith attached property.

    Source

    get_align_top_with

    fn get_align_top_with(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the AlignTopWith attached property for an object.

    Source

    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.

    Source

    align_vertical_center_with_panel_property

    fn align_vertical_center_with_panel_property() -> &'static AttachedProperty<bool>
    

    Defines the AlignVerticalCenterWithPanel attached property.

    Source

    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.

    Source

    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.

    Source

    align_vertical_center_with_property

    fn align_vertical_center_with_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the AlignVerticalCenterWith attached property.

    Source

    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.

    Source

    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.

    Source

    below_property

    fn below_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the Below attached property.

    Source

    get_below

    fn get_below(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the Below attached property for an object.

    Source

    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.

    Source

    left_of_property

    fn left_of_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the LeftOf attached property.

    Source

    get_left_of

    fn get_left_of(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the LeftOf attached property for an object.

    Source

    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.

    Source

    right_of_property

    fn right_of_property() -> &'static AttachedProperty<Option<BoxedValue>>
    

    Defines the RightOf attached property.

    Source

    get_right_of

    fn get_right_of(obj: &FerroObject) -> Option<BoxedValue>
    

    Gets the value of the RightOf attached property for an object.

    Source

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.