1Gnome2::HRef(3) User Contributed Perl Documentation Gnome2::HRef(3)
2
3
4
6 Gnome2::HRef - wrapper for GnomeHRef
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Button
16 +----Gnome2::HRef
17
19 Glib::Object::_Unregistered::AtkImplementorIface
20 Gtk2::Buildable
21 Gtk2::Activatable
22
24 widget = Gnome2::HRef->new ($url, $text)
25 · $url (string)
26
27 · $text (string)
28
29 string = $href->get_label
30 $href->set_label ($label)
31 · $label (string)
32
33 string = $href->get_text
34 $href->set_text ($text)
35 · $text (string)
36
37 string = $href->get_url
38 $href->set_url ($url)
39 · $url (string)
40
42 'text' (string : default "End World Hunger" : readable / writable)
43 The text on the button
44
45 'url' (string : default "http://www.wfp.org" : readable / writable)
46 The URL that GnomeHRef activates
47
49 'link-color' (Gtk2::Gdk::Color : default undef : readable)
50 Color used to draw the link
51
53 Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
54 Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button
55
57 Copyright (C) 2003-2004 by the gtk2-perl team.
58
59 This software is licensed under the LGPL. See Gnome2 for a full
60 notice.
61
62
63
64perl v5.32.0 2021-01-06 Gnome2::HRef(3)