Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Tutorial that outlines most important CEF features. Create tutorial.py example. #256

Closed
cztomczak opened this issue Sep 24, 2016 · 2 comments

Comments

@cztomczak
Copy link
Owner

cztomczak commented Sep 24, 2016

Draft is here: https://github.com/cztomczak/pycef/blob/master/docs/Tutorial.md
Tutorial code will go to examples/tutorial.py

Important notes:

  • Add a note in tutorial that client handlers often change during updates to new CEF, thus to minimize required code changes one may use **kwargs in handler callbacks so that when a new param is added it won't break app. However a proper solution in the future will be to implement handlers as classes/interfaces that would allow for validation of func signatures in an automated way - Issue Expose handlers as classes/interfaces: ClientHandler, DisplayHandler, LifespanHandler, etc. #215.
@cztomczak cztomczak changed the title Create Tutorial that outlines most important CEF features Create Tutorial that outlines most important CEF features. Create tutorial.py example. Dec 17, 2016
cztomczak added a commit that referenced this issue Dec 18, 2016
Update qt.py example.
Update compile.py, check Cython version by importing module.
Fix tools/toc.py for Python 3.
@cztomczak cztomczak added this to the v55 milestone Feb 24, 2017
cztomczak added a commit that referenced this issue Apr 6, 2017
Detect invalid arguments passed to cef.Initialize
and cef.CreateBrowserSync.
cztomczak added a commit that referenced this issue Apr 7, 2017
Do not inherit client handlers nor javascript bindings
in DevTools windows (#344).
@cztomczak
Copy link
Owner Author

@cztomczak
Copy link
Owner Author

cztomczak commented Apr 25, 2017

New sections added to Tutorial:

  • Change user agent string
  • Off-screen rendering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant