Represents a tooltip element that displays contextual information for UI elements. The tooltip can be styled dynamically based on the current theme and supports fade-in and fade-out animations.
|
| | WindowFrameTooltip () |
| | Initializes a new instance of the WindowFrameTooltip class. Sets up the tooltip's default styles and registers theme update callbacks.
|
| void | Close () |
| | Closes the tooltip and applies fade-out animation if enabled.
|
| void | CloseNow () |
| void | Show (VisualElement target) |
| | Displays the tooltip near the specified target element. Positions the tooltip based on hints in the target's tooltip text.
|
|
| void | FadeInTooltip () |
| void | FadeOutTooltip () |
| void | UpdateTheme (List< StyleSheet > sheets, List< StyleSheet > oldTheme) |
| | Updates the tooltip's styles based on the provided theme stylesheet. Clears existing stylesheets and applies the new theme.
|
◆ WindowFrameTooltip()
| GWG.WindowFramework.WindowFrameTooltip.WindowFrameTooltip |
( |
| ) |
|
◆ Close()
| void GWG.WindowFramework.WindowFrameTooltip.Close |
( |
| ) |
|
◆ CloseNow()
| void GWG.WindowFramework.WindowFrameTooltip.CloseNow |
( |
| ) |
|
◆ FadeInTooltip()
| void GWG.WindowFramework.WindowFrameTooltip.FadeInTooltip |
( |
| ) |
|
|
private |
◆ FadeOutTooltip()
| void GWG.WindowFramework.WindowFrameTooltip.FadeOutTooltip |
( |
| ) |
|
|
private |
◆ Show()
| void GWG.WindowFramework.WindowFrameTooltip.Show |
( |
VisualElement | target | ) |
|
- Parameters
-
| target | The UI element to display the tooltip for. |
◆ UpdateTheme()
| void GWG.WindowFramework.WindowFrameTooltip.UpdateTheme |
( |
List< StyleSheet > | sheets, |
|
|
List< StyleSheet > | oldTheme ) |
|
private |
- Parameters
-
| newTheme | The new theme stylesheet to apply. |
◆ _label
| Label GWG.WindowFramework.WindowFrameTooltip._label |
|
private |
◆ _task
| IVisualElementScheduledItem GWG.WindowFramework.WindowFrameTooltip._task |
|
private |
◆ _tooltipFadeType