1Gtk2::LinkButton(3) User Contributed Perl Documentation Gtk2::LinkButton(3)
2
3
4
6 Gtk2::LinkButton - wrapper for GtkLinkButton
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Button
16 +----Gtk2::LinkButton
17
19 Glib::Object::_Unregistered::AtkImplementorIface
20 Gtk2::Buildable
21 Gtk2::Activatable
22
24 widget = Gtk2::LinkButton->new ($url, $label=undef)
25 · $url (string)
26
27 · $label (string)
28
29 widget = Gtk2::LinkButton->new_with_label ($url, $label=undef)
30 · $url (string)
31
32 · $label (string)
33
34 string = $link_button->get_uri
35 Gtk2::LinkButton->set_uri_hook ($func, $data=undef)
36 · $func (scalar)
37
38 · $data (scalar)
39
40 Pass undef for func to unset the URI hook.
41
42 Note that the current implementation does not return the old hook
43 function. This means that there is no way to restore an old hook once
44 you overwrote it.
45
46 $link_button->set_uri ($uri)
47 · $uri (string)
48
49 boolean = $link_button->get_visited
50 Since: gtk+ 2.14
51
52 $link_button->set_visited ($visited)
53 · $visited (boolean)
54
55 Since: gtk+ 2.14
56
58 'uri' (string : default undef : readable / writable)
59 The URI bound to this button
60
61 'visited' (boolean : default false : readable / writable)
62 Whether this link has been visited.
63
65 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
66 Gtk2::Container, Gtk2::Bin, Gtk2::Button
67
69 Copyright (C) 2003-2011 by the gtk2-perl team.
70
71 This software is licensed under the LGPL. See Gtk2 for a full notice.
72
73
74
75perl v5.28.0 2018-07-18 Gtk2::LinkButton(3)