The web page widget is a page created in widget under unreal engine
Class Default
To create a new page widget, you must create a child class from "Cy_Urium_WebPageWidget_Class".
In the category "Default" configure the Title that will be displayed and the icon that will be used
Create your widget (ideally without using a canvas for auto scaling)
In this example, we will create a page that allows you to search or go to a website directly in the active page or in a new tab.
When the page is created, the reference of the active page is added to the instance of the web page widget.
You have two references you can use;
Cy Urium Single : which is the main reference that will allow the manipulation to go forward
Cy_Urium Interface : is the reference of the interface to the plugins.
In this example we will use Cy Urium Single
For this example we will use two functions of Cy Urium Single ;
Extract URL : is the function that allows to open or launch a search in the active page
New Tab : is an event dispatcher that will allow us to open the link in a new tab, you can notice that the function allows to open the new tab in private mode
Once your page is created, you must add it in a data set to be accessible by Cy_Urium_WebBrowser
Cy Urium uses a web page widget data set with url address, to create your own data set you need to use the tools "Cy_Urium NewDataSet" which is located in the DATA directory.
You can also create your instance directly in runtime, then add the data set at the launch of the Cy_Urium_WebBrowser instance.
You must enter the name of your new data set then click on make to create the file.
Attention, if the data set already exists under the same name, it will be overwritten.
Once created, the file will be stored in the DATA folder, open your data set to edit it.
In the data set you find a Tmap ( Name/Class , Url/WidgetWebPageClass ) , add an entry , add an Url then select the class .
We will add an example;
Url : StartPage
Class : StartPage ( basic start page )
Let's add the page we created above.
Url : Test_WWpage
Class : Test_WidgetWebPage
Once the data set is created, you must select it in the launching options of Cy Chrome Web Browser
Your Web Page Widgets are accessible directly through the link associated in the search bar.