Gnome2::HRef3pm
Wrapper for gnomehref
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Bin+----Gtk2::Button+----Gnome2::HRef
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::Activatable
Methods
widget = Gnome2::HRef->new ($url, $text)
•
|
|
|---|---|
•
|
|
string = $href->get_label
$href->set_label ($label)
- •
-
$label(string)
string = $href->get_text
$href->set_text ($text)
- •
-
$text(string)
string = $href->get_url
$href->set_url ($url)
- •
-
$url(string)
Properties
'text' (string : default "End World Hunger" : readable / writable)
|
The text on the button |
|---|---|
'url' (string : default "http://www.wfp.org" : readable / writable)
|
The URL that GnomeHRef activates |
Style properties
- 'link-color' (Gtk2::Gdk::Color : default undef : readable)
-
Color used to draw the link
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.