FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/src/web_plugin_info.pyx at cefpython57 · pythonthings/cefpython · GitHub
pythonthings
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
src
/
web_plugin_info.pyx
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (19 loc) · 884 Bytes
Breadcrumbs
cefpython
/
src
/
web_plugin_info.pyx
Copy path
File metadata and controls
26 lines (19 loc) · 884 Bytes
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
#
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
"
cdef PyWebPluginInfo CreatePyWebPluginInfo(
CefRefPtr[CefWebPluginInfo] cefPlugin):
cdef PyWebPluginInfo pyPlugin
=
PyWebPluginInfo()
pyPlugin.cefPlugin
=
cefPlugin
return
pyPlugin
cdef
class
PyWebPluginInfo:
cdef CefRefPtr[CefWebPluginInfo] cefPlugin
cpdef py_string GetName(
self
):
return
CefToPyString(
self
.cefPlugin.get().GetName())
cpdef py_string GetPath(
self
):
return
CefToPyString(
self
.cefPlugin.get().GetPath())
cpdef py_string GetVersion(
self
):
return
CefToPyString(
self
.cefPlugin.get().GetVersion())
cpdef py_string GetDescription(
self
):
return
CefToPyString(
self
.cefPlugin.get().GetDescription())
Back
|
FazBrowse Home
|
New Git URL