fildatob.tex

来自「很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.」· TEX 代码 · 共 56 行

TEX
56
字号
\section{\class{wxFileDataObject}}\label{wxfiledataobject}wxFileDataObject is a specialization of \helpref{wxDataObject}{wxdataobject} for file names. The program works with it just as if it were a list of absolute filenames, but internally it uses the same format asExplorer and other compatible programs under Windows or GNOME/KDE filemanagerunder Unix which makes it possible to receive files from them using thisclass.{\bf Warning:} Under all non-Windows platforms this class is currently"input-only", i.e. you can receive the files from another application, butcopying (or dragging) file(s) from a wxWidgets application is not currentlysupported. PS: GTK2 should work as well.\wxheading{Virtual functions to override}None.\wxheading{Derived from}\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\\helpref{wxDataObject}{wxdataobject}\wxheading{Include files}<wx/dataobj.h>\wxheading{See also}\helpref{wxDataObject}{wxdataobject}, \helpref{wxDataObjectSimple}{wxdataobjectsimple}, \helpref{wxTextDataObject}{wxtextdataobject}, \helpref{wxBitmapDataObject}{wxbitmapdataobject}, \helpref{wxDataObject}{wxdataobject}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxFileDataObject}\label{wxfiledataobjectwxfiledataobject}\func{}{wxFileDataObject}{\void}Constructor.\membersection{wxFileDataObject::AddFile}\label{wxfiledataobjectaddfile}\func{virtual void}{AddFile}{\param{const wxString\& }{file}}{\bf MSW only:} adds a file to the file list represented by this data object.\membersection{wxFileDataObject::GetFilenames}\label{wxfiledataobjectgetfilenames}\constfunc{const wxArrayString\& }{GetFilenames}{\void}Returns the \helpref{array}{wxarraystring} of file names.

⌨️ 快捷键说明

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