diff options
author | Jeonghyun Yun <jh0506.yun@samsung.com> | 2017-07-03 04:33:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2017-07-03 04:33:31 +0000 |
commit | 8f79da30509f7561d685d55d4e81961faa79f959 (patch) | |
tree | 6dd899d17531d635d4a04270119dceabdb664417 /ElmSharp | |
parent | 2caea08724cf231488b0d5250be47be90a2056ac (diff) | |
parent | 0a63cb65ea6f17e2bc9379a34b168679dffc75a0 (diff) | |
download | elm-sharp-8f79da30509f7561d685d55d4e81961faa79f959.tar.gz elm-sharp-8f79da30509f7561d685d55d4e81961faa79f959.tar.bz2 elm-sharp-8f79da30509f7561d685d55d4e81961faa79f959.zip |
Merge "add api comments of Layout/Widget" into tizen
Diffstat (limited to 'ElmSharp')
-rwxr-xr-x[-rw-r--r--] | ElmSharp/ElmSharp/Layout.cs | 9 | ||||
-rwxr-xr-x[-rw-r--r--] | ElmSharp/ElmSharp/Widget.cs | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ElmSharp/ElmSharp/Layout.cs b/ElmSharp/ElmSharp/Layout.cs index 217a0a3..3de5e8e 100644..100755 --- a/ElmSharp/ElmSharp/Layout.cs +++ b/ElmSharp/ElmSharp/Layout.cs @@ -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) diff --git a/ElmSharp/ElmSharp/Widget.cs b/ElmSharp/ElmSharp/Widget.cs index d18e047..f1df744 100644..100755 --- a/ElmSharp/ElmSharp/Widget.cs +++ b/ElmSharp/ElmSharp/Widget.cs @@ -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; |