struct

Egui::Route

Inherits Struct < Value < Object

One address in the window/page#fragment scheme.

Constructors

new(window : String, page : String, fragment : String | Nil = nil)
Source
root

The default address every routed app starts at.

Source

Class methods

parse(address : String) : Route | Nil

Parse root/settings#widget → window/page/fragment. A single segment ("settings") means the root window. Nil for anything unparsable — including windows other than "root" (one window today; multi-window is a separate plan).

Source

Instance methods

==(other : Route) : Bool
Source
fragment
Source
hash(hasher)

See Object#hash(hasher)

Source
page
Source
page_id

The page identity without the fragment — the registry key.

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
window
Source