TextPresenterProps
trait · ferroui-view · v0.5.0
trait TextPresenterProps: ElementBuilder
The properties and routed events of TextPresenter.
Members
show_selection_highlightcaret_indexreveal_passwordpassword_charselection_brushselection_foreground_brushcaret_brushcaret_blink_intervalselection_startselection_endtextpreedit_textpreedit_text_cursor_positiontext_alignmenttext_wrappingline_heightletter_spacingbackground
show_selection_highlight
fn show_selection_highlight<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TextPresenter::show_selection_highlight_property.
caret_index
fn caret_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets TextPresenter::caret_index_property.
reveal_password
fn reveal_password<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets TextPresenter::reveal_password_property.
password_char
fn password_char<M>(self: Self, value: impl IntoProp<char, M>) -> Self
Sets TextPresenter::password_char_property.
selection_brush
fn selection_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets TextPresenter::selection_brush_property.
selection_foreground_brush
fn selection_foreground_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets TextPresenter::selection_foreground_brush_property.
caret_brush
fn caret_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets TextPresenter::caret_brush_property.
caret_blink_interval
fn caret_blink_interval<M>(self: Self, value: impl IntoProp<std::time::Duration, M>) -> Self
Sets TextPresenter::caret_blink_interval_property.
selection_start
fn selection_start<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets TextPresenter::selection_start_property.
selection_end
fn selection_end<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
Sets TextPresenter::selection_end_property.
text
fn text<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
Sets TextPresenter::text_property.
preedit_text
fn preedit_text<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
Sets TextPresenter::preedit_text_property.
preedit_text_cursor_position
fn preedit_text_cursor_position<M>(self: Self, value: impl IntoProp<Option<i32>, M>) -> Self
Sets TextPresenter::preedit_text_cursor_position_property.
text_alignment
fn text_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self
Sets TextPresenter::text_alignment_property.
text_wrapping
fn text_wrapping<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self
Sets TextPresenter::text_wrapping_property.
line_height
fn line_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets TextPresenter::line_height_property.
letter_spacing
fn letter_spacing<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets TextPresenter::letter_spacing_property.
background
fn background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets TextPresenter::background_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.