FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SetCursorBehavior

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct SetCursorBehavior
    

    Sets the cursor for the associated control when attached.

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

    Returns a strong reference to this object.

    Source

    cursor_property

    fn cursor_property() -> &'static StyledProperty<Option<Rc<Cursor>>>
    

    Identifies the Cursor property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    cursor

    fn cursor(self: &Self) -> Option<Rc<Cursor>>
    

    Gets or sets the cursor to apply.

    Source

    set_cursor

    fn set_cursor(self: &Self, value: Option<Rc<Cursor>>)
    

    Source

    Trait implementations

    Availability

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