⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atkeditabletext.html

📁 linux下图形库开发包atk-1.4.0.tar.gz
💻 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>AtkEditableText</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="AtkDocument.html" title="AtkDocument"><link rel="next" href="AtkGObjectAccessible.html" title="AtkGObjectAccessible"></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="AtkDocument.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="AtkGObjectAccessible.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="AtkEditableText"></a><div class="titlepage"></div><div class="refnamediv"><h2>AtkEditableText</h2><p>AtkEditableText &#8212; The ATK interface implemented by components containing user-editable text content.</p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id266752"></a>Synopsis</h1></h2><pre class="synopsis">struct      <a href="AtkEditableText.html#AtkEditableText-struct">AtkEditableText</a>;gboolean    <a href="AtkEditableText.html#atk-editable-text-set-run-attributes">atk_editable_text_set_run_attributes</a>                                            (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             <a href="AtkText.html#AtkAttributeSet">AtkAttributeSet</a> *attrib_set,                                             gint start_offset,                                             gint end_offset);void        <a href="AtkEditableText.html#atk-editable-text-set-text-contents">atk_editable_text_set_text_contents</a>                                            (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             const gchar *string);void        <a href="AtkEditableText.html#atk-editable-text-insert-text">atk_editable_text_insert_text</a>   (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             const gchar *string,                                             gint length,                                             gint *position);void        <a href="AtkEditableText.html#atk-editable-text-copy-text">atk_editable_text_copy_text</a>     (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             gint start_pos,                                             gint end_pos);void        <a href="AtkEditableText.html#atk-editable-text-cut-text">atk_editable_text_cut_text</a>      (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             gint start_pos,                                             gint end_pos);void        <a href="AtkEditableText.html#atk-editable-text-delete-text">atk_editable_text_delete_text</a>   (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             gint start_pos,                                             gint end_pos);void        <a href="AtkEditableText.html#atk-editable-text-paste-text">atk_editable_text_paste_text</a>    (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             gint position);</pre></div><div class="refsect1"><h2>Object Hierarchy</h2><pre class="synopsis">  GInterface   +----AtkEditableText</pre></div><div class="refsect1"><h2>Known Implementations</h2><p>AtkEditableText is implemented by <a href="AtkNoOpObject.html" title="AtkNoOpObject">AtkNoOpObject</a>.</p></div><div class="refsect1"><h2>Description</h2><p><a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> should be implemented by UI components which containtext which the user can edit, via the <a href="AtkObject.html" title="AtkObject">AtkObject</a> corresponding to thatcomponent (see <a href="AtkObject.html" title="AtkObject">AtkObject</a>).</p><p><a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> is a subclass of <a href="AtkText.html" title="AtkText">AtkText</a>, and as such, an object whichimplements <a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> is by definition an <a href="AtkText.html" title="AtkText">AtkText</a> implementor as well.</p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="AtkEditableText-struct"></a>struct AtkEditableText</h3><a class="indexterm" name="id267583"></a><pre class="programlisting">struct AtkEditableText;</pre><p>The AtkEditableText structure does not contain any fields.</p></div><hr><div class="refsect2"><h3><a name="atk-editable-text-set-run-attributes"></a>atk_editable_text_set_run_attributes ()</h3><a class="indexterm" name="id267626"></a><pre class="programlisting">gboolean    atk_editable_text_set_run_attributes                                            (<a href="AtkEditableText.html" title="AtkEditableText">AtkEditableText</a> *text,                                             <a href="AtkText.html#AtkAttributeSet">AtkAttributeSet</a> *attrib_set,                                             gint start_offset,                                             gint end_offset);</pre><p>Sets the attributes for a specified range. See the ATK_ATTRIBUTEmacros (such as ATK_ATTRIBUTE_LEFT_MARGIN) for examples of attributes that can be set. Note that other attributes that do not have correspondingATK_ATTRIBUTE macros may also be set for certain text widgets.</p><p></p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>text</tt></i>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -