📄 atkhyperlink.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"><title>AtkHyperlink</title><meta name="generator" content="DocBook XSL Stylesheets V1.48"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css"> .synopsis, .classsynopsis { background: #eeeeee; border: solid 1px #aaaaaa; padding: 0.5em; } .programlisting { background: #eeeeff; border: solid 1px #aaaaff; padding: 0.5em; } .variablelist { padding: 4px; margin-left: 3em; } .navigation { background: #ffeeee; border: solid 1px #ffaaaa; margin-top: 0.5em; margin-bottom: 0.5em; } .navigation a { color: #770000; } .navigation a:visited { color: #550000; } .navigation .title { font-size: 200%; } </style><link rel="home" href="index.html" title="ATK Library Reference Manual"><link rel="up" href="atk.html" title="ATK Library"><link rel="previous" href="AtkGObjectAccessible.html" title="AtkGObjectAccessible"><link rel="next" href="AtkHypertext.html" title="AtkHypertext"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="AtkGObjectAccessible.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="atk.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">ATK Library Reference Manual</th><td><a accesskey="n" href="AtkHypertext.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="AtkHyperlink"></a><div class="titlepage"></div><div class="refnamediv"><h2>AtkHyperlink</h2><p>AtkHyperlink — An ATK object which encapsulates a link or set of links in a hypertext document.</p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id268811"></a>Synopsis</h1></h2><pre class="synopsis">struct <a href="AtkHyperlink.html#AtkHyperlink-struct">AtkHyperlink</a>;enum <a href="AtkHyperlink.html#AtkHyperlinkStateFlags">AtkHyperlinkStateFlags</a>;gchar* <a href="AtkHyperlink.html#atk-hyperlink-get-uri">atk_hyperlink_get_uri</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_, gint i);<a href="AtkObject.html" title="AtkObject">AtkObject</a>* <a href="AtkHyperlink.html#atk-hyperlink-get-object">atk_hyperlink_get_object</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_, gint i);gint <a href="AtkHyperlink.html#atk-hyperlink-get-end-index">atk_hyperlink_get_end_index</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_);gint <a href="AtkHyperlink.html#atk-hyperlink-get-start-index">atk_hyperlink_get_start_index</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_);gboolean <a href="AtkHyperlink.html#atk-hyperlink-is-valid">atk_hyperlink_is_valid</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_);gboolean <a href="AtkHyperlink.html#atk-hyperlink-is-inline">atk_hyperlink_is_inline</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_);gint <a href="AtkHyperlink.html#atk-hyperlink-get-n-anchors">atk_hyperlink_get_n_anchors</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_);gboolean <a href="AtkHyperlink.html#atk-hyperlink-is-selected-link">atk_hyperlink_is_selected_link</a> (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_);</pre></div><div class="refsect1"><h2>Object Hierarchy</h2><pre class="synopsis"> GObject +----AtkHyperlink</pre></div><div class="refsect1"><h2>Implemented Interfaces</h2><p>AtkHyperlink implements <a href="AtkAction.html" title="AtkAction">AtkAction</a>.</p></div><div class="refsect1"><h2>Properties</h2><pre class="synopsis"> "<a href="AtkHyperlink.html#AtkHyperlink--selected-link">selected-link</a>" gboolean : Read</pre></div><div class="refsect1"><h2>Description</h2><p>An ATK object which encapsulates a link or set of links in a hypertext document.It implements the AtkAction interface.</p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="AtkHyperlink-struct"></a>struct AtkHyperlink</h3><a class="indexterm" name="id269698"></a><pre class="programlisting">struct AtkHyperlink;</pre><p>The AtkHyperlink structure should not be accessed directly.</p></div><hr><div class="refsect2"><h3><a name="AtkHyperlinkStateFlags"></a>enum AtkHyperlinkStateFlags</h3><a class="indexterm" name="id269724"></a><pre class="programlisting">typedef enum { ATK_HYPERLINK_IS_INLINE = 1 << 0} AtkHyperlinkStateFlags;</pre><p>Describes the type of link</p><p></p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><tt>ATK_HYPERLINK_IS_INLINE</tt></span></td><td> Link is inline</td></tr></tbody></table></div></div><hr><div class="refsect2"><h3><a name="atk-hyperlink-get-uri"></a>atk_hyperlink_get_uri ()</h3><a class="indexterm" name="id269827"></a><pre class="programlisting">gchar* atk_hyperlink_get_uri (<a href="AtkHyperlink.html" title="AtkHyperlink">AtkHyperlink</a> *link_, gint i);</pre><p>Get a the URI associated with the anchor specified by <i><tt>i</tt></i> of <i><tt>link_</tt></i>. </p><p>Multiple anchors are primarily used by client-side image maps.</p><p></p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>link_</tt></i>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -