TitleBarProps
trait · ferroui-view · v0.5.0
trait TitleBarProps: ElementBuilder
The properties and routed events of TitleBar.
Members
titlesubtitleicon_sourceleft_headercontentright_headeris_back_button_visibleis_back_button_enabledis_pane_toggle_button_visibleauto_refresh_drag_regionsis_drag_region
title
fn title<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets TitleBar::title_property.
subtitle
fn subtitle<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets TitleBar::subtitle_property.
icon_source
fn icon_source<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::IconSource>>, M>) -> Self
Sets TitleBar::icon_source_property.
left_header
fn left_header<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self
Sets TitleBar::left_header_property.
content
fn content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self
Sets TitleBar::content_property.
right_header
fn right_header<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self
Sets TitleBar::right_header_property.
is_back_button_visible
fn is_back_button_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TitleBar::is_back_button_visible_property.
is_back_button_enabled
fn is_back_button_enabled<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TitleBar::is_back_button_enabled_property.
is_pane_toggle_button_visible
fn is_pane_toggle_button_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TitleBar::is_pane_toggle_button_visible_property.
auto_refresh_drag_regions
fn auto_refresh_drag_regions<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TitleBar::auto_refresh_drag_regions_property.
is_drag_region
fn is_drag_region<M>(self: Self, value: impl IntoProp<Option<bool>, M>) -> Self
Sets TitleBar::is_drag_region_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.