@@ -11,6 +11,12 @@ Table of contents:
11
11
* [CanGoForward](#cangoforward)
12
12
* [CloseBrowser](#closebrowser)
13
13
* [CloseDevTools](#closedevtools)
14
+
* [DragTargetDragEnter](#dragtargetdragenter)
15
+
* [DragTargetDragOver](#dragtargetdragover)
16
+
* [DragTargetDragLeave](#dragtargetdragleave)
17
+
* [DragTargetDrop](#dragtargetdrop)
18
+
* [DragSourceEndedAt](#dragsourceendedat)
19
+
* [DragSourceSystemDragEnded](#dragsourcesystemdragended)
14
20
* [ExecuteFunction](#executefunction)
15
21
* [ExecuteJavascript](#executejavascript)
16
22
* [Find](#find)
@@ -131,6 +137,116 @@ information.
131
137
Explicitly close the associated DevTools browser, if any.
132
138
133
139
140
+
### DragTargetDragEnter
141
+
142
+
| | |
143
+
| --- | --- |
144
+
| drag_data | [DragData](DragData.md) |
145
+
| x | int |
146
+
| y | int |
147
+
| allowed_ops | int |
148
+
| __Return__ | void |
149
+
150
+
Description from upstream CEF:
151
+
> Call this method when the user drags the mouse into the web view (before
152
+
> calling DragTargetDragOver/DragTargetLeave/DragTargetDrop).
153
+
> |drag_data| should not contain file contents as this type of data is not
154
+
> allowed to be dragged into the web view. File contents can be removed using
155
+
> CefDragData::ResetFileContents (for example, if |drag_data| comes from
156
+
> CefRenderHandler::StartDragging).
157
+
> This method is only used when window rendering is disabled.
158
+
159
+
160
+
### DragTargetDragOver
161
+
162
+
| | |
163
+
| --- | --- |
164
+
| x | int |
165
+
| y | int |
166
+
| allowed_ops | int |
167
+
| __Return__ | void |
168
+
169
+
Description from upstream CEF:
170
+
> Call this method each time the mouse is moved across the web view during
171
+
> a drag operation (after calling DragTargetDragEnter and before calling
172
+
> DragTargetDragLeave/DragTargetDrop).
173
+
> This method is only used when window rendering is disabled.
174
+
175
+
176
+
### DragTargetDragLeave
177
+
178
+
| | |
179
+
| --- | --- |
180
+
| __Return__ | void |
181
+
182
+
Description from upstream CEF:
183
+
> Call this method when the user drags the mouse out of the web view (after
184
+
> calling DragTargetDragEnter).
185
+
> This method is only used when window rendering is disabled.
186
+
187
+
188
+
### DragTargetDrop
189
+
190
+
| | |
191
+
| --- | --- |
192
+
| x | int |
193
+
| y | int |
194
+
| __Return__ | void |
195
+
196
+
Description from upstream CEF:
197
+
> Call this method when the user completes the drag operation by dropping
198
+
> the object onto the web view (after calling DragTargetDragEnter).
199
+
> The object being dropped is |drag_data|, given as an argument to
200
+
> the previous DragTargetDragEnter call.
201
+
> This method is only used when window rendering is disabled.
202
+
203
+
204
+
### DragSourceEndedAt
205
+
206
+
| | |
207
+
| --- | --- |
208
+
| x | int |
209
+
| y | int |
210
+
| operation | int |
211
+
| __Return__ | void |
212
+
213
+
Description from upstream CEF:
214
+
> Call this method when the drag operation started by a
215
+
> CefRenderHandler::StartDragging call has ended either in a drop or
216
+
> by being cancelled. |x| and |y| are mouse coordinates relative to the
217
+
> upper-left corner of the view. If the web view is both the drag source
218
+
> and the drag target then all DragTarget* methods should be called before
219
+
> DragSource* mthods.
220
+
> This method is only used when window rendering is disabled.
221
+
222
+
Operation enum from upstream CEF - these constants are declared in the
223
+
`cefpython` module:
224
+
> DRAG_OPERATION_NONE = 0,
225
+
> DRAG_OPERATION_COPY = 1,
226
+
> DRAG_OPERATION_LINK = 2,
227
+
> DRAG_OPERATION_GENERIC = 4,
228
+
> DRAG_OPERATION_PRIVATE = 8,
229
+
> DRAG_OPERATION_MOVE = 16,
230
+
> DRAG_OPERATION_DELETE = 32,
231
+
> DRAG_OPERATION_EVERY = UINT_MAX
232
+
233
+
234
+
### DragSourceSystemDragEnded
235
+
236
+
| | |
237
+
| --- | --- |
238
+
| __Return__ | void |
239
+
240
+
Description from upstream CEF:
241
+
> Call this method when the drag operation started by a
242
+
> CefRenderHandler::StartDragging call has completed. This method may be
243
+
> called immediately without first calling DragSourceEndedAt to cancel a
244
+
> drag operation. If the web view is both the drag source and the drag
245
+
> target then all DragTarget* methods should be called before DragSource*
246
+
> mthods.
247
+
> This method is only used when window rendering is disabled.
248
+
249
+
134
250
### ExecuteFunction
135
251
136
252
| Parameter | Type |
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4