Added wxDragImage and demo, (used wxGenericDragImage for both
platforms) Added demo of changing keyboard handling in wxGrid SWIGged sources update git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7,6 +7,9 @@ On Windows, the WIN32 API is used to do achieve smooth dragging. On other platfo
|
||||
wxGenericDragImage is used. Applications may also prefer to use
|
||||
wxGenericDragImage on Windows, too.
|
||||
|
||||
\pythonnote{wxPython uses wxGenericDragImage on all platforms, but
|
||||
uses the wxDragImage name.}
|
||||
|
||||
To use this class, when you wish to start dragging an image, create a wxDragImage
|
||||
object and store it somewhere you can access it as the drag progresses.
|
||||
Call BeginDrag to start, and EndDrag to stop the drag. To move the image,
|
||||
@@ -48,19 +51,27 @@ Constructs a drag image from a bitmap and optional cursor.
|
||||
|
||||
Constructs a drag image from an icon and optional cursor.
|
||||
|
||||
\pythonnote{This constructor is called wxDragIcon in wxPython.}
|
||||
|
||||
\func{}{wxDragImage}{\param{const wxString\& }{text}, \param{const wxCursor\& }{cursor = wxNullCursor},
|
||||
\param{const wxPoint& }{hotspot = wxPoint(0, 0)}}
|
||||
|
||||
Constructs a drag image from a text string and optional cursor.
|
||||
|
||||
\pythonnote{This constructor is called wxDragString in wxPython.}
|
||||
|
||||
\func{}{wxDragImage}{\param{const wxTreeCtrl\& }{treeCtrl}, \param{wxTreeItemId\& }{id}}
|
||||
|
||||
Constructs a drag image from the text in the given tree control item, and optional cursor.
|
||||
|
||||
\pythonnote{This constructor is called wxDragTreeItem in wxPython.}
|
||||
|
||||
\func{}{wxDragImage}{\param{const wxListCtrl\& }{treeCtrl}, \param{long }{id}}
|
||||
|
||||
Constructs a drag image from the text in the given tree control item, and optional cursor.
|
||||
|
||||
\pythonnote{This constructor is called wxDragListItem in wxPython.}
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{image}{Icon or bitmap to be used as the drag image. The bitmap can
|
||||
|
@@ -383,6 +383,7 @@ as possible to the C++ spec over time.
|
||||
\item \helpref{wxDC}{wxdc}
|
||||
\item \helpref{wxDialog}{wxdialog}
|
||||
\item \helpref{wxDirDialog}{wxdirdialog}
|
||||
\item \helpref{wxDragImage}{wxdragimage}
|
||||
\item \helpref{wxDropFilesEvent}{wxdropfilesevent}
|
||||
\item \helpref{wxDropSource}{wxdropsource}
|
||||
\item \helpref{wxDropTarget}{wxdroptarget}
|
||||
@@ -504,6 +505,7 @@ as possible to the C++ spec over time.
|
||||
\item \helpref{wxTextDropTarget}{wxtextdroptarget}
|
||||
\item \helpref{wxTextEntryDialog}{wxtextentrydialog}
|
||||
\item \helpref{wxTimer}{wxtimer}
|
||||
\item \helpref{wxTipProvider}{wxtipprovider}
|
||||
\item wxToolBarTool
|
||||
\item \helpref{wxToolBar}{wxtoolbar}
|
||||
\item wxToolTip
|
||||
|
Reference in New Issue
Block a user