⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accessible.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
📖 第 1 页 / 共 2 页
字号:
}Event identifiers that can be sent via \helpref{wxAccessible::NotifyEvent}{wxaccessiblenotifyevent} areas follows:{\small \begin{verbatim}#define wxACC_EVENT_SYSTEM_SOUND              0x0001#define wxACC_EVENT_SYSTEM_ALERT              0x0002#define wxACC_EVENT_SYSTEM_FOREGROUND         0x0003#define wxACC_EVENT_SYSTEM_MENUSTART          0x0004#define wxACC_EVENT_SYSTEM_MENUEND            0x0005#define wxACC_EVENT_SYSTEM_MENUPOPUPSTART     0x0006#define wxACC_EVENT_SYSTEM_MENUPOPUPEND       0x0007#define wxACC_EVENT_SYSTEM_CAPTURESTART       0x0008#define wxACC_EVENT_SYSTEM_CAPTUREEND         0x0009#define wxACC_EVENT_SYSTEM_MOVESIZESTART      0x000A#define wxACC_EVENT_SYSTEM_MOVESIZEEND        0x000B#define wxACC_EVENT_SYSTEM_CONTEXTHELPSTART   0x000C#define wxACC_EVENT_SYSTEM_CONTEXTHELPEND     0x000D#define wxACC_EVENT_SYSTEM_DRAGDROPSTART      0x000E#define wxACC_EVENT_SYSTEM_DRAGDROPEND        0x000F#define wxACC_EVENT_SYSTEM_DIALOGSTART        0x0010#define wxACC_EVENT_SYSTEM_DIALOGEND          0x0011#define wxACC_EVENT_SYSTEM_SCROLLINGSTART     0x0012#define wxACC_EVENT_SYSTEM_SCROLLINGEND       0x0013#define wxACC_EVENT_SYSTEM_SWITCHSTART        0x0014#define wxACC_EVENT_SYSTEM_SWITCHEND          0x0015#define wxACC_EVENT_SYSTEM_MINIMIZESTART      0x0016#define wxACC_EVENT_SYSTEM_MINIMIZEEND        0x0017#define wxACC_EVENT_OBJECT_CREATE                 0x8000#define wxACC_EVENT_OBJECT_DESTROY                0x8001#define wxACC_EVENT_OBJECT_SHOW                   0x8002#define wxACC_EVENT_OBJECT_HIDE                   0x8003#define wxACC_EVENT_OBJECT_REORDER                0x8004#define wxACC_EVENT_OBJECT_FOCUS                  0x8005#define wxACC_EVENT_OBJECT_SELECTION              0x8006#define wxACC_EVENT_OBJECT_SELECTIONADD           0x8007#define wxACC_EVENT_OBJECT_SELECTIONREMOVE        0x8008#define wxACC_EVENT_OBJECT_SELECTIONWITHIN        0x8009#define wxACC_EVENT_OBJECT_STATECHANGE            0x800A#define wxACC_EVENT_OBJECT_LOCATIONCHANGE         0x800B#define wxACC_EVENT_OBJECT_NAMECHANGE             0x800C#define wxACC_EVENT_OBJECT_DESCRIPTIONCHANGE      0x800D#define wxACC_EVENT_OBJECT_VALUECHANGE            0x800E#define wxACC_EVENT_OBJECT_PARENTCHANGE           0x800F#define wxACC_EVENT_OBJECT_HELPCHANGE             0x8010#define wxACC_EVENT_OBJECT_DEFACTIONCHANGE        0x8011#define wxACC_EVENT_OBJECT_ACCELERATORCHANGE      0x8012\end{verbatim}}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxAccessible::wxAccessible}\label{wxaccessiblewxaccessible}\func{}{wxAccessible}{\param{wxWindow* }{win = NULL}}Constructor, taking an optional window. The object can be associated witha window later.\membersection{wxAccessible::\destruct{wxAccessible}}\label{wxaccessibledtor}\func{}{\destruct{wxAccessible}}{\void}Destructor.\membersection{wxAccessible::DoDefaultAction}\label{wxaccessibledodefaultaction}\func{virtual wxAccStatus}{DoDefaultAction}{\param{int }{childId}}Performs the default action for the object. {\it childId} is 0 (the action for this object)or greater than 0 (the action for a child). Return wxACC\_NOT\_SUPPORTED if thereis no default action for this window (e.g. an edit control).\membersection{wxAccessible::GetChild}\label{wxaccessiblegetchild}\func{virtual wxAccStatus}{GetChild}{\param{int }{childId}, \param{wxAccessible** }{child}}Gets the specified child (starting from 1). If {\it child} is NULL and the return value is wxACC\_OK,this means that the child is a simple element and not an accessible object.\membersection{wxAccessible::GetChildCount}\label{wxaccessiblegetchildcount}\func{virtual wxAccStatus}{GetChildCount}{\param{int* }{childCount}}Returns the number of children in {\it childCount}.\membersection{wxAccessible::GetDefaultAction}\label{wxaccessiblegetdefaultaction}\func{virtual wxAccStatus}{GetDefaultAction}{\param{int }{childId}, \param{wxString* }{actionName}}Gets the default action for this object (0) or a child (greater than 0).Return wxACC\_OK even if there is no action. {\it actionName} is the action, or the emptystring if there is no action. The retrieved string describes the action that is performed on an object,not what the object does as a result. For example, a toolbar button that printsa document has a default action of "Press" rather than "Prints the current document."\membersection{wxAccessible::GetDescription}\label{wxaccessiblegetdescription}\func{virtual wxAccStatus}{GetDescription}{\param{int }{childId}, \param{wxString* }{description}}Returns the description for this object or a child.\membersection{wxAccessible::GetFocus}\label{wxaccessiblegetfocus}\func{virtual wxAccStatus}{GetFocus}{\param{int* }{childId}, \param{wxAccessible** }{child}}Gets the window with the keyboard focus. If childId is 0 and child is NULL, no object inthis subhierarchy has the focus. If this object has the focus, child should be 'this'.\membersection{wxAccessible::GetHelpText}\label{wxaccessiblegethelptext}\func{virtual wxAccStatus}{GetHelpText}{\param{int }{childId}, \param{wxString* }{helpText}}Returns help text for this object or a child, similar to tooltip text.\membersection{wxAccessible::GetKeyboardShortcut}\label{wxaccessiblegetkeyboardshortcut}\func{virtual wxAccStatus}{GetKeyboardShortcut}{\param{int }{childId}, \param{wxString* }{shortcut}}Returns the keyboard shortcut for this object or child.Return e.g. ALT+K.\membersection{wxAccessible::GetLocation}\label{wxaccessiblegetlocation}\func{virtual wxAccStatus}{GetLocation}{\param{wxRect\& }{rect}, \param{int }{elementId}}Returns the rectangle for this object (id is 0) or a child element (id is greater than 0).{\it rect} is in screen coordinates.\membersection{wxAccessible::GetName}\label{wxaccessiblegetname}\func{virtual wxAccStatus}{GetName}{\param{int }{childId}, \param{wxString* }{name}}Gets the name of the specified object.\membersection{wxAccessible::GetParent}\label{wxaccessiblegetparent}\func{virtual wxAccStatus}{GetParent}{\param{wxAccessible** }{parent}}Returns the parent of this object, or NULL.\membersection{wxAccessible::GetRole}\label{wxaccessiblegetrole}\func{virtual wxAccStatus}{GetRole}{\param{int }{childId}, \param{wxAccRole* }{role}}Returns a role constant describing this object. See \helpref{wxAccessible}{wxaccessible} for a listof these roles.\membersection{wxAccessible::GetSelections}\label{wxaccessiblegetselections}\func{virtual wxAccStatus}{GetSelections}{\param{wxVariant* }{selections}}Gets a variant representing the selected childrenof this object.Acceptable values are:\begin{itemize}\item  a null variant (IsNull() returns TRUE)\item  a list variant (GetType() == wxT("list"))\item  an integer representing the selected child element,or 0 if this object is selected (GetType() == wxT("long"))\item a "void*" pointer to a wxAccessible child object\end{itemize}\membersection{wxAccessible::GetState}\label{wxaccessiblegetstate}\func{virtual wxAccStatus}{GetState}{\param{int }{childId}, \param{long* }{state}}Returns a state constant. See \helpref{wxAccessible}{wxaccessible} for a listof these states.\membersection{wxAccessible::GetValue}\label{wxaccessiblegetvalue}\func{virtual wxAccStatus}{GetValue}{\param{int }{childId}, \param{wxString* }{strValue}}Returns a localized string representing the value for the objector child.\membersection{wxAccessible::GetWindow}\label{wxaccessiblegetwindow}\func{wxWindow*}{GetWindow}{\void}Returns the window associated with this object.\membersection{wxAccessible::HitTest}\label{wxaccessiblehittest}\func{virtual wxAccStatus}{HitTest}{\param{const wxPoint\& }{pt}, \param{int* }{childId}, \param{wxAccessible** }{childObject}}Returns a status value and object id to indicate whether the given point was on this ora child object. Can return either a child object, or an integerrepresenting the child element, starting from 1.{\it pt} is in screen coordinates.\membersection{wxAccessible::Navigate}\label{wxaccessiblenavigate}\func{virtual wxAccStatus}{Navigate}{\param{wxNavDir }{navDir}, \param{int }{fromId}, \param{int* }{toId}, \param{wxAccessible** }{toObject}}Navigates from {\it fromId} to {\it toId}/{\it toObject}.\membersection{wxAccessible::NotifyEvent}\label{wxaccessiblenotifyevent}\func{virtual static void}{NotifyEvent}{\param{int}{ eventType}, \param{wxWindow* }{window}, \param{wxAccObject }{objectType}, \param{int }{objectType}}Allows the application to send an event when something changes in an accessible object.\membersection{wxAccessible::Select}\label{wxaccessibleselect}\func{virtual wxAccStatus}{Select}{\param{int }{childId}, \param{wxAccSelectionFlags }{selectFlags}}Selects the object or child. See \helpref{wxAccessible}{wxaccessible} for a listof the selection actions.\membersection{wxAccessible::SetWindow}\label{wxaccessiblesetwindow}\func{void}{SetWindow}{\param{wxWindow* }{window}}Sets the window associated with this object.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -