Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotReady may occur when try to open a URL before the initialization is done. ErrNotReady = errors.New("some needed library was not loaded yet, make use that you are using ListenEvents()") // ErrInvalidURL occur when provide an invalid URL, like a non http/https URL. ErrInvalidURL = errors.New("given url is invalid") )
View Source
var ( // InsecureIgnoreScheme will remove any attempt to validate the URL // It's "false" by default. Set it to "true" if you are using a custom scheme (like "myapp://"). InsecureIgnoreScheme bool )
Functions ¶
func ListenEvents ¶
ListenEvents must get all the events from Gio, in order to get the GioView once it's ready. You need to include that function where you listen for Gio events.
Similar as:
select { case e := <-w.Events(): giohyperlink.ListenEvents(e) switch e := e.(type) { (( ... your code ... ))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.