Functions
fwWebBrowser.ctl File Reference

Functions

void fwWebBrowser_showStandaloneWindow (string sLink, dyn_string &exceptionInfo, string sLabel="", string sWindowName="", bool bNavigationButton=1, bool bUrlBarVisibility=1, bool bAdressEditable=1, bool bNewTabButton=1, string sDefaultPage="http://home.cern")
 
void fwWebBrowser_initFunction (shape sPanel, bool bNewTabButton, bool bNavigationButton, bool bAdressEditable, bool bUrlBarVisibility, string sDefaultPage)
 

Detailed Description

This library provides functions for opening the fwWebBrowser: a web browser based on the WinCCOA's (and Qt's) built-in webview widget. This browser has basic navigation functionality and features tabbed view.

Function Documentation

void fwWebBrowser_initFunction ( shape  sPanel,
bool  bNewTabButton,
bool  bNavigationButton,
bool  bAdressEditable,
bool  bUrlBarVisibility,
string  sDefaultPage 
)

Initializes the fwWebBrowser shape. Internal.

Referenced by fwWebBrowser_showStandaloneWindow().

void fwWebBrowser_showStandaloneWindow ( string  sLink,
dyn_string &  exceptionInfo,
string  sLabel = "",
string  sWindowName = "",
bool  bNavigationButton = 1,
bool  bUrlBarVisibility = 1,
bool  bAdressEditable = 1,
bool  bNewTabButton = 1,
string  sDefaultPage = "http://home.cern" 
)

Opens a new web browser as a child panel, with a specified URL

Parameters
sLinkspecifies the URL to open
sLabel(optional) allows to define the name of the tab in which the URL is open
sWindowName(optional) allows to define the window name (it will appear in the task bar)
bNavigationButton(optional) if true, navigation buttons will be shown
bUrlBarVisibility(optional) if true, URL bar will be displayed
bAddressEditable(optional) if true, the address in URL bar may be edited
bNewTabButton(optional) if true, a button to open a new tab will be shown
sDefaultPage(optional) declares the default (home) page

References fwException_raise(), fwExceptionHandling_display(), and fwWebBrowser_initFunction().