SWebBrowser¶
Property | Type | Note |
---|---|---|
Aka | String | Name for the widget |
BackgroundColor | ||
BrowserFrameRate | ||
ColorAndOpacity | Number Array, Length = 4 | Linear color values, for example:[0.5, 0.5, 0.5, 1] |
ForegroundColor | Number Array, Length = 4 | Linear color values, for example:[0.5, 0.5, 0.5, 1] |
InitialURL | ||
ShowAddressBar | ||
ShowControls | ||
ShowErrorMessage | ||
ShowInitialThrobber | ||
SupportsThumbMouseButtonNavigation | ||
SupportsTransparency | ||
ToolTipText | String | |
URL | ||
Visibility | Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All |
functions what can be called from ChameleonData¶
FunctionName | Description | |
---|---|---|
set_color_and_opacity | Set widget's color and opacity. | |
load_url | Load the specified URL in SWebBrowser widget. | |
get_url | Gets the currently loaded URL. | |
load_page_from_string | Load a string as data to create a web page in SWebBrowser widget. | |
reload_page | Reload the current page in SWebBrowser. | |
stop_load_page | Stop loading the page in SWebBrowser. | |
get_title_text_of_page | Get the current title of the web page. | |
is_page_loaded | Whether the document finished loading. | |
is_page_loading | Whether the document is currently being loaded. | |
can_go_back | Returns true if the browser can navigate backwards. | |
go_back | Navigate backwards. | |
can_go_forward | Returns true if the browser can navigate forwards. | |
go_forward | Navigate forwards.. | |
bind_uobject_to_browser | Expose a UObject instance to the browser runtime. Properties and Functions will be accessible from JavaScript side. | |
unbind_uobject_to_browser | Remove an existing script binding registered by BindUObject. Properties and Functions will be accessible from JavaScript side. |