Class: Gtk::LinkButton
- Inherits:
-
Object
- Object
- Gtk::LinkButton
- Defined in:
- (unknown)
Overview
The Gtk::LinkButtonClass contains only private data.
Instance Method Summary collapse
-
#new(uri) ⇒ Gtk::Widget
Creates a new Gtk::LinkButton with the URI as its text.
-
#new_with_label(uri, label) ⇒ Gtk::Widget
Creates a new Gtk::LinkButton containing a label.
-
#uri ⇒ String
The URI bound to this button.
-
#uri=(uri) ⇒ String
The URI bound to this button.
-
#visited ⇒ TrueClass
Retrieves the “visited” state of the URI where the Gtk::LinkButton points.
-
#visited=(visited) ⇒ TrueClass
The ‘visited’ state of this button.
-
#visited? ⇒ TrueClass
The ‘visited’ state of this button.
Instance Method Details
#new(uri) ⇒ Gtk::Widget
Creates a new Gtk::LinkButton with the URI as its text.
#new_with_label(uri, label) ⇒ Gtk::Widget
Creates a new Gtk::LinkButton containing a label.
#uri ⇒ String
The URI bound to this button.
#uri=(uri) ⇒ String
The URI bound to this button.
#visited ⇒ TrueClass
Retrieves the “visited” state of the URI where the Gtk::LinkButton points. The button becomes visited when it is clicked. If the URI is changed on the button, the “visited” state is unset again.
The state may also be changed using gtk_link_button_set_visited().
#visited=(visited) ⇒ TrueClass
The ‘visited’ state of this button. A visited link is drawn in a different color.
#visited? ⇒ TrueClass
The ‘visited’ state of this button. A visited link is drawn in a different color.