1//---------------------------------------------------------------------------
2// This file is generated by wxPython's SIP generator.  Do not edit by hand.
3//
4// Copyright: (c) 2018 by Total Control Software
5// License:   wxWindows License
6//
7// This file will be included by _core.sip
8//
9//---------------------------------------------------------------------------
10
11%ModuleHeaderCode
12#include <wx/access.h>
13#if !wxUSE_ACCESSIBILITY
14class wxAccessible;
15#define wxACC_STATE_SYSTEM_ALERT_HIGH  0x00000001
16#define wxACC_STATE_SYSTEM_ALERT_MEDIUM  0x00000002
17#define wxACC_STATE_SYSTEM_ALERT_LOW  0x00000004
18#define wxACC_STATE_SYSTEM_ANIMATED  0x00000008
19#define wxACC_STATE_SYSTEM_BUSY  0x00000010
20#define wxACC_STATE_SYSTEM_CHECKED  0x00000020
21#define wxACC_STATE_SYSTEM_COLLAPSED  0x00000040
22#define wxACC_STATE_SYSTEM_DEFAULT  0x00000080
23#define wxACC_STATE_SYSTEM_EXPANDED  0x00000100
24#define wxACC_STATE_SYSTEM_EXTSELECTABLE  0x00000200
25#define wxACC_STATE_SYSTEM_FLOATING  0x00000400
26#define wxACC_STATE_SYSTEM_FOCUSABLE  0x00000800
27#define wxACC_STATE_SYSTEM_FOCUSED  0x00001000
28#define wxACC_STATE_SYSTEM_HOTTRACKED  0x00002000
29#define wxACC_STATE_SYSTEM_INVISIBLE  0x00004000
30#define wxACC_STATE_SYSTEM_MARQUEED  0x00008000
31#define wxACC_STATE_SYSTEM_MIXED  0x00010000
32#define wxACC_STATE_SYSTEM_MULTISELECTABLE  0x00020000
33#define wxACC_STATE_SYSTEM_OFFSCREEN  0x00040000
34#define wxACC_STATE_SYSTEM_PRESSED  0x00080000
35#define wxACC_STATE_SYSTEM_PROTECTED  0x00100000
36#define wxACC_STATE_SYSTEM_READONLY  0x00200000
37#define wxACC_STATE_SYSTEM_SELECTABLE  0x00400000
38#define wxACC_STATE_SYSTEM_SELECTED  0x00800000
39#define wxACC_STATE_SYSTEM_SELFVOICING  0x01000000
40#define wxACC_STATE_SYSTEM_UNAVAILABLE  0x02000000
41#define wxACC_EVENT_SYSTEM_SOUND  0x0001
42#define wxACC_EVENT_SYSTEM_ALERT  0x0002
43#define wxACC_EVENT_SYSTEM_FOREGROUND  0x0003
44#define wxACC_EVENT_SYSTEM_MENUSTART  0x0004
45#define wxACC_EVENT_SYSTEM_MENUEND  0x0005
46#define wxACC_EVENT_SYSTEM_MENUPOPUPSTART  0x0006
47#define wxACC_EVENT_SYSTEM_MENUPOPUPEND  0x0007
48#define wxACC_EVENT_SYSTEM_CAPTURESTART  0x0008
49#define wxACC_EVENT_SYSTEM_CAPTUREEND  0x0009
50#define wxACC_EVENT_SYSTEM_MOVESIZESTART  0x000A
51#define wxACC_EVENT_SYSTEM_MOVESIZEEND  0x000B
52#define wxACC_EVENT_SYSTEM_CONTEXTHELPSTART  0x000C
53#define wxACC_EVENT_SYSTEM_CONTEXTHELPEND  0x000D
54#define wxACC_EVENT_SYSTEM_DRAGDROPSTART  0x000E
55#define wxACC_EVENT_SYSTEM_DRAGDROPEND  0x000F
56#define wxACC_EVENT_SYSTEM_DIALOGSTART  0x0010
57#define wxACC_EVENT_SYSTEM_DIALOGEND  0x0011
58#define wxACC_EVENT_SYSTEM_SCROLLINGSTART  0x0012
59#define wxACC_EVENT_SYSTEM_SCROLLINGEND  0x0013
60#define wxACC_EVENT_SYSTEM_SWITCHSTART  0x0014
61#define wxACC_EVENT_SYSTEM_SWITCHEND  0x0015
62#define wxACC_EVENT_SYSTEM_MINIMIZESTART  0x0016
63#define wxACC_EVENT_SYSTEM_MINIMIZEEND  0x0017
64#define wxACC_EVENT_OBJECT_CREATE  0x8000
65#define wxACC_EVENT_OBJECT_DESTROY  0x8001
66#define wxACC_EVENT_OBJECT_SHOW  0x8002
67#define wxACC_EVENT_OBJECT_HIDE  0x8003
68#define wxACC_EVENT_OBJECT_REORDER  0x8004
69#define wxACC_EVENT_OBJECT_FOCUS  0x8005
70#define wxACC_EVENT_OBJECT_SELECTION  0x8006
71#define wxACC_EVENT_OBJECT_SELECTIONADD  0x8007
72#define wxACC_EVENT_OBJECT_SELECTIONREMOVE  0x8008
73#define wxACC_EVENT_OBJECT_SELECTIONWITHIN  0x8009
74#define wxACC_EVENT_OBJECT_STATECHANGE  0x800A
75#define wxACC_EVENT_OBJECT_LOCATIONCHANGE  0x800B
76#define wxACC_EVENT_OBJECT_NAMECHANGE  0x800C
77#define wxACC_EVENT_OBJECT_DESCRIPTIONCHANGE  0x800D
78#define wxACC_EVENT_OBJECT_VALUECHANGE  0x800E
79#define wxACC_EVENT_OBJECT_PARENTCHANGE  0x800F
80#define wxACC_EVENT_OBJECT_HELPCHANGE  0x8010
81#define wxACC_EVENT_OBJECT_DEFACTIONCHANGE  0x8011
82#define wxACC_EVENT_OBJECT_ACCELERATORCHANGE  0x8012
83#define wxACC_SELF  0
84
85enum wxAccStatus {
86    wxACC_FAIL,
87    wxACC_FALSE,
88    wxACC_OK,
89    wxACC_NOT_IMPLEMENTED,
90    wxACC_NOT_SUPPORTED,
91};
92
93enum wxNavDir {
94    wxNAVDIR_DOWN,
95    wxNAVDIR_FIRSTCHILD,
96    wxNAVDIR_LASTCHILD,
97    wxNAVDIR_LEFT,
98    wxNAVDIR_NEXT,
99    wxNAVDIR_PREVIOUS,
100    wxNAVDIR_RIGHT,
101    wxNAVDIR_UP,
102};
103
104enum wxAccRole {
105    wxROLE_NONE,
106    wxROLE_SYSTEM_ALERT,
107    wxROLE_SYSTEM_ANIMATION,
108    wxROLE_SYSTEM_APPLICATION,
109    wxROLE_SYSTEM_BORDER,
110    wxROLE_SYSTEM_BUTTONDROPDOWN,
111    wxROLE_SYSTEM_BUTTONDROPDOWNGRID,
112    wxROLE_SYSTEM_BUTTONMENU,
113    wxROLE_SYSTEM_CARET,
114    wxROLE_SYSTEM_CELL,
115    wxROLE_SYSTEM_CHARACTER,
116    wxROLE_SYSTEM_CHART,
117    wxROLE_SYSTEM_CHECKBUTTON,
118    wxROLE_SYSTEM_CLIENT,
119    wxROLE_SYSTEM_CLOCK,
120    wxROLE_SYSTEM_COLUMN,
121    wxROLE_SYSTEM_COLUMNHEADER,
122    wxROLE_SYSTEM_COMBOBOX,
123    wxROLE_SYSTEM_CURSOR,
124    wxROLE_SYSTEM_DIAGRAM,
125    wxROLE_SYSTEM_DIAL,
126    wxROLE_SYSTEM_DIALOG,
127    wxROLE_SYSTEM_DOCUMENT,
128    wxROLE_SYSTEM_DROPLIST,
129    wxROLE_SYSTEM_EQUATION,
130    wxROLE_SYSTEM_GRAPHIC,
131    wxROLE_SYSTEM_GRIP,
132    wxROLE_SYSTEM_GROUPING,
133    wxROLE_SYSTEM_HELPBALLOON,
134    wxROLE_SYSTEM_HOTKEYFIELD,
135    wxROLE_SYSTEM_INDICATOR,
136    wxROLE_SYSTEM_LINK,
137    wxROLE_SYSTEM_LIST,
138    wxROLE_SYSTEM_LISTITEM,
139    wxROLE_SYSTEM_MENUBAR,
140    wxROLE_SYSTEM_MENUITEM,
141    wxROLE_SYSTEM_MENUPOPUP,
142    wxROLE_SYSTEM_OUTLINE,
143    wxROLE_SYSTEM_OUTLINEITEM,
144    wxROLE_SYSTEM_PAGETAB,
145    wxROLE_SYSTEM_PAGETABLIST,
146    wxROLE_SYSTEM_PANE,
147    wxROLE_SYSTEM_PROGRESSBAR,
148    wxROLE_SYSTEM_PROPERTYPAGE,
149    wxROLE_SYSTEM_PUSHBUTTON,
150    wxROLE_SYSTEM_RADIOBUTTON,
151    wxROLE_SYSTEM_ROW,
152    wxROLE_SYSTEM_ROWHEADER,
153    wxROLE_SYSTEM_SCROLLBAR,
154    wxROLE_SYSTEM_SEPARATOR,
155    wxROLE_SYSTEM_SLIDER,
156    wxROLE_SYSTEM_SOUND,
157    wxROLE_SYSTEM_SPINBUTTON,
158    wxROLE_SYSTEM_STATICTEXT,
159    wxROLE_SYSTEM_STATUSBAR,
160    wxROLE_SYSTEM_TABLE,
161    wxROLE_SYSTEM_TEXT,
162    wxROLE_SYSTEM_TITLEBAR,
163    wxROLE_SYSTEM_TOOLBAR,
164    wxROLE_SYSTEM_TOOLTIP,
165    wxROLE_SYSTEM_WHITESPACE,
166    wxROLE_SYSTEM_WINDOW,
167};
168
169enum wxAccObject {
170    wxOBJID_WINDOW,
171    wxOBJID_SYSMENU,
172    wxOBJID_TITLEBAR,
173    wxOBJID_MENU,
174    wxOBJID_CLIENT,
175    wxOBJID_VSCROLL,
176    wxOBJID_HSCROLL,
177    wxOBJID_SIZEGRIP,
178    wxOBJID_CARET,
179    wxOBJID_CURSOR,
180    wxOBJID_ALERT,
181    wxOBJID_SOUND,
182};
183
184enum wxAccSelectionFlags {
185    wxACC_SEL_NONE,
186    wxACC_SEL_TAKEFOCUS,
187    wxACC_SEL_TAKESELECTION,
188    wxACC_SEL_EXTENDSELECTION,
189    wxACC_SEL_ADDSELECTION,
190    wxACC_SEL_REMOVESELECTION,
191};
192
193class wxAccessible : public wxObject {
194public:
195    wxAccessible(wxWindow *win=NULL)
196        { wxPyRaiseNotImplemented(); }
197
198    ~wxAccessible()
199        { }
200
201    virtual wxAccStatus DoDefaultAction(int childId)
202        { return wxACC_NOT_IMPLEMENTED; }
203
204    virtual wxAccStatus GetChild(int childId, wxAccessible **child)
205        { return wxACC_NOT_IMPLEMENTED; }
206
207    virtual wxAccStatus GetChildCount(int *childCount)
208        { return wxACC_NOT_IMPLEMENTED; }
209
210    virtual wxAccStatus GetDefaultAction(int childId, wxString *actionName)
211        { return wxACC_NOT_IMPLEMENTED; }
212
213    virtual wxAccStatus GetDescription(int childId, wxString *description)
214        { return wxACC_NOT_IMPLEMENTED; }
215
216    virtual wxAccStatus GetFocus(int *childId, wxAccessible **child)
217        { return wxACC_NOT_IMPLEMENTED; }
218
219    virtual wxAccStatus GetHelpText(int childId, wxString *helpText)
220        { return wxACC_NOT_IMPLEMENTED; }
221
222    virtual wxAccStatus GetKeyboardShortcut(int childId, wxString *shortcut)
223        { return wxACC_NOT_IMPLEMENTED; }
224
225    virtual wxAccStatus GetLocation(wxRect &rect, int elementId)
226        { return wxACC_NOT_IMPLEMENTED; }
227
228    virtual wxAccStatus GetName(int childId, wxString *name)
229        { return wxACC_NOT_IMPLEMENTED; }
230
231    virtual wxAccStatus GetParent(wxAccessible **parent)
232        { return wxACC_NOT_IMPLEMENTED; }
233
234    virtual wxAccStatus GetRole(int childId, wxAccRole *role)
235        { return wxACC_NOT_IMPLEMENTED; }
236
237    virtual wxAccStatus GetSelections(wxVariant *selections)
238        { return wxACC_NOT_IMPLEMENTED; }
239
240    virtual wxAccStatus GetState(int childId, long *state)
241        { return wxACC_NOT_IMPLEMENTED; }
242
243    virtual wxAccStatus GetValue(int childId, wxString *strValue)
244        { return wxACC_NOT_IMPLEMENTED; }
245
246    wxWindow * GetWindow()
247        { return NULL; }
248
249    virtual wxAccStatus HitTest(const wxPoint &pt, int *childId, wxAccessible **childObject)
250        { return wxACC_NOT_IMPLEMENTED; }
251
252    virtual wxAccStatus Navigate(wxNavDir navDir, int fromId, int *toId, wxAccessible **toObject)
253        { return wxACC_NOT_IMPLEMENTED; }
254
255    virtual wxAccStatus Select(int childId, wxAccSelectionFlags selectFlags)
256        { return wxACC_NOT_IMPLEMENTED; }
257
258    void SetWindow(wxWindow *window)
259        { }
260
261    static void NotifyEvent(int eventType, wxWindow *window, wxAccObject objectType, int objectId)
262        { wxPyRaiseNotImplemented(); }
263
264};
265#endif //!wxUSE_ACCESSIBILITY
266
267%End
268
269
270//---------------------------------------------------------------------------
271
272const int wxACC_STATE_SYSTEM_ALERT_HIGH;
273const int wxACC_STATE_SYSTEM_ALERT_MEDIUM;
274const int wxACC_STATE_SYSTEM_ALERT_LOW;
275const int wxACC_STATE_SYSTEM_ANIMATED;
276const int wxACC_STATE_SYSTEM_BUSY;
277const int wxACC_STATE_SYSTEM_CHECKED;
278const int wxACC_STATE_SYSTEM_COLLAPSED;
279const int wxACC_STATE_SYSTEM_DEFAULT;
280const int wxACC_STATE_SYSTEM_EXPANDED;
281const int wxACC_STATE_SYSTEM_EXTSELECTABLE;
282const int wxACC_STATE_SYSTEM_FLOATING;
283const int wxACC_STATE_SYSTEM_FOCUSABLE;
284const int wxACC_STATE_SYSTEM_FOCUSED;
285const int wxACC_STATE_SYSTEM_HOTTRACKED;
286const int wxACC_STATE_SYSTEM_INVISIBLE;
287const int wxACC_STATE_SYSTEM_MARQUEED;
288const int wxACC_STATE_SYSTEM_MIXED;
289const int wxACC_STATE_SYSTEM_MULTISELECTABLE;
290const int wxACC_STATE_SYSTEM_OFFSCREEN;
291const int wxACC_STATE_SYSTEM_PRESSED;
292const int wxACC_STATE_SYSTEM_PROTECTED;
293const int wxACC_STATE_SYSTEM_READONLY;
294const int wxACC_STATE_SYSTEM_SELECTABLE;
295const int wxACC_STATE_SYSTEM_SELECTED;
296const int wxACC_STATE_SYSTEM_SELFVOICING;
297const int wxACC_STATE_SYSTEM_UNAVAILABLE;
298const int wxACC_EVENT_SYSTEM_SOUND;
299const int wxACC_EVENT_SYSTEM_ALERT;
300const int wxACC_EVENT_SYSTEM_FOREGROUND;
301const int wxACC_EVENT_SYSTEM_MENUSTART;
302const int wxACC_EVENT_SYSTEM_MENUEND;
303const int wxACC_EVENT_SYSTEM_MENUPOPUPSTART;
304const int wxACC_EVENT_SYSTEM_MENUPOPUPEND;
305const int wxACC_EVENT_SYSTEM_CAPTURESTART;
306const int wxACC_EVENT_SYSTEM_CAPTUREEND;
307const int wxACC_EVENT_SYSTEM_MOVESIZESTART;
308const int wxACC_EVENT_SYSTEM_MOVESIZEEND;
309const int wxACC_EVENT_SYSTEM_CONTEXTHELPSTART;
310const int wxACC_EVENT_SYSTEM_CONTEXTHELPEND;
311const int wxACC_EVENT_SYSTEM_DRAGDROPSTART;
312const int wxACC_EVENT_SYSTEM_DRAGDROPEND;
313const int wxACC_EVENT_SYSTEM_DIALOGSTART;
314const int wxACC_EVENT_SYSTEM_DIALOGEND;
315const int wxACC_EVENT_SYSTEM_SCROLLINGSTART;
316const int wxACC_EVENT_SYSTEM_SCROLLINGEND;
317const int wxACC_EVENT_SYSTEM_SWITCHSTART;
318const int wxACC_EVENT_SYSTEM_SWITCHEND;
319const int wxACC_EVENT_SYSTEM_MINIMIZESTART;
320const int wxACC_EVENT_SYSTEM_MINIMIZEEND;
321const int wxACC_EVENT_OBJECT_CREATE;
322const int wxACC_EVENT_OBJECT_DESTROY;
323const int wxACC_EVENT_OBJECT_SHOW;
324const int wxACC_EVENT_OBJECT_HIDE;
325const int wxACC_EVENT_OBJECT_REORDER;
326const int wxACC_EVENT_OBJECT_FOCUS;
327const int wxACC_EVENT_OBJECT_SELECTION;
328const int wxACC_EVENT_OBJECT_SELECTIONADD;
329const int wxACC_EVENT_OBJECT_SELECTIONREMOVE;
330const int wxACC_EVENT_OBJECT_SELECTIONWITHIN;
331const int wxACC_EVENT_OBJECT_STATECHANGE;
332const int wxACC_EVENT_OBJECT_LOCATIONCHANGE;
333const int wxACC_EVENT_OBJECT_NAMECHANGE;
334const int wxACC_EVENT_OBJECT_DESCRIPTIONCHANGE;
335const int wxACC_EVENT_OBJECT_VALUECHANGE;
336const int wxACC_EVENT_OBJECT_PARENTCHANGE;
337const int wxACC_EVENT_OBJECT_HELPCHANGE;
338const int wxACC_EVENT_OBJECT_DEFACTIONCHANGE;
339const int wxACC_EVENT_OBJECT_ACCELERATORCHANGE;
340const int wxACC_SELF;
341enum wxAccStatus
342{
343    wxACC_FAIL,
344    wxACC_FALSE,
345    wxACC_OK,
346    wxACC_NOT_IMPLEMENTED,
347    wxACC_NOT_SUPPORTED
348};
349
350enum wxNavDir
351{
352    wxNAVDIR_DOWN,
353    wxNAVDIR_FIRSTCHILD,
354    wxNAVDIR_LASTCHILD,
355    wxNAVDIR_LEFT,
356    wxNAVDIR_NEXT,
357    wxNAVDIR_PREVIOUS,
358    wxNAVDIR_RIGHT,
359    wxNAVDIR_UP
360};
361
362enum wxAccRole
363{
364    wxROLE_NONE,
365    wxROLE_SYSTEM_ALERT,
366    wxROLE_SYSTEM_ANIMATION,
367    wxROLE_SYSTEM_APPLICATION,
368    wxROLE_SYSTEM_BORDER,
369    wxROLE_SYSTEM_BUTTONDROPDOWN,
370    wxROLE_SYSTEM_BUTTONDROPDOWNGRID,
371    wxROLE_SYSTEM_BUTTONMENU,
372    wxROLE_SYSTEM_CARET,
373    wxROLE_SYSTEM_CELL,
374    wxROLE_SYSTEM_CHARACTER,
375    wxROLE_SYSTEM_CHART,
376    wxROLE_SYSTEM_CHECKBUTTON,
377    wxROLE_SYSTEM_CLIENT,
378    wxROLE_SYSTEM_CLOCK,
379    wxROLE_SYSTEM_COLUMN,
380    wxROLE_SYSTEM_COLUMNHEADER,
381    wxROLE_SYSTEM_COMBOBOX,
382    wxROLE_SYSTEM_CURSOR,
383    wxROLE_SYSTEM_DIAGRAM,
384    wxROLE_SYSTEM_DIAL,
385    wxROLE_SYSTEM_DIALOG,
386    wxROLE_SYSTEM_DOCUMENT,
387    wxROLE_SYSTEM_DROPLIST,
388    wxROLE_SYSTEM_EQUATION,
389    wxROLE_SYSTEM_GRAPHIC,
390    wxROLE_SYSTEM_GRIP,
391    wxROLE_SYSTEM_GROUPING,
392    wxROLE_SYSTEM_HELPBALLOON,
393    wxROLE_SYSTEM_HOTKEYFIELD,
394    wxROLE_SYSTEM_INDICATOR,
395    wxROLE_SYSTEM_LINK,
396    wxROLE_SYSTEM_LIST,
397    wxROLE_SYSTEM_LISTITEM,
398    wxROLE_SYSTEM_MENUBAR,
399    wxROLE_SYSTEM_MENUITEM,
400    wxROLE_SYSTEM_MENUPOPUP,
401    wxROLE_SYSTEM_OUTLINE,
402    wxROLE_SYSTEM_OUTLINEITEM,
403    wxROLE_SYSTEM_PAGETAB,
404    wxROLE_SYSTEM_PAGETABLIST,
405    wxROLE_SYSTEM_PANE,
406    wxROLE_SYSTEM_PROGRESSBAR,
407    wxROLE_SYSTEM_PROPERTYPAGE,
408    wxROLE_SYSTEM_PUSHBUTTON,
409    wxROLE_SYSTEM_RADIOBUTTON,
410    wxROLE_SYSTEM_ROW,
411    wxROLE_SYSTEM_ROWHEADER,
412    wxROLE_SYSTEM_SCROLLBAR,
413    wxROLE_SYSTEM_SEPARATOR,
414    wxROLE_SYSTEM_SLIDER,
415    wxROLE_SYSTEM_SOUND,
416    wxROLE_SYSTEM_SPINBUTTON,
417    wxROLE_SYSTEM_STATICTEXT,
418    wxROLE_SYSTEM_STATUSBAR,
419    wxROLE_SYSTEM_TABLE,
420    wxROLE_SYSTEM_TEXT,
421    wxROLE_SYSTEM_TITLEBAR,
422    wxROLE_SYSTEM_TOOLBAR,
423    wxROLE_SYSTEM_TOOLTIP,
424    wxROLE_SYSTEM_WHITESPACE,
425    wxROLE_SYSTEM_WINDOW
426};
427
428enum wxAccObject
429{
430    wxOBJID_WINDOW,
431    wxOBJID_SYSMENU,
432    wxOBJID_TITLEBAR,
433    wxOBJID_MENU,
434    wxOBJID_CLIENT,
435    wxOBJID_VSCROLL,
436    wxOBJID_HSCROLL,
437    wxOBJID_SIZEGRIP,
438    wxOBJID_CARET,
439    wxOBJID_CURSOR,
440    wxOBJID_ALERT,
441    wxOBJID_SOUND
442};
443
444enum wxAccSelectionFlags
445{
446    wxACC_SEL_NONE,
447    wxACC_SEL_TAKEFOCUS,
448    wxACC_SEL_TAKESELECTION,
449    wxACC_SEL_EXTENDSELECTION,
450    wxACC_SEL_ADDSELECTION,
451    wxACC_SEL_REMOVESELECTION
452};
453
454class wxAccessible : wxObject
455{
456    %Docstring
457        Accessible(win=None)
458
459        The wxAccessible class allows wxWidgets applications, and wxWidgets
460        itself, to return extended information about user interface elements
461        to client applications such as screen readers.
462    %End
463    %TypeHeaderCode
464        #include <wx/access.h>
465    %End
466
467public:
468    wxAccessible(
469        wxWindow * win = NULL
470    );
471
472    ~wxAccessible();
473
474    virtual
475    wxAccStatus DoDefaultAction(
476        int childId
477    );
478    %Docstring
479        DoDefaultAction(childId) -> AccStatus
480
481        Performs the default action for the object.
482    %End
483
484    virtual
485    wxAccStatus GetChild(
486        int childId,
487        wxAccessible ** child   /Out/
488    );
489    %Docstring
490        GetChild(childId) -> (AccStatus, child)
491
492        Gets the specified child (starting from 1).
493    %End
494
495    virtual
496    wxAccStatus GetChildCount(
497        int * childCount   /Out/
498    );
499    %Docstring
500        GetChildCount() -> (AccStatus, childCount)
501
502        Returns the number of children in childCount.
503    %End
504
505    virtual
506    wxAccStatus GetDefaultAction(
507        int childId,
508        wxString * actionName   /Out/
509    );
510    %Docstring
511        GetDefaultAction(childId) -> (AccStatus, actionName)
512
513        Gets the default action for this object (0) or a child (greater than
514        0).
515    %End
516
517    virtual
518    wxAccStatus GetDescription(
519        int childId,
520        wxString * description   /Out/
521    );
522    %Docstring
523        GetDescription(childId) -> (AccStatus, description)
524
525        Returns the description for this object or a child.
526    %End
527
528    virtual
529    wxAccStatus GetFocus(
530        int * childId,
531        wxAccessible ** child   /Out/
532    );
533    %Docstring
534        GetFocus(childId) -> (AccStatus, child)
535
536        Gets the window with the keyboard focus.
537    %End
538
539    virtual
540    wxAccStatus GetHelpText(
541        int childId,
542        wxString * helpText   /Out/
543    );
544    %Docstring
545        GetHelpText(childId) -> (AccStatus, helpText)
546
547        Returns help text for this object or a child, similar to tooltip text.
548    %End
549
550    virtual
551    wxAccStatus GetKeyboardShortcut(
552        int childId,
553        wxString * shortcut   /Out/
554    );
555    %Docstring
556        GetKeyboardShortcut(childId) -> (AccStatus, shortcut)
557
558        Returns the keyboard shortcut for this object or child.
559    %End
560
561    virtual
562    wxAccStatus GetLocation(
563        wxRect & rect   /Out/,
564        int elementId
565    );
566    %Docstring
567        GetLocation(elementId) -> (AccStatus, rect)
568
569        Returns the rectangle for this object (id is 0) or a child element (id
570        is greater than 0).
571    %End
572
573    virtual
574    wxAccStatus GetName(
575        int childId,
576        wxString * name   /Out/
577    );
578    %Docstring
579        GetName(childId) -> (AccStatus, name)
580
581        Gets the name of the specified object.
582    %End
583
584    virtual
585    wxAccStatus GetParent(
586        wxAccessible ** parent   /Out/
587    );
588    %Docstring
589        GetParent() -> (AccStatus, parent)
590
591        Returns the parent of this object, or NULL.
592    %End
593
594    virtual
595    wxAccStatus GetRole(
596        int childId,
597        wxAccRole * role   /Out/
598    );
599    %Docstring
600        GetRole(childId) -> (AccStatus, role)
601
602        Returns a role constant describing this object.
603    %End
604
605    virtual
606    wxAccStatus GetSelections(
607        wxVariant * selections   /Out/
608    );
609    %Docstring
610        GetSelections() -> (AccStatus, selections)
611
612        Gets a variant representing the selected children of this object.
613    %End
614
615    virtual
616    wxAccStatus GetState(
617        int childId,
618        long * state   /Out/
619    );
620    %Docstring
621        GetState(childId) -> (AccStatus, state)
622
623        Returns a state constant.
624    %End
625
626    virtual
627    wxAccStatus GetValue(
628        int childId,
629        wxString * strValue   /Out/
630    );
631    %Docstring
632        GetValue(childId) -> (AccStatus, strValue)
633
634        Returns a localized string representing the value for the object or
635        child.
636    %End
637
638    wxWindow * GetWindow();
639    %Docstring
640        GetWindow() -> Window
641
642        Returns the window associated with this object.
643    %End
644
645    virtual
646    wxAccStatus HitTest(
647        const wxPoint & pt,
648        int * childId,
649        wxAccessible ** childObject
650    );
651    %Docstring
652        HitTest(pt, childId, childObject) -> AccStatus
653
654        Returns a status value and object id to indicate whether the given
655        point was on this or a child object.
656    %End
657
658    virtual
659    wxAccStatus Navigate(
660        wxNavDir navDir,
661        int fromId,
662        int * toId,
663        wxAccessible ** toObject
664    );
665    %Docstring
666        Navigate(navDir, fromId, toId, toObject) -> AccStatus
667
668        Navigates from fromId to toId or to toObject.
669    %End
670
671    virtual
672    wxAccStatus Select(
673        int childId,
674        wxAccSelectionFlags selectFlags
675    );
676    %Docstring
677        Select(childId, selectFlags) -> AccStatus
678
679        Selects the object or child.
680    %End
681
682    void SetWindow(
683        wxWindow * window
684    );
685    %Docstring
686        SetWindow(window)
687
688        Sets the window associated with this object.
689    %End
690
691    static
692    void NotifyEvent(
693        int eventType,
694        wxWindow * window,
695        wxAccObject objectType,
696        int objectId
697    );
698    %Docstring
699        NotifyEvent(eventType, window, objectType, objectId)
700
701        Allows the application to send an event when something changes in an
702        accessible object.
703    %End
704
705    private:
706        wxAccessible(const wxAccessible&);
707
708
709    public:
710
711
712    %Property(name=Window, get=GetWindow, set=SetWindow)
713};  // end of class wxAccessible
714
715
716const int wxUSE_ACCESSIBILITY;
717
718//---------------------------------------------------------------------------
719
720