ContextMenu.cs declarations
Public API declaration excerpts from ../bitquirky-graph/Editor/GraphView/Controls/ContextMenu.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-graph/Editor/GraphView/Controls/ContextMenu.cs
Source file hash: sha256:4ba511176eda3a7e24e3694e56dfc26b57e80430e7eef2413d7feb559ecd145e
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: ContextMenu
Section titled “Type: ContextMenu”Original lines: 49-171
Declaration hash: sha256:7a609475d13c8c2683a7068e2829c628515815050d79bb6cd9ec833cd15e83b6
public sealed class ContextMenu{}Type: Entry
Section titled “Type: Entry”Original lines: 56-68
Declaration hash: sha256:7177c15e8963a9e18d05f46c915e70cda9b7eeb238a96c36699709cc588be507
public sealed class Entry{}Field: Label
Section titled “Field: Label”Original lines: 59
Declaration hash: sha256:a9b0689147d8692acd5899c3e1f72efb9f53c2ee7dd422cd22cd57378ed2b2fb
public string Label;Field: IsEnabled
Section titled “Field: IsEnabled”Original lines: 61
Declaration hash: sha256:4ee1e994bfa8dcaa73a7075adbe5948d1203040823c9efea37f797e1bada6cc7
public bool IsEnabled;Field: IsChecked
Section titled “Field: IsChecked”Original lines: 63
Declaration hash: sha256:745a4447eb9216a654bfdb7357e451c640bc24b867005d82740d4849a61e000a
public bool IsChecked;Field: OnSelected
Section titled “Field: OnSelected”Original lines: 65
Declaration hash: sha256:e25ac1d1e3ff8d351c82de640a640ff64600c2e680d94da3921c03bca120cf4b
public Action OnSelected;Field: IsSeparator
Section titled “Field: IsSeparator”Original lines: 67
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: 85-95
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: 102-111
Declaration hash: sha256:73117e992e185d9e2a1425023fa88b6d3ad35d12719d1a3ac2388d8ba2e6200c
public ContextMenu AddDisabled(string label);Method: AddSeparator(string path)
Section titled “Method: AddSeparator(string path)”Original lines: 118-122
Declaration hash: sha256:c22e946462fccb199f7723934d9046d2c8b8fe95e51fc86fe5161eac7e394b00
public ContextMenu AddSeparator(string path = "");Method: Show()
Section titled “Method: Show()”Original lines: 129-133
Declaration hash: sha256:0a436dead4810ed504ed0fe887014c1fbee3468274fdc4719df7597530f14e51
public void Show();Method: Show(Rect screenRect)
Section titled “Method: Show(Rect screenRect)”Original lines: 136-140
Declaration hash: sha256:df3743f437517dba4a6773c39ef0cee76c7de767fc75731742116c69f52d0ca5
public void Show(Rect screenRect);