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
27 lines (23 loc) · 950 Bytes
/
cef_drag_data.pxd
File metadata and controls
27 lines (23 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) 2016 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
from libcpp cimport bool as cpp_bool
from cef_string cimport CefString
from cef_ptr cimport CefRefPtr
from cef_image cimport CefImage
from cef_types cimport CefPoint
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()
CefPoint GetImageHotspot()
cdef CefRefPtr[CefDragData] CefDragData_Create "CefDragData::Create"()