pub struct ToolTip { /* private fields */ }Implementations§
Source§impl ToolTip
impl ToolTip
pub fn new() -> Self
pub fn text(value: impl Into<String>) -> Self
pub fn with_text(self, value: impl Into<String>) -> Self
pub fn content_text(&self) -> &str
pub fn initial_show_delay(self, value: i32) -> Self
pub fn initial_show_delay_ms(&self) -> i32
pub fn between_show_delay(self, value: i32) -> Self
pub fn between_show_delay_ms(&self) -> i32
pub fn show_duration(self, value: i32) -> Self
pub fn show_duration_ms(&self) -> i32
pub fn placement(self, value: PopupPlacement) -> Self
pub fn popup_placement(&self) -> PopupPlacement
pub fn horizontal_offset(self, value: f32) -> Self
pub fn horizontal_offset_px(&self) -> f32
pub fn vertical_offset(self, value: f32) -> Self
pub fn vertical_offset_px(&self) -> f32
pub fn open_on_focus(self, flag: bool) -> Self
pub fn opens_on_focus(&self) -> bool
pub fn panel_color(self, color: u32) -> Self
pub fn has_panel_color_override(&self) -> bool
pub fn panel_background_color(&self) -> u32
pub fn text_color(self, color: u32) -> Self
pub fn has_text_color_override(&self) -> bool
pub fn tooltip_text_color(&self) -> u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolTip
impl RefUnwindSafe for ToolTip
impl Send for ToolTip
impl Sync for ToolTip
impl Unpin for ToolTip
impl UnsafeUnpin for ToolTip
impl UnwindSafe for ToolTip
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more