Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotReady may ocurr when try to open an URL too earlier ErrNotReady = errors.New("some needed library was not loaded yet, make use that you are using ListenEvents()") // ErrInvalidURL occur when provide an invalid URL (only HTTPS/HTTP is accepted) ErrInvalidURL = errors.New("given url is invalid") )
View Source
var ( // InsecureIgnoreScheme will remove any attempt to validate the URL // However, even when "false" (which means that the verification is enabled) it's NOT RECOMMENDED to open an // user-supplied URL. 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.