pub struct ToolTipService { /* private fields */ }Expand description
Handles ToolTip interaction with controls (internal upstream).
Implementations§
Source§impl ToolTipService
impl ToolTipService
Sourcepub fn new(input_manager: &Rc<dyn IInputManager>) -> Rc<ToolTipService>
pub fn new(input_manager: &Rc<dyn IInputManager>) -> Rc<ToolTipService>
Creates the service over the input manager whose raw input it follows.
Trait Implementations§
Source§impl IDisposable for ToolTipService
impl IDisposable for ToolTipService
Source§impl IToolTipService for ToolTipService
impl IToolTipService for ToolTipService
Source§fn update(
&self,
root: &Rc<dyn IInputRoot>,
candidate_tool_tip_host: Option<Ref<Visual>>,
)
fn update( &self, root: &Rc<dyn IInputRoot>, candidate_tool_tip_host: Option<Ref<Visual>>, )
Updates the control whose tooltip is shown:
candidate_tool_tip_host
is the visual under the pointer in root, if any.Source§fn as_tool_tip_service(&self) -> Option<&ToolTipService>
fn as_tool_tip_service(&self) -> Option<&ToolTipService>
The service as the default tooltip service, if it is one.
Auto Trait Implementations§
impl !Freeze for ToolTipService
impl !RefUnwindSafe for ToolTipService
impl !Send for ToolTipService
impl !Sync for ToolTipService
impl !UnwindSafe for ToolTipService
impl Unpin for ToolTipService
impl UnsafeUnpin for ToolTipService
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more