txtdrptg.tex
来自「wxWidgets 是一个跨平台的 GUI 框架。它给开发人员提供了统一的接口」· TEX 代码 · 共 51 行
TEX
51 行
\section{\class{wxTextDropTarget}}\label{wxtextdroptarget}A predefined drop target for dealing with text data.\wxheading{Derived from}\helpref{wxDropTarget}{wxdroptarget}\wxheading{Include files}<wx/dnd.h>\wxheading{See also}\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDropSource}{wxdropsource}, \helpref{wxDropTarget}{wxdroptarget}, \helpref{wxFileDropTarget}{wxfiledroptarget}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxTextDropTarget::wxTextDropTarget}\label{wxtextdroptargetwxtextdroptarget}\func{}{wxTextDropTarget}{\void}Constructor.\membersection{wxTextDropTarget::OnDrop}\label{wxtextdroptargetondrop}\func{virtual bool}{OnDrop}{\param{long }{x}, \param{long }{y}, \param{const void }{*data}, \param{size\_t }{size}}See \helpref{wxDropTarget::OnDrop}{wxdroptargetondrop}. This function is implementedappropriately for text, and calls \helpref{wxTextDropTarget::OnDropText}{wxtextdroptargetondroptext}.\membersection{wxTextDropTarget::OnDropText}\label{wxtextdroptargetondroptext}\func{virtual bool}{OnDropText}{\param{wxCoord }{x}, \param{wxCoord }{y}, \param{const wxString\&}{ data}}Override this function to receive dropped text.\wxheading{Parameters}\docparam{x}{The x coordinate of the mouse.}\docparam{y}{The y coordinate of the mouse.}\docparam{data}{The data being dropped: a wxString.}\wxheading{Return value}Return true to accept the data, false to veto the operation.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?