FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TrayIconProps

    trait · ferroui-view · v0.5.0

    trait TrayIconProps: ElementBuilder
    

    The properties and routed events of TrayIcon.

    View source

    Members

    command

    fn command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
    

    Sets TrayIcon::command_property.

    Source

    command_parameter

    fn command_parameter<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
    

    Sets TrayIcon::command_parameter_property.

    Source

    icons

    fn icons<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<ferroui_controls::TrayIcons>>, M>) -> Self
    

    Sets TrayIcon::icons_property.

    Source

    menu

    fn menu<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::NativeMenu>>, M>) -> Self
    

    Sets TrayIcon::menu_property.

    Source

    icon

    fn icon<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<ferroui_controls::WindowIcon>>, M>) -> Self
    

    Sets TrayIcon::icon_property.

    Source

    tool_tip_text

    fn tool_tip_text<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
    

    Sets TrayIcon::tool_tip_text_property.

    Source

    is_visible

    fn is_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets TrayIcon::is_visible_property.

    Source

    Trait implementations

    Availability

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