Documentation ¶
Overview ¶
Package web provides a web browser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PageType = types.AddType(&types.Type{Name: "cogentcore.org/cogent/web.Page", IDName: "page", Doc: "Page represents one web browser page.", Embeds: []types.Field{{Name: "Frame"}}, Fields: []types.Field{{Name: "History", Doc: "The history of URLs that have been visited. The oldest page is first."}, {Name: "Context", Doc: "Context is the page's [htmlview.Context]."}}, Instance: &Page{}})
PageType is the types.Type for Page
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct { core.Frame // The history of URLs that have been visited. The oldest page is first. History []string `set:"-"` // Context is the page's [htmlview.Context]. Context *htmlview.Context `set:"-"` }
Page represents one web browser page.
func NewPage ¶
NewPage adds a new Page with the given name to the given parent: Page represents one web browser page.
func (*Page) NodeType ¶
NodeType returns the *types.Type of Page
func (*Page) SetTooltip ¶
SetTooltip sets the [Page.Tooltip]
Click to show internal directories.
Click to hide internal directories.