add api comments of Layout/Widget
authorhongqingli <hongqing.li@samsung.com>
Fri, 30 Jun 2017 02:44:09 +0000 (10:44 +0800)
committerhongqingli <hongqing.li@samsung.com>
Fri, 30 Jun 2017 02:44:09 +0000 (10:44 +0800)
Change-Id: Ia4f9a205b73a21a9a2abd65b5c646a132497b018
Signed-off-by: hongqingli <hongqing.li@samsung.com>
src/ElmSharp/ElmSharp/Layout.cs [changed mode: 0644->0755]
src/ElmSharp/ElmSharp/Widget.cs [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 217a0a3..3de5e8e
@@ -251,7 +251,7 @@ namespace ElmSharp
         /// <summary>
         /// Sets the layout content.
         /// </summary>
-        /// <param name="swallow">The swallow part name in the edje file</param>
+        /// <param name="part">The swallow part name in the edje file</param>
         /// <param name="content">The child that will be added in this layout object.</param>
         /// <returns>TRUE on success, FALSE otherwise</returns>
         public override bool SetPartContent(string part, EvasObject content)
@@ -259,6 +259,13 @@ namespace ElmSharp
             return SetPartContent(part, content, false);
         }
 
+        /// <summary>
+        /// Sets the layout content.
+        /// </summary>
+        /// <param name="part">The name of particular part</param>
+        /// <param name="content">The content</param>
+        /// <param name="preserveOldContent">true, preserve old content will be unset. false, preserve old content will not be unset.</param>
+        /// <returns>TRUE on success, FALSE otherwise</returns>
         public override bool SetPartContent(string part, EvasObject content, bool preserveOldContent)
         {
             if (preserveOldContent)
old mode 100644 (file)
new mode 100755 (executable)
index d18e047..f1df744
@@ -87,6 +87,11 @@ namespace ElmSharp
             _unfocused.On += (s, e) => Unfocused?.Invoke(this, EventArgs.Empty);
         }
 
+        /// <summary>
+        /// Update the part contents
+        /// </summary>
+        /// <param name="content">The content which put to the part</param>
+        /// <param name="part">The updated part</param>
         protected void UpdatePartContents(EvasObject content, string part = "__default__")
         {
             _partContents[part] = content;