1
2@c %start of fragment
3
4@deftp Class <gtk-link-button>
5Derives from @code{<gtk-button>}.
6
7This class defines the following slots:
8
9@table @code
10@item uri
11The URI bound to this button
12
13@end table
14
15@end deftp
16
17@deffn Function gtk-link-button-new  (uri@tie{}@code{mchars}) @result{}@tie{} (ret@tie{}@code{<gtk-widget>})
18Creates a new @code{<gtk-link-button>} with the URI as its text.
19
20@table @var
21@item uri
22a valid URI
23
24@item ret
25a new link button widget.
26
27@end table
28
29Since 2.10
30
31@end deffn
32
33@deffn Function gtk-link-button-new-with-label  (uri@tie{}@code{mchars}) (label@tie{}@code{mchars}) @result{}@tie{} (ret@tie{}@code{<gtk-widget>})
34Creates a new @code{<gtk-link-button>} containing a label.
35
36@table @var
37@item uri
38a valid URI
39
40@item label
41the text of the button
42
43@item ret
44a new link button widget.
45
46@end table
47
48Since 2.10
49
50@end deffn
51
52@deffn Function gtk-link-button-get-uri  (self@tie{}@code{<gtk-link-button>}) @result{}@tie{} (ret@tie{}@code{mchars})
53@deffnx Method get-uri
54Retrieves the URI set using @code{gtk-link-button-set-uri}.
55
56@table @var
57@item link-button
58a @code{<gtk-link-button>}
59
60@item ret
61a valid URI. The returned string is owned by the link button and should not be
62modified or freed.
63
64@end table
65
66Since 2.10
67
68@end deffn
69
70@deffn Function gtk-link-button-set-uri  (self@tie{}@code{<gtk-link-button>}) (uri@tie{}@code{mchars})
71@deffnx Method set-uri
72Sets @var{uri} as the URI where the @code{<gtk-link-button>} points.
73
74@table @var
75@item link-button
76a @code{<gtk-link-button>}
77
78@item uri
79a valid URI
80
81@end table
82
83Since 2.10
84
85@end deffn
86
87
88@c %end of fragment
89