S or /

SourceClass ViewportId

from egui import ViewportId
class ViewportId:

A unique identifier of a viewport.

This is returned by Context.viewport_id and Context.parent_viewport_id.

Methods§

Source@staticmethod def from_hash_of(text: str) -> ViewportId§
@staticmethod def from_id(id: Id) -> ViewportId§
def id(self, /) -> Id§
@staticmethod def root() -> ViewportId§