Remove ImageActor from Builder & some doxygen update
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / handle-body-idiom.h
index 6bd8a9b..05be5f1 100644 (file)
@@ -51,9 +51,8 @@ A common example is when an actor is added to a container with Dali::Actor::Add(
 // At this point we own a Dali::Actor named "container"
 // Enter a code block
 {
-  // Create an image actor
-  Image img = Image::New(SomeImageFile);
-  Actor actor = ImageActor::New(img);
+  // Create an image view
+  Actor actor = Toolkit::ImageView::New(SomeImageFile);
 
   // Add the image actor to a container
   container.Add(actor);