diff options
Diffstat (limited to 'ElmSharp/ElmSharp/Widget.cs')
-rwxr-xr-x[-rw-r--r--] | ElmSharp/ElmSharp/Widget.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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; |