언어 설정

Menu
Sites
Language
Event like methods OnSomething() in Tizen classes.

Hi,

When subclassing Tizen native classes based on controls, in example Panel. When I reimplement method OnInitializing() do I must to call the base implementation from Panel ?

MyClass::MyClass() : public Tizen::Ui::Controls::Panel

{

}

MyClass::OnInitializing()

{

Panel::OnInitializing(); // this is needed ?

}

Is there any pattern: always call base implementation of all virtual methods beginning with On*, or there is no need to call them ?

Of course this is question only for the base Tizen base classes.

 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 댓글
Alex Dem
Hi, If you have created class inherited from Form/Panel - you don't need to implement Panel::OnInitializing() method. You could configure your panel as you want in MyClass::OnInitializing(). Alexey.