Languages

Menu
Sites
Language
opening new window in webviewer

Hello,

I am using Webviewer template to open my website. The problem i am facing is opening new tabs.

Is there any way to open the page in the same webviewer inside the OnWebWindowCreateRequested event ?

like doing __pWeb->LoadUrl(__pWeb->url); inside this event.

Responses

6 Replies
Alex Dem

Hi,
I think there is no ready api which will create one more instance of Tizen::Web::Controls::Web and load appropriate URL there.
Alexey.

Mannu Malhotra

Hi, thanks for replying.

What i want to do is to load that external tab url into the same Web control. So is there any propperty of the web control i am using, which will give me the current url of the web.

like doing __pWeb->LoadUrl(__pWeb->url);

Alex Ashirov

Hi,

If I understand you correctly you need to use Tizen::Web::Controls::Web::GetUrl().

Mannu Malhotra

And that will give me the current URL not the one on which i want to navigate.

Mannu Malhotra

So is there any way to get the external URL on which user want to navigate?

GetUrl() will give the current url not the one on which user want to go.

Alex Ashirov

Hello,

Please see my last comment there:

https://developer.tizen.org/forums/native-application-development/webviewer-doesnt-include-new-window-creation