namespace LanMountainDesktop.AirAppSdk; /// /// Interface for AirApp desktop component widgets. /// public interface IAirAppWidget { /// /// Gets or sets the component context. /// Set by the host when the widget is created. /// IAirAppComponentContext Context { get; set; } /// /// Called when the widget is attached to the desktop. /// void OnAttached(); /// /// Called when the widget is detached from the desktop. /// void OnDetached(); /// /// Called when the appearance (theme) has changed. /// /// New appearance snapshot void OnAppearanceChanged(AirAppAppearanceSnapshot snapshot); }