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

📄 gtkcellrenderertext.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<p>Specifies the preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string. Setting it to <ahref="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a> turns off ellipsizing. See the wrap-width propertyfor another way of making the text fit into a given width.</p><p></p><p>Default value: PANGO_ELLIPSIZE_NONE</p><p>Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3839856"></a><h3><a name="GtkCellRendererText--ellipsize-set"></a>The <code class="literal">"ellipsize-set"</code> property</h3><a class="indexterm" name="id3839874"></a><pre class="programlisting">  "ellipsize-set"            <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag affects the ellipsize mode.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3839901"></a><h3><a name="GtkCellRendererText--family"></a>The <code class="literal">"family"</code> property</h3><a class="indexterm" name="id3839916"></a><pre class="programlisting">  "family"                   <ahref="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray">gchararray</a>            : Read / Write</pre><p>Name of the font family, e.g. Sans, Helvetica, Times, Monospace.</p><p>Default value: NULL</p></div><hr><div class="refsect2" lang="en"><a name="id3839944"></a><h3><a name="GtkCellRendererText--family-set"></a>The <code class="literal">"family-set"</code> property</h3><a class="indexterm" name="id3839961"></a><pre class="programlisting">  "family-set"               <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag affects the font family.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3839988"></a><h3><a name="GtkCellRendererText--font"></a>The <code class="literal">"font"</code> property</h3><a class="indexterm" name="id3840003"></a><pre class="programlisting">  "font"                     <ahref="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray">gchararray</a>            : Read / Write</pre><p>Font description as a string, e.g. "Sans Italic 12".</p><p>Default value: NULL</p></div><hr><div class="refsect2" lang="en"><a name="id3840031"></a><h3><a name="GtkCellRendererText--font-desc"></a>The <code class="literal">"font-desc"</code> property</h3><a class="indexterm" name="id3840048"></a><pre class="programlisting">  "font-desc"                <ahref="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription">PangoFontDescription</a>  : Read / Write</pre><p>Font description as a PangoFontDescription struct.</p></div><hr><div class="refsect2" lang="en"><a name="id3840072"></a><h3><a name="GtkCellRendererText--foreground"></a>The <code class="literal">"foreground"</code> property</h3><a class="indexterm" name="id3840089"></a><pre class="programlisting">  "foreground"               <ahref="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray">gchararray</a>            : Write</pre><p>Foreground color as a string.</p><p>Default value: NULL</p></div><hr><div class="refsect2" lang="en"><a name="id3840115"></a><h3><a name="GtkCellRendererText--foreground-gdk"></a>The <code class="literal">"foreground-gdk"</code> property</h3><a class="indexterm" name="id3840132"></a><pre class="programlisting">  "foreground-gdk"           <ahref="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor">GdkColor</a>              : Read / Write</pre><p>Foreground color as a GdkColor.</p></div><hr><div class="refsect2" lang="en"><a name="id3840155"></a><h3><a name="GtkCellRendererText--foreground-set"></a>The <code class="literal">"foreground-set"</code> property</h3><a class="indexterm" name="id3840172"></a><pre class="programlisting">  "foreground-set"           <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag affects the foreground color.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3840199"></a><h3><a name="GtkCellRendererText--language"></a>The <code class="literal">"language"</code> property</h3><a class="indexterm" name="id3840216"></a><pre class="programlisting">  "language"                 <ahref="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray">gchararray</a>            : Read / Write</pre><p>The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it.</p><p>Default value: NULL</p></div><hr><div class="refsect2" lang="en"><a name="id3840245"></a><h3><a name="GtkCellRendererText--language-set"></a>The <code class="literal">"language-set"</code> property</h3><a class="indexterm" name="id3840261"></a><pre class="programlisting">  "language-set"             <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag affects the language the text is rendered as.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3840288"></a><h3><a name="GtkCellRendererText--markup"></a>The <code class="literal">"markup"</code> property</h3><a class="indexterm" name="id3840305"></a><pre class="programlisting">  "markup"                   <ahref="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray">gchararray</a>            : Write</pre><p>Marked up text to render.</p><p>Default value: NULL</p></div><hr><div class="refsect2" lang="en"><a name="id3840332"></a><h3><a name="GtkCellRendererText--rise"></a>The <code class="literal">"rise"</code> property</h3><a class="indexterm" name="id3840348"></a><pre class="programlisting">  "rise"                     <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a>                  : Read / Write</pre><p>Offset of text above the baseline (below the baseline if rise is negative).</p><p>Allowed values: &gt;= -2147483647</p><p>Default value: 0</p></div><hr><div class="refsect2" lang="en"><a name="id3840380"></a><h3><a name="GtkCellRendererText--rise-set"></a>The <code class="literal">"rise-set"</code> property</h3><a class="indexterm" name="id3840397"></a><pre class="programlisting">  "rise-set"                 <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag affects the rise.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3840424"></a><h3><a name="GtkCellRendererText--scale"></a>The <code class="literal">"scale"</code> property</h3><a class="indexterm" name="id3840439"></a><pre class="programlisting">  "scale"                    <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble">gdouble</a>               : Read / Write</pre><p>Font scaling factor.</p><p>Allowed values: &gt;= 0</p><p>Default value: 1</p></div><hr><div class="refsect2" lang="en"><a name="id3840471"></a><h3><a name="GtkCellRendererText--scale-set"></a>The <code class="literal">"scale-set"</code> property</h3><a class="indexterm" name="id3840487"></a><pre class="programlisting">  "scale-set"                <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag scales the font size by a factor.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3840514"></a><h3><a name="GtkCellRendererText--single-paragraph-mode"></a>The <code class="literal">"single-paragraph-mode"</code> property</h3><a class="indexterm" name="id3840532"></a><pre class="programlisting">  "single-paragraph-mode"    <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether or not to keep all text in a single paragraph.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3840559"></a><h3><a name="GtkCellRendererText--size"></a>The <code class="literal">"size"</code> property</h3><a class="indexterm" name="id3840575"></a><pre class="programlisting">  "size"                     <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a>                  : Read / Write</pre><p>Font size.</p><p>Allowed values: &gt;= 0</p><p>Default value: 0</p></div><hr><div class="refsect2" lang="en"><a name="id3840606"></a><h3><a name="GtkCellRendererText--size-points"></a>The <code class="literal">"size-points"</code> property</h3><a class="indexterm" name="id3840623"></a><pre class="programlisting">  "size-points"              <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble">gdouble</a>               : Read / Write</pre><p>Font size in points.</p><p>Allowed values: &gt;= 0</p><p>Default value: 0</p></div><hr><div class="refsect2" lang="en"><a name="id3840653"></a><h3><a name="GtkCellRendererText--size-set"></a>The <code class="literal">"size-set"</code> property</h3><a class="indexterm" name="id3840670"></a><pre class="programlisting">  "size-set"                 <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag affects the font size.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en"><a name="id3840697"></a><h3><a name="GtkCellRendererText--stretch"></a>The <code class="literal">"stretch"</code> property</h3><a class="indexterm" name="id3840713"></a><pre class="programlisting">  "stretch"                  <ahref="/usr/share/gtk-doc/html/pango/pango-Fonts.html#PangoStretch">PangoStretch</a>          : Read / Write</pre><p>Font stretch.</p><p>Default value: PANGO_STRETCH_NORMAL</p></div><hr><div class="refsect2" lang="en"><a name="id3840740"></a><h3><a name="GtkCellRendererText--stretch-set"></a>The <code class="literal">"stretch-set"</code> property</h3><a class="indexterm" name="id3840757"></a><pre class="programlisting">  "stretch-set"              <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>              : Read / Write</pre><p>Whether this tag affects the font stretch.</p><p>Default value: FALSE</p></div><hr><div class="refsect2" lang="en">

⌨️ 快捷键说明

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