Skip to content

PredefinedMenuItem

Namespace NetWiv · Assembly NetWiv.Core

public sealed class PredefinedMenuItem : MenuItemBase
public static Task<PredefinedMenuItem> NewAsync(AppHandle app, PredefinedMenuItemOptions options, Channel<string> handler = null, CancellationToken cancellationToken = null);
public Task SetTextAsync(string text, CancellationToken cancellationToken = null);
public Task<string> TextAsync(CancellationToken cancellationToken = null);