# LinkButton (Python)

Marta Maria Casetti
mmcasetti@gmail.com 2012
A button bound to an URL

# LinkButton

A button that links to a web page.

# Código usado para xerar este exemplo

# 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

Neste exemplo empregaremos o seguinte:

GtkWindow

GtkLinkButton