FocusBrowser: Difference between revisions
Jump to navigation
Jump to search
m (Jusonex moved page Cef/focusBrowser to FocusBrowser) |
m (Make browser unfocusing clear) |
||
Line 2: | Line 2: | ||
{{Client_function}} | {{Client_function}} | ||
{{New feature/item|3.0150|1.5|| | {{New feature/item|3.0150|1.5|| | ||
This function will attempt to focus the [[Element/Browser|browser]]. | This function will attempt to focus the [[Element/Browser|browser]] or unfocus all browsers. | ||
}} | }} | ||
Line 12: | Line 12: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''webBrowser:''' The web browser to be focused | *'''webBrowser:''' The web browser to be focused - if this is '''nil''', it will unfocus all browsers. | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if the browser was focused, ''false'' if it failed to focus or the browser does not exist. | Returns ''true'' if the browser was focused or if nil was passed, ''false'' if it failed to focus or the browser does not exist. | ||
==Example== | ==Example== |
Revision as of 15:14, 14 August 2015
This function will attempt to focus the browser or unfocus all browsers.
Syntax
bool focusBrowser ( browser webBrowser )
OOP Syntax Help! I don't understand this!
- Method: browser:focus(...)
- Counterpart: focusBrowser
Required Arguments
- webBrowser: The web browser to be focused - if this is nil, it will unfocus all browsers.
Returns
Returns true if the browser was focused or if nil was passed, false if it failed to focus or the browser does not exist.
Example
--todo
See Also
- canBrowserNavigateBack
- canBrowserNavigateForward
- createBrowser
- executeBrowserJavascript
- focusBrowser
- getBrowserProperty
- getBrowserSettings
- getBrowserSource
- getBrowserTitle
- getBrowserURL
- injectBrowserMouseDown
- injectBrowserMouseMove
- injectBrowserMouseUp
- injectBrowserMouseWheel
- isBrowserDomainBlocked
- isBrowserFocused
- isBrowserLoading
- isBrowserRenderingPaused
- loadBrowserURL
- navigateBrowserBack
- navigateBrowserForward
- reloadBrowserPage
- requestBrowserDomains
- resizeBrowser
- setBrowserAjaxHandler
- setBrowserProperty
- setBrowserRenderingPaused
- setBrowserVolume
- toggleBrowserDevTools