forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_win.pxd
More file actions
29 lines (23 loc) · 968 Bytes
/
cef_win.pxd
File metadata and controls
29 lines (23 loc) · 968 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
29
# 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"
# noinspection PyUnresolvedReferences
from windows cimport HWND, RECT, HINSTANCE, HCURSOR
from cef_string cimport CefString
from libcpp cimport bool as cpp_bool
cdef extern from "include/internal/cef_win.h":
# noinspection PyUnresolvedReferences
ctypedef HWND CefWindowHandle
# noinspection PyUnresolvedReferences
ctypedef HCURSOR CefCursorHandle
cdef cppclass CefWindowInfo:
void SetAsChild(CefWindowHandle parent,
RECT windowRect)
void SetAsPopup(CefWindowHandle parent,
const CefString& windowName)
void SetAsWindowless(CefWindowHandle parent,
cpp_bool transparent)
cdef cppclass CefMainArgs:
CefMainArgs()
CefMainArgs(HINSTANCE hInstance)