forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_drag_data.pxd
More file actions
23 lines (19 loc) · 776 Bytes
/
cef_drag_data.pxd
File metadata and controls
23 lines (19 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2016 The CEF Python authors. All rights reserved.
from libcpp cimport bool as cpp_bool
from cef_string cimport CefString
from cef_ptr cimport CefRefPtr
from cef_image cimport CefImage
cdef extern from "include/cef_drag_data.h":
cdef cppclass CefDragData:
cpp_bool IsLink()
cpp_bool IsFragment()
CefString GetLinkURL()
CefString GetLinkTitle()
CefString GetFragmentText()
CefString GetFragmentHtml()
void SetFragmentText(const CefString& text)
void SetFragmentHtml(const CefString& html)
void SetFragmentBaseURL(const CefString& base_url)
cpp_bool HasImage()
CefRefPtr[CefImage] GetImage()
cdef CefRefPtr[CefDragData] CefDragData_Create "CefDragData::Create"()