+ // Get a handle to the stage
+ Stage stage = Stage::GetCurrent();
+ stage.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" );
+ stage.Add( textLabel );
+
+ // Respond to a click anywhere on the stage
+ stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTouch );
+
+ // Respond to key events
+ stage.KeyEventSignal().Connect( this, &HelloWorldController::OnKeyEvent );