语言

Menu
Sites
Language
SceneManager to navigate between panels

Hi

I use SceneManger to navigate between Forms but I have no idea how to navigate between panels.

For example: I got one Form and want to change panels for that Form - of course with transient animations.

I got FormFactory and PanelFactory.  How can I attach some panel to Form then detach and attach another one

using :

pSceneManager->GoForward(ForwardSceneTransition(ID_SCNT_MAINSCENE));

?

Actually, I couldn't find a good example how scene manager works with panels.

 

Thanks for any hint.

 

Regards,

slaw

 

响应

3 回复
harish kumar kavali

Hi,
use this api for regesiter scene
& provide the scenid in go forward or go backward

Tizen::Ui::Scenes::SceneManager::RegisterScene ( const SceneId &  sceneId,
    const Tizen::Base::String &  formId,
    const Tizen::Base::String &  panelId 
 

)
 

harish kumar kavali

dont forget to provide the panel id in register scene api

Alex Dem

Hi,
Try to create new Tizen Native Project-> Template-> Tab-based Application->With SceneManager.
I think it is your case (every Tab class is inherited from Panel control).
Alexey.