set_web_extensions_directory


Description:

public void set_web_extensions_directory (string directory)

Set the directory where WebKit will look for Web Extensions.

This method must be called before loading anything in this context, otherwise it will not have any effect. You can connect to initialize_web_extensions to call this method before anything is loaded.

Parameters:

this

a WebContext

directory

the directory to add




2022 vala-language.org