[Mono-bugs] [Bug 425277] UIA Suport in ToolTip Component
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Sep 10 16:52:45 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=425277
User mcarrion at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425277#c2
--- Comment #2 from Mario Carrion <mcarrion at novell.com> 2008-09-10 14:52:45 MDT ---
I need to keep track of the controls associated with the tooltip due to the
tooltip is added/removed to the navigation tree, and Popup event doesn't work
for that.
The patch does the following:
Control.cs
1. Internal property SWF.Control.UIAToolTip: set/unset in the SWF.Control when
ToolTip.SetToolTip(SWF.Control,"message").
2. Setting SWF.Control.UIAToolTip generates either UIAToolTipHookedUp or
UIAToolTipUnhookedUp, depending on the value. I'm doing this to keep one
instance of the class that is used to manage the SWF.ToolTip-a11y and
add/remove to/from the a11y tree when the tooltip is shown/hidden.
ToolTip.cs
1. Adds internal property UIAControl used in the events OnUIAToolTipHidden and
OnUIAToolTipShown.
2. Knowing the text shown in the tooltip isn't enough, we need to know the
control associated with it to generate a valid a11y tree, that's why we have
two events OnUIAToolTipShown (to add it to a11y tree) and OnUIAToolTipHidden
(to remove from the a11y tree).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list