LinkButton (Python) Marta Maria Casetti mmcasetti@gmail.com 2012 A button bound to an URL LinkButton

A button that links to a web page.

Code used to generate this example
Useful methods for a LinkButton widget

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 .

API References

In this sample we used the following:

GtkWindow

GtkLinkButton