RAGE.Ui.HtmlWindow: Difference between revisions
No edit summary |
|||
| Line 17: | Line 17: | ||
public void activateBrowser(bool toggle) | public void activateBrowser(bool toggle) | ||
{ | { | ||
CEF.Active = | CEF.Active = toogle; // Activating of browser | ||
} | } | ||
Revision as of 12:04, 3 February 2019
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 = toogle; // Activating of browser
}
public void urlBrowser(string url)
{
CEF.Url = url; // Changing url of browser
}