FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RichEditBoxTextPresenter

    struct · ferroui-controls · v0.5.0

    struct RichEditBoxTextPresenter
    

    Renders and scrolls the owner's single rich document using FerroUI text layout.

    The presenter survives template replacement. It formats the entire document at the viewport width, and translates every text geometry operation by the same pixel scroll offset. It has no separate editing buffer or undo history.

    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<RichEditBoxTextPresenter>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    owner

    fn owner(self: &Self) -> Option<Ref<RichEditBox>>
    

    Source

    Trait implementations

    Availability

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