forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathx11.pxd
More file actions
15 lines (13 loc) · 646 Bytes
/
x11.pxd
File metadata and controls
15 lines (13 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 cef_ptr cimport CefRefPtr
# noinspection PyUnresolvedReferences
from cef_browser cimport CefBrowser
from linux cimport XImage
cdef extern from "client_handler/x11.h" nogil:
void InstallX11ErrorHandlers()
void SetX11WindowBounds(CefRefPtr[CefBrowser] browser,
int x, int y, int width, int height)
void SetX11WindowTitle(CefRefPtr[CefBrowser] browser, char* title)
XImage* CefBrowser_GetImage(CefRefPtr[CefBrowser] browser)