2
2
@c %start of fragment
4
@deftp Class <gnome-href>
5
This @code{<gobject>} class defines the following properties:
9
The URL that GnomeHRef activates
12
The text on the button
18
@deffn Function gnome-href-new (url@tie{}@code{mchars}) (text@tie{}@code{mchars}) @result{}@tie{} (ret@tie{}@code{<gtk-widget>})
19
Created a GNOME href object, a label widget with a clickable action and an
20
associated URL. If @var{text} is set to @samp{@code{#f}}, @var{url} is used as
21
the text for the label.
25
URL assigned to this object.
28
Text associated with the URL.
31
Pointer to new GNOME href widget.
37
@deffn Function gnome-href-set-url (self@tie{}@code{<gnome-href>}) (url@tie{}@code{mchars})
38
@deffnx Method set-url
39
Sets the internal URL value within @var{href} to the value of @var{url}.
43
Pointer to GnomeHRef widget
46
String containing the URL to be stored within @var{href}.
52
@deffn Function gnome-href-get-url (self@tie{}@code{<gnome-href>}) @result{}@tie{} (ret@tie{}@code{mchars})
53
@deffnx Method get-url
54
Returns the pointer to the URL associated with the @var{href} href object. Note
55
that the string should not be freed as it is internal memory.
59
Pointer to GnomeHRef widget
62
Pointer to an internal URL string, or @samp{@code{#f}} if failure.
68
@deffn Function gnome-href-set-text (self@tie{}@code{<gnome-href>}) (text@tie{}@code{mchars})
69
@deffnx Method set-text
70
Sets the internal label widget text (used to display a URL's link text) to the
71
value given in @var{label}.
75
Pointer to GnomeHRef widget
78
New link text for the href object.
84
@deffn Function gnome-href-get-text (self@tie{}@code{<gnome-href>}) @result{}@tie{} (ret@tie{}@code{mchars})
85
@deffnx Method get-text
86
Returns the contents of the label widget used to display the link text. Note
87
that the string should not be freed as it points to internal memory.
91
Pointer to GnomeHRef widget
94
Pointer to text contained in the label widget.
101
5
@c %end of fragment