Popover.cs declarations
Public API declaration excerpts from ../bitquirky-graph/Editor/GraphView/Controls/Popover.cs.
Source snapshot 29003d8b1658.
On this page
Original file: ../bitquirky-graph/Editor/GraphView/Controls/Popover.cs
Source file hash: sha256:95d74d58f9ea97877145bc5236fbc34f11d14e7270e7e7fe91866d5e316e634e
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: Popover
Section titled “Type: Popover”Original lines: 40-754
Declaration hash: sha256:ce78944232d070fe8fe84507ac86ad268a61ff0dcba7edd941ce6660b95a6433
public sealed class Popover : VisualElement{}Event: OnClosed
Section titled “Event: OnClosed”Original lines: 65
Declaration hash: sha256:cc929687e0336cc8a8c6e617cee9a55b1028dbc5e3621bd0275953215438c8b3
public event Action OnClosed;Property: Content
Section titled “Property: Content”Original lines: 72
Declaration hash: sha256:5706cac7a79163e2069cadf557816816aa97dd045a03f5480ac9d91e216ac03b
public VisualElement Content { get; }Property: DismissPassThrough
Section titled “Property: DismissPassThrough”Original lines: 79
Declaration hash: sha256:4b25096642371197ffdfbd7a56f11c72cae9c7dc76659096bb4b6ade218136a0
public Func<VisualElement, bool> DismissPassThrough { get; set; }Method: Popover()
Section titled “Method: Popover()”Original lines: 90-110
Declaration hash: sha256:a2a42e64fb77be3072d072854f345a5f47aa3ae2832a6050cbaf665380ee6106
public Popover();Method: OpenAnchored(VisualElement panelRoot, VisualElement anchor, Vector2 offset)
Section titled “Method: OpenAnchored(VisualElement panelRoot, VisualElement anchor, Vector2 offset)”Original lines: 122-132
Declaration hash: sha256:6325d621802f27abcd3aae053cac45834867cef6c0c2b01723a942ab742b92e6
public void OpenAnchored(VisualElement panelRoot, VisualElement anchor, Vector2 offset = default);Method: OpenAnchoredAbove(VisualElement panelRoot, VisualElement anchor, float gap)
Section titled “Method: OpenAnchoredAbove(VisualElement panelRoot, VisualElement anchor, float gap)”Original lines: 141-152
Declaration hash: sha256:da4ed82e2d668ecd9cb7c5b88018a5b448d43b67a2e5a20d7f3d3037e87606e7
public void OpenAnchoredAbove(VisualElement panelRoot, VisualElement anchor, float gap);Method: OpenAnchoredConstrained(VisualElement panelRoot, VisualElement anchor, PopoverPlacementOptions options, VisualElement keepLeftOf)
Section titled “Method: OpenAnchoredConstrained(VisualElement panelRoot, VisualElement anchor, PopoverPlacementOptions options, VisualElement keepLeftOf)”Original lines: 160-186
Declaration hash: sha256:fe98090020d150bf8eed2ed140ee65be533a59b56cf7adc5db7b42cdf52692c2
public void OpenAnchoredConstrained(VisualElement panelRoot, VisualElement anchor, PopoverPlacementOptions options, VisualElement keepLeftOf = null);Method: OpenAtConstrained(VisualElement panelRoot, Vector2 localPosition, PopoverPlacementOptions options)
Section titled “Method: OpenAtConstrained(VisualElement panelRoot, Vector2 localPosition, PopoverPlacementOptions options)”Original lines: 199-213
Declaration hash: sha256:198b1d88eb956e398d72a546f3910f598bc605c3320798fcadb10965b0debcf8
public void OpenAtConstrained(VisualElement panelRoot, Vector2 localPosition, PopoverPlacementOptions options);Method: StopConstrainedPlacement()
Section titled “Method: StopConstrainedPlacement()”Original lines: 224
Declaration hash: sha256:9437dde90834118efb5e297cdddafd885d294cc32cf16d636ccdea30dca85038
public void StopConstrainedPlacement();Method: ResolvePlacement(Rect viewport, Rect anchor, Vector2 popoverSize, PopoverPlacementOptions options)
Section titled “Method: ResolvePlacement(Rect viewport, Rect anchor, Vector2 popoverSize, PopoverPlacementOptions options)”Original lines: 229-236
Declaration hash: sha256:6d306d888762764ba1fecb831ba75259628f613d4ccaa115ecc09117a8da1043
public static PopoverPlacementResult ResolvePlacement(Rect viewport, Rect anchor, Vector2 popoverSize, PopoverPlacementOptions options);Method: ResolvePlacement(Rect viewport, Rect anchor, Vector2 popoverSize, PopoverPlacementOptions options, Rect? keepLeftOf)
Section titled “Method: ResolvePlacement(Rect viewport, Rect anchor, Vector2 popoverSize, PopoverPlacementOptions options, Rect? keepLeftOf)”Original lines: 242-339
Declaration hash: sha256:f6fdbf13e7ee5aead1fd03645a14742e52a25a69ea8d36257afdfb3f4f526edb
public static PopoverPlacementResult ResolvePlacement(Rect viewport, Rect anchor, Vector2 popoverSize, PopoverPlacementOptions options, Rect? keepLeftOf);Method: OpenAt(VisualElement panelRoot, Vector2 localPosition)
Section titled “Method: OpenAt(VisualElement panelRoot, Vector2 localPosition)”Original lines: 345-380
Declaration hash: sha256:caf22de4377bf4e479e706665dee8cb51e506bd4db38b62b0c4656c555435ad3
public void OpenAt(VisualElement panelRoot, Vector2 localPosition);Method: Close()
Section titled “Method: Close()”Original lines: 383-409
Declaration hash: sha256:63b59b460375e03cc631349e92f9bf9f92f58b24aca8068e0d758f22df90d0cc
public void Close();