S or /

SourceClass ViewportIdPair

from egui import ViewportIdPair
class ViewportIdPair:

A pair of ViewportId, used to identify a viewport and its parent.

Properties§

@property def parent(self, /) -> ViewportId§
@property def this(self, /) -> ViewportId§

Methods§

Source@staticmethod def from_self_and_parent(this: ViewportId, parent: ViewportId) -> ViewportIdPair§
@staticmethod def root() -> ViewportIdPair§