FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/src/window_utils_linux.pyx at cefpython66 · 2php/cefpython · GitHub
2php
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
src
/
window_utils_linux.pyx
Copy path
More file actions
More file actions
Latest commit
History
History
History
54 lines (44 loc) · 1.88 KB
Breadcrumbs
cefpython
/
src
/
window_utils_linux.pyx
Copy path
File metadata and controls
54 lines (44 loc) · 1.88 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
Copyright (c) 2013 CEF Python, see the Authors file.
#
All rights reserved. Licensed under BSD 3-clause license.
#
Project website: https://github.com/cztomczak/cefpython
include
"
cefpython.pyx
"
class
WindowUtils
:
#
You have to overwrite this class and provide implementations
#
for these methods.
@
classmethod
def
OnSetFocus
(
cls
, WindowHandle
windowHandle
, long
msg
, long
wparam
,
long
lparam
):
#
Available only on Windows, but have it available on other
#
platforms so that PyCharm doesn't warn about unresolved reference.
pass
@
classmethod
def
OnSize
(
cls
, WindowHandle
windowHandle
, long
msg
, long
wparam
,
long
lparam
):
#
Available only on Windows, but have it available on other
#
platforms so that PyCharm doesn't warn about unresolved reference.
pass
@
classmethod
def
OnEraseBackground
(
cls
, WindowHandle
windowHandle
, long
msg
,
long
wparam
, long
lparam
):
#
Available only on Windows, but have it available on other
#
platforms so that PyCharm doesn't warn about unresolved reference.
pass
@
classmethod
def
GetParentHandle
(
cls
, WindowHandle
windowHandle
):
Debug(
"
WindowUtils::GetParentHandle() not implemented (returns 0)
"
)
return
0
@
classmethod
def
IsWindowHandle
(
cls
, WindowHandle
windowHandle
):
Debug(
"
WindowUtils::IsWindowHandle() not implemented (always True)
"
)
return
True
@
classmethod
def
gtk_plug_new
(
cls
, WindowHandle
gdkNativeWindow
):
return
<
WindowHandle
>
gtk_plug_new(
<
GdkNativeWindow
>
gdkNativeWindow)
@
classmethod
def
gtk_widget_show
(
cls
, WindowHandle
gtkWidgetPtr
):
with
nogil:
gtk_widget_show(
<
GtkWidget
*
>
gtkWidgetPtr)
@
classmethod
def
InstallX11ErrorHandlers
(
cls
):
with
nogil:
x11.InstallX11ErrorHandlers()
Back
|
FazBrowse Home
|
New Git URL