Tizen native app: Getting Panel from SplitPanel

i'm trying to get a particular panel from a panel done with the UI designer, this panel is a Panel control my code is something like

firstly i've tried with

Code:

Panel* pPanel=static_cast< Panel* >(pSplitPanel->getPane(Tizen::Ui::Controls::SplitPanelPaneOrder::SPLIT_PANEL_PANE_ORDER_SECOND))

Code:

Tizen::Ui::Control* pControl=pSplitPanel->getPane(Tizen::Ui::Controls::SplitPanelPaneOrder::SPLIT_PANEL_PANE_ORDER_SECOND)

getPane function returns a Control* pointer but as i'm trying to get it into a pControl or a pPanel variable it gives me an error and i cant get it any idea?

Upvotes: 0

Views: 38

Answers (0)

Related Questions