UserContentManager


Object Hierarchy:

WebKit.UserContentManager WebKit.UserContentManager WebKit.UserContentManager GLib.Object GLib.Object GLib.Object->WebKit.UserContentManager

Description:

[ CCode ( type_id = "webkit_user_content_manager_get_type ()" ) ]
[ Version ( since = "2.6" ) ]
public class UserContentManager : Object

Manages user-defined content which affects web pages.

Using a UserContentManager user CSS style sheets can be set to be injected in the web pages loaded by a WebView, by add_style_sheet.

To use a UserContentManager, it must be created using UserContentManager, and then used to construct a WebView. User style sheets can be created with UserStyleSheet.

User style sheets can be added and removed at any time, but they will affect the web pages loaded afterwards.


Namespace: WebKit
Package: webkit2gtk-4.0

Content:

Creation methods:

Methods:

Signals:

Inherited Members: