-
-
Notifications
You must be signed in to change notification settings - Fork 479
Expand file tree
/
Copy pathcef_win.pxd
More file actions
28 lines (21 loc) · 855 Bytes
/
cef_win.pxd
File metadata and controls
28 lines (21 loc) · 855 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
28
# Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
# License: New BSD License.
# Website: http://code.google.com/p/cefpython/
include "compile_time_constants.pxi"
from windows cimport HWND, RECT, HINSTANCE, HCURSOR
from cef_types_wrappers cimport CefStructBase
from cef_string cimport CefString
from cef_types_win cimport _cef_key_info_t
cdef extern from "include/internal/cef_win.h":
ctypedef HWND CefWindowHandle
ctypedef HCURSOR CefCursorHandle
cdef cppclass CefWindowInfo:
void SetAsChild(HWND, RECT)
void SetAsPopup(HWND, CefString&)
void SetTransparentPainting(int)
void SetAsOffScreen(HWND)
IF CEF_VERSION == 3:
cdef cppclass CefMainArgs(CefStructBase):
CefMainArgs()
CefMainArgs(HINSTANCE hInstance)
ctypedef _cef_key_info_t CefKeyInfo