Definition at line 28 of file RWebDisplayHandle.hxx.
|
static std::unique_ptr< Creator > & | FindCreator (const std::string &name, const std::string &libname="") |
| Search for specific browser creator If not found, try to add one. More...
|
|
static std::map< std::string, std::unique_ptr< Creator > > & | GetMap () |
| !< URL used to launch display More...
|
|
#include <ROOT/RWebDisplayHandle.hxx>
◆ RWebDisplayHandle()
ROOT::Experimental::RWebDisplayHandle::RWebDisplayHandle |
( |
const std::string & |
url | ) |
|
|
inline |
◆ ~RWebDisplayHandle()
virtual ROOT::Experimental::RWebDisplayHandle::~RWebDisplayHandle |
( |
| ) |
|
|
virtualdefault |
◆ Display()
Create web display.
- Parameters
-
args | - defines where and how to display web window Returns RWebDisplayHandle, which holds information of running browser application Can be used fully independent from RWebWindow classes just to show any web page |
Definition at line 500 of file RWebDisplayHandle.cxx.
◆ DisplayUrl()
bool ROOT::Experimental::RWebDisplayHandle::DisplayUrl |
( |
const std::string & |
url | ) |
|
|
static |
Display provided url in configured web browser.
- Parameters
-
url | - specified URL address like https://root.cern Browser can specified when starting root --web=firefox Returns true when browser started It is convenience method, equivalent to: RWebDisplayArgs args;
args.SetUrl(url);
args.SetStandalone(false);
static std::unique_ptr< RWebDisplayHandle > Display(const RWebDisplayArgs &args) Create web display.
|
Definition at line 564 of file RWebDisplayHandle.cxx.
◆ FindCreator()
Search for specific browser creator If not found, try to add one.
- Parameters
-
name | - creator name like ChromeCreator |
libname | - shared library name where creator could be provided |
Definition at line 60 of file RWebDisplayHandle.cxx.
◆ GetMap()
!< URL used to launch display
Static holder of registered creators of web displays.
Definition at line 48 of file RWebDisplayHandle.cxx.
◆ GetUrl()
std::string ROOT::Experimental::RWebDisplayHandle::GetUrl |
( |
| ) |
const |
|
inline |
◆ ProduceImage()
bool ROOT::Experimental::RWebDisplayHandle::ProduceImage |
( |
const std::string & |
fname, |
|
|
const std::string & |
json, |
|
|
int |
width = 800 , |
|
|
int |
height = 600 |
|
) |
| |
|
static |
Produce image file using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome.
Definition at line 580 of file RWebDisplayHandle.cxx.
◆ fUrl
std::string ROOT::Experimental::RWebDisplayHandle::fUrl |
|
protected |
[legend]
The documentation for this class was generated from the following files: