# LinkButton (Python)

Marta Maria Casetti
mmcasetti@gmail.com 2012
Un bouton relié à un URL

# LinkButton

Un bouton qui crée un lien vers une page Web.

# 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 this page.

# API References

Dans cet exemple, les éléments suivants sont utilisés :

GtkWindow

GtkLinkButton