Skip to content

Commit

Permalink
[NUI] Add widget list for keeping widget instance
Browse files Browse the repository at this point in the history
same to this patch
#5583
  • Loading branch information
tscholb authored and hinohie committed Oct 18, 2023
1 parent 9ee63ac commit 2d39bb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tizen.NUI/src/public/Widget/Widget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ internal Widget(WidgetImpl widgetImpl, bool swigCMemOwn) : this(Interop.Widget.N
widgetImpl.WidgetInstanceResumed += OnWidgetInstanceResumed;
widgetImpl.WidgetInstanceResized += OnWidgetInstanceResized;
widgetImpl.WidgetInstanceUpdated += OnWidgetInstanceUpdated;

(WidgetApplication.Instance as WidgetApplication)?.AddWidgetInstance(this);
}

internal Widget(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
Expand Down

0 comments on commit 2d39bb2

Please sign in to comment.