ultralight-godot SHOWCASEshabbywu/ultralight-godot

API / CLASS REFERENCE

UltralightFrameEvent

Inherits: RefCounted

Read-only document and frame identity for lifecycle signals.

Immutable information for one lifecycle callback. navigation_id identifies the main document generation; frame_id identifies the SDK frame. A signal handler can navigate or close the View, so retain and compare the generation when scheduling later work.

Properties

Methods

navigation_idint

Main-document generation identifier. Read-only.

Default: — · Accessors: get_navigation_id() · Read-only

frame_idint

SDK frame identifier. Read-only.

Default: — · Accessors: get_frame_id() · Read-only

is_main_framebool

Whether this event belongs to the main document.

Default: — · Accessors: is_main_frame() · Read-only

urlString

URL supplied by the SDK for this frame event.

Default: — · Accessors: get_url() · Read-only

get_navigation_id

get_navigation_id() → int const

Return navigation_id.

get_frame_id

get_frame_id() → int const

Return frame_id.

is_main_frame

is_main_frame() → bool const

Return is_main_frame.

get_url

get_url() → String const

Return url.

View class documentation source ↗

Godot screenshot · Press Esc to close Open original image ↗