RAGE.Ui.HtmlWindow

From RAGE Multiplayer Wiki
Revision as of 03:46, 5 February 2019 by Kar (talk | contribs)

Creates a new browser.

Syntax

class RAGE.Ui.HtmlWindow;

Example

C# Syntax

Example

RAGE.Ui.HtmlWindow CEF;

public void createBrowser(bool toggle, string way)
{
    CEF = new RAGE.Ui.HtmlWindow(way); // Creating of browser ( way = package://cs_packages/test.html )
}

public void activateBrowser(bool toggle)
{
    CEF.Active = toggle; // Activating of browser
}

public void urlBrowser(string url)
{
    CEF.Url = url; // Changing url of browser
}