[ElmSharp] Added Parent property to ItemObject and new event for automation test...
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / PopupItem.cs
index 8f347e5..7651466 100644 (file)
@@ -30,6 +30,12 @@ namespace ElmSharp
             Icon = icon;
         }
 
+        internal PopupItem(string text, EvasObject icon, EvasObject parent) : base(IntPtr.Zero, parent)
+        {
+            Text = text;
+            Icon = icon;
+        }
+
         /// <summary>
         /// Gets the text label of the popupitem. Return value is string.
         /// </summary>