/usr/share/gtk-doc/html/libsexy/SexyUrlLabel.html is in libsexy-doc 0.1.11-2.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>SexyUrlLabel</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="index.html" title="libsexy Reference Manual">
<link rel="up" href="ch01.html" title="libsexy">
<link rel="prev" href="SexySpellEntry.html" title="SexySpellEntry">
<link rel="next" href="SexyTreeView.html" title="SexyTreeView">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="libsexy">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="SexySpellEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libsexy Reference Manual</th>
<td><a accesskey="n" href="SexyTreeView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2555912" class="shortcut">Top</a>
 | 
<a href="#id2551328" class="shortcut">Description</a>
 | 
<a href="#id2551202" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id2551257" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id2551278" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="SexyUrlLabel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2555912"></a><span class="refentrytitle">SexyUrlLabel</span>
</h2>
<p>SexyUrlLabel — A GtkLabel with support for embedded hyperlinks.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="SexyUrlLabel.html#SexyUrlLabel-struct">SexyUrlLabel</a>;
GtkWidget* <a href="SexyUrlLabel.html#sexy-url-label-new">sexy_url_label_new</a> (void);
void <a href="SexyUrlLabel.html#sexy-url-label-set-markup">sexy_url_label_set_markup</a> (<a href="SexyUrlLabel.html" title="SexyUrlLabel">SexyUrlLabel</a> *url_label,
const gchar *markup);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2551202"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkMisc
+----GtkLabel
+----SexyUrlLabel
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2551257"></a><h2>Implemented Interfaces</h2>
<p>
SexyUrlLabel implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2551278"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="SexyUrlLabel.html#SexyUrlLabel-url-activated">url-activated</a>"
void user_function (<a href="SexyUrlLabel.html" title="SexyUrlLabel">SexyUrlLabel</a> *url_label,
gchar *url,
gpointer user_data) : Run last / Action
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2551328"></a><h2>Description</h2>
<p>
SexyUrlLabel is a GtkLabel with support for embedded hyperlinks. It uses a
modified form of the Pango markup format that supports the
<a href="...">...</a> tag. The hyperlink will appear in blue and
can be activated by clicking it. Right-clicking the hyperlink displays a menu
offering the ability to activate it or to copy the URL.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2548176"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2548187"></a><h3>
<a name="SexyUrlLabel-struct"></a>SexyUrlLabel</h3>
<a class="indexterm" name="id2548200"></a><pre class="programlisting">typedef struct _SexyUrlLabel SexyUrlLabel;</pre>
<p>
The <a href="SexyUrlLabel.html" title="SexyUrlLabel"><span class="type">SexyUrlLabel</span></a> struct contains private data only, and should be manipulated using the functions below.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2548224"></a><h3>
<a name="sexy-url-label-new"></a>sexy_url_label_new ()</h3>
<a class="indexterm" name="id2548236"></a><pre class="programlisting">GtkWidget* sexy_url_label_new (void);</pre>
<p>
Creates a new SexyUrlLabel widget.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a new <a href="SexyUrlLabel.html" title="SexyUrlLabel"><span class="type">SexyUrlLabel</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2548282"></a><h3>
<a name="sexy-url-label-set-markup"></a>sexy_url_label_set_markup ()</h3>
<a class="indexterm" name="id2548293"></a><pre class="programlisting">void sexy_url_label_set_markup (<a href="SexyUrlLabel.html" title="SexyUrlLabel">SexyUrlLabel</a> *url_label,
const gchar *markup);</pre>
<p>
Parses <em class="parameter"><code>markup</code></em> which is marked up with the Pango text markup language as well as
HTML-style hyperlinks, setting the label's text and attribute list based
on the parse results. If the <em class="parameter"><code>markup</code></em> is external data, you may need to
escape it with <code class="function">g_markup_escape_text()</code> or <code class="function">g_markup_printf_escaped()</code></p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>url_label</code></em> :</span></td>
<td> A <a href="SexyUrlLabel.html" title="SexyUrlLabel"><span class="type">SexyUrlLabel</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>markup</code></em> :</span></td>
<td> a markup string (see Pango markup format)
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2545154"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2545165"></a><h3>
<a name="SexyUrlLabel-url-activated"></a>The "url-activated" signal</h3>
<a class="indexterm" name="id2545172"></a><pre class="programlisting">void user_function (<a href="SexyUrlLabel.html" title="SexyUrlLabel">SexyUrlLabel</a> *url_label,
gchar *url,
gpointer user_data) : Run last / Action</pre>
<p>
The ::url-activated signal is emitted when a URL in the label was
clicked.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>url_label</code></em> :</span></td>
<td> The label on which the signal was emitted.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>url</code></em> :</span></td>
<td> The URL which was activated.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>
|