Egui::Route
Inherits Struct < Value < Object
One address in the window/page#fragment scheme.
Constructors
new(window : String, page : String, fragment : String | Nil = nil)
SourceClass 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).
Instance methods
==(other : Route) : Bool
Sourcefragment
Sourcepage
Sourceto_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.
window
Source