ContextMenu.cs declarations
Public API declaration excerpts from ../bitquirky-graph/Editor/GraphView/Controls/ContextMenu.cs.
Source snapshot 29003d8b1658.
On this page
Original file: ../bitquirky-graph/Editor/GraphView/Controls/ContextMenu.cs
Source file hash: sha256:a8c60e1c1be88955c522fca5e92b6974c89b18f1f09072b47be7781bd3368e2f
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: ContextMenu
Section titled “Type: ContextMenu”Original lines: 34-183
Declaration hash: sha256:7a609475d13c8c2683a7068e2829c628515815050d79bb6cd9ec833cd15e83b6
public sealed class ContextMenu{}Type: Entry
Section titled “Type: Entry”Original lines: 41-53
Declaration hash: sha256:7177c15e8963a9e18d05f46c915e70cda9b7eeb238a96c36699709cc588be507
public sealed class Entry{}Field: Label
Section titled “Field: Label”Original lines: 44
Declaration hash: sha256:a9b0689147d8692acd5899c3e1f72efb9f53c2ee7dd422cd22cd57378ed2b2fb
public string Label;Field: IsEnabled
Section titled “Field: IsEnabled”Original lines: 46
Declaration hash: sha256:4ee1e994bfa8dcaa73a7075adbe5948d1203040823c9efea37f797e1bada6cc7
public bool IsEnabled;Field: IsChecked
Section titled “Field: IsChecked”Original lines: 48
Declaration hash: sha256:745a4447eb9216a654bfdb7357e451c640bc24b867005d82740d4849a61e000a
public bool IsChecked;Field: OnSelected
Section titled “Field: OnSelected”Original lines: 50
Declaration hash: sha256:e25ac1d1e3ff8d351c82de640a640ff64600c2e680d94da3921c03bca120cf4b
public Action OnSelected;Field: IsSeparator
Section titled “Field: IsSeparator”Original lines: 52
Declaration hash: sha256:17c3c7a0f13abb0201ecda54a3b339ac1ee7617200ad488627791158bef28251
public bool IsSeparator;Method: AddItem(string label, Action onSelected, bool isEnabled, bool isChecked)
Section titled “Method: AddItem(string label, Action onSelected, bool isEnabled, bool isChecked)”Original lines: 70-80
Declaration hash: sha256:1771a7f317ff0d476bfe6c8f3bbc0e593b0a7d73f4feb68dd0bdff4e651feceb
public ContextMenu AddItem(string label, Action onSelected, bool isEnabled = true, bool isChecked = false);Method: AddDisabled(string label)
Section titled “Method: AddDisabled(string label)”Original lines: 87-96
Declaration hash: sha256:73117e992e185d9e2a1425023fa88b6d3ad35d12719d1a3ac2388d8ba2e6200c
public ContextMenu AddDisabled(string label);Method: AddDisabled(string label, string reason)
Section titled “Method: AddDisabled(string label, string reason)”Original lines: 104-107
Declaration hash: sha256:525b1fe75e10dbbf2a734d4269e7c6a49ab5e6cf6d3a93e5fb814c5f3bdf478f
public ContextMenu AddDisabled(string label, string reason);Method: DisabledLabel(string label, string reason)
Section titled “Method: DisabledLabel(string label, string reason)”Original lines: 113-120
Declaration hash: sha256:6b18a73ced555c8671523ecd5ed88b19ee02c523ddc4535f673e7b4274a8da76
public static string DisabledLabel(string label, string reason);Property: Entries
Section titled “Property: Entries”Original lines: 123
Declaration hash: sha256:295d0871dc492c3eabeb979c31bd03d85c794f790d00c9a03a357221ca9ce2d0
public IReadOnlyList<Entry> Entries { get; }Method: AddSeparator(string path)
Section titled “Method: AddSeparator(string path)”Original lines: 130-134
Declaration hash: sha256:c22e946462fccb199f7723934d9046d2c8b8fe95e51fc86fe5161eac7e394b00
public ContextMenu AddSeparator(string path = "");Method: Show()
Section titled “Method: Show()”Original lines: 141-145
Declaration hash: sha256:0a436dead4810ed504ed0fe887014c1fbee3468274fdc4719df7597530f14e51
public void Show();Method: Show(Rect screenRect)
Section titled “Method: Show(Rect screenRect)”Original lines: 148-152
Declaration hash: sha256:df3743f437517dba4a6773c39ef0cee76c7de767fc75731742116c69f52d0ca5
public void Show(Rect screenRect);