Menu
이 콘텐츠는 아직 번역되지 않았습니다.
Namespace NetWiv · Assembly NetWiv.Core
public sealed class Menu : MenuItemBaseMethods
Section titled “Methods”AppendAsync
Section titled “AppendAsync”public Task AppendAsync(MenuItemBase item, CancellationToken cancellationToken = null);public Task AppendAsync(IReadOnlyList<MenuItemBase> items, CancellationToken cancellationToken = null);DefaultAsync
Section titled “DefaultAsync”public static Task<Menu> DefaultAsync(AppHandle app, CancellationToken cancellationToken = null);GetAsync
Section titled “GetAsync”public Task<MenuItemBase> GetAsync(string id, CancellationToken cancellationToken = null);InsertAsync
Section titled “InsertAsync”public Task InsertAsync(IReadOnlyList<MenuItemBase> items, uint position, CancellationToken cancellationToken = null);ItemsAsync
Section titled “ItemsAsync”public Task<IReadOnlyList<MenuItemBase>> ItemsAsync(CancellationToken cancellationToken = null);NewAsync
Section titled “NewAsync”public static Task<Menu> NewAsync(AppHandle app, MenuOptions options = null, Channel<string> handler = null, CancellationToken cancellationToken = null);PopupAsync
Section titled “PopupAsync”public Task PopupAsync(IDpiPosition position = null, Window window = null, CancellationToken cancellationToken = null);PrependAsync
Section titled “PrependAsync”public Task PrependAsync(IReadOnlyList<MenuItemBase> items, CancellationToken cancellationToken = null);RemoveAsync
Section titled “RemoveAsync”public Task RemoveAsync(MenuItemBase item, CancellationToken cancellationToken = null);RemoveAtAsync
Section titled “RemoveAtAsync”public Task<MenuItemBase> RemoveAtAsync(uint position, CancellationToken cancellationToken = null);SetAsAppMenuAsync
Section titled “SetAsAppMenuAsync”public Task<Menu> SetAsAppMenuAsync(CancellationToken cancellationToken = null);SetAsWindowMenuAsync
Section titled “SetAsWindowMenuAsync”public Task<Menu> SetAsWindowMenuAsync(Window window = null, CancellationToken cancellationToken = null);