diff options
author | Dmitry K <v-dmkira@microsoft.com> | 2018-10-18 14:15:20 +0300 |
---|---|---|
committer | Dmitry K <v-dmkira@microsoft.com> | 2018-10-18 14:15:20 +0300 |
commit | 2364dd8903d11bda4796717519811cfd6ec2f5b1 (patch) | |
tree | 25f8c0a064a31b5e79a908d301480468fbdfed0f /Xwt.Gtk/Xwt.GtkBackend/AccessibleBackend.cs | |
parent | fcc1e0da9574409561d01f14eed2f5c574e5320c (diff) |
[a11y] Add accessible API for Menu component
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/AccessibleBackend.cs')
-rw-r--r-- | Xwt.Gtk/Xwt.GtkBackend/AccessibleBackend.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/AccessibleBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/AccessibleBackend.cs index c9726150..bb4acdcf 100644 --- a/Xwt.Gtk/Xwt.GtkBackend/AccessibleBackend.cs +++ b/Xwt.Gtk/Xwt.GtkBackend/AccessibleBackend.cs @@ -67,6 +67,13 @@ namespace Xwt.GtkBackend // Not currently supported } + public void Initialize(IMenuBackend parentMenu, IAccessibleEventSink eventSync) + { + var menuBackend = (MenuBackend)parentMenu; + Initialize(menuBackend.Menu, eventSink); + } + + public void Initialize (object parentWidget, IAccessibleEventSink eventSink) { this.eventSink = eventSink; |