Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
84 lines (56 loc) · 2 KB

File metadata and controls

84 lines (56 loc) · 2 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

API categories | API index

DisplayHandler (interface)

Implement this interface to handle events related to browser display state. The methods of this class will be called on the UI thread.

For an example of how to implement handler see cefpython.CreateBrowser(). For a list of all handler interfaces see API > Client handlers.

Table of contents:

Callbacks

OnAddressChange

Parameter Type
browser Browser
frame Frame
url string
Return void

Called when a frame's address has changed.

OnTitleChange

Parameter Type
browser Browser
title string
Return void

Called when the page title changes.

OnTooltip

Parameter Type
browser Browser
text_out list
Return bool

Called when the browser is about to display a tooltip. text_out[0] contains the text that will be displayed in the tooltip. To handle the display of the tooltip yourself return true. Otherwise, you can optionally modify text_out[0] and then return false to allow the browser to display the tooltip. When window rendering is disabled the application is responsible for drawing tooltips and the return value is ignored.

OnStatusMessage

Parameter Type
browser Browser
value string
Return void

Called when the browser receives a status message.

OnConsoleMessage

Parameter Type
browser Browser
message string
source string
line int
Return bool

Called to display a console message. Return true to stop the message from being output to the console.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.