PLUGIN SDK / Registration options / PanelOptions
PanelOptions
A dockable panel drawn with Ui.
Kindrecord
NamespaceKroys.Plugins
Members7
Source
Options.csDECLARATION
Declaration
Namespace Kroys.Plugins, assembly KroysPlugins.Sdk.dll.
Declaration
public sealed record PanelOptions(string Id, string Title)
REFERENCE
Members
Constructors
#public PanelOptions(string Id, string Title)A dockable panel drawn with
Ui.- Id
- Local id; the panel id is "<plugin id>.<Id>".
- Title
- Window title.
Properties
#public string Id { get; init; }Local id; the panel id is "<plugin id>.<Id>".
#public string Title { get; init; }Window title.
#public string? Icon { get; init; }Lucide icon name.
#public bool OpenByDefault { get; init; }Opens when it is registered (and after every reload).
#public PanelCategory Category { get; init; }Window menu group.
#public PanelSlot Slot { get; init; }Initial dock slot.
Signatures
public PanelOptions(string Id, string Title) public string Id { get; init; } public string Title { get; init; } public string? Icon { get; init; } public bool OpenByDefault { get; init; } public PanelCategory Category { get; init; } public PanelSlot Slot { get; init; }
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.