Gtk2::LinkButton3pm
Wrapper for gtklinkbutton
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Bin+----Gtk2::Button+----Gtk2::LinkButton
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::Activatable
Methods
widget = Gtk2::LinkButton->new ($url, $label=undef)
•
|
|
|---|---|
•
|
|
widget = Gtk2::LinkButton->new_with_label ($url, $label=undef)
•
|
|
|---|---|
•
|
|
string = $link_button->get_uri
Gtk2::LinkButton->set_uri_hook ($func, $data=undef)
•
|
|
|---|---|
•
|
|
Pass undef for func to unset the URI hook.
Note that the current implementation does not return the old hook function. This means that there is no way to restore an old hook once you overwrote it.
$link_button->set_uri ($uri)
- •
-
$uri(string)
boolean = $link_button->get_visited
Since: gtk+ 2.14
$link_button->set_visited ($visited)
- •
-
$visited(boolean)
Since: gtk+ 2.14
Properties
'uri' (string : default undef : readable / writable)
|
The URI bound to this button |
|---|---|
'visited' (boolean : default false : readable / writable)
|
Whether this link has been visited. |
Releases
5 releases since Debian 5.0 (Lenny); the text changed 4 times.