- // Get a handle to the stage
- Stage stage = Stage::GetCurrent();
- stage.SetBackgroundColor( Color::WHITE );
+ // Get a handle to the window
+ Window window = application.GetWindow();
+ window.SetBackgroundColor(Color::WHITE);
+
+ TextLabel textLabel = TextLabel::New("Hello World");
+ textLabel.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT);
+ textLabel.SetProperty(Dali::Actor::Property::NAME, "helloWorldLabel");
+ window.Add(textLabel);