A button that links to a web page.
get_visited()
returns the 'visited' state (True
or False
) of the URI where the LinkButton points. The button becomes visited when it is clicked.
set_visited(True)
sets the 'visited' state of the URI where the LinkButton points as True
(analogously for False
).
Each time the button is clicked, the signal "activate-link"
is emitted. For an explanation of signals and callback functions, see .
In this sample we used the following:
GtkWindow
GtkLinkButton