Git Product home page Git Product logo

cef's Introduction

lroc/cef

This is a modify version of https://github.com/CzarekTomczak/cef2go/.

How to build on Windows platform (Win7 32/64-bit).

  1. Make sure you have installed windows-386 version of Go (for example: 1.5.1)
  2. Install mingw and add C:\MinGW\bin to PATH. You can install mingw using mingw-get-setup.exe. Select packages to install: "mingw-developer-toolkit", "mingw32-base", "msys-base".
  3. Download CEF 3 branch 2171 revision 1897 binaries: cef_binary_3.2171.1897_windows32.7z Copy Release/* to cef/Release Copy Resources/* to cef/Release
  4. Run [go build] in the directory

This code only supports Windows platforms.

cef's People

Contributors

f0cii avatar

Stargazers

 avatar  avatar mytutorials avatar iceman avatar  avatar  avatar

Watchers

 avatar  avatar funjoke avatar Eugene Chyrski avatar  avatar  avatar Yue Guo avatar

Forkers

zenliucn

cef's Issues

SendProcessMessage and C.PID_BROWSER

When using browser.SendProcessMessage in another package, PID_BROWSER should be accessible from GoLang and not just C.PID_BROWSER maybe?

I am trying to figure out how to send in PID_BROWSER from another package outside of cef...

Maybe a golang wrapper around C.PID_BROWSER you have already made somewhere? I cannot find it.

I.e. something like this:
browser.SendProcessMessage(BrowserID, message)

Instead of:
browser.SendProcessMessage(C.PID_BROWSER, message.CStruct)

Maybe you did not initially intend SendProcessMessage to be used outside of the cef package?

Platforms/OS Supported?

Hi, just wondering which platforms this should work on?

Does MacOSX work, along with linux/bsd?

Would be nice if you could mention it in the readme...

I'm looking at your code because it appears you have implemented SendProcessMessage, which cef2go did not, AFAIK.

请问如何集成到walk或gotk3?

非常感谢,已经编译成功,但是不知道如何集成到walk和gotk3,
func CreateBrowser(hwnd unsafe.Pointer, browserSettings *BrowserSettings, url string, offscreenRendering bool) (browser *Browser)
请问函数的第一个参数hwnd具体表示什么?是walk/gotk3的window对象吗?但是类型不一样啊

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.