📄 gtkclist.html
字号:
</div><div class="refsect1" lang="en"><a name="id4466351"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id4466361"></a><h3><a name="GtkCList-struct"></a>GtkCList</h3><a class="indexterm" name="id4466373"></a><pre class="programlisting">typedef struct _GtkCList GtkCList;</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GtkCList</code> is deprecated and should not be used in newly-written code.</p></div><p>This is the embodiment of the <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> widget. This structure containsonly private data, and should be accessed only via the CList API.</p></div><hr><div class="refsect2" lang="en"><a name="id4466410"></a><h3><a name="GtkCellType"></a>enum GtkCellType</h3><a class="indexterm" name="id4466425"></a><pre class="programlisting">typedef enum{ GTK_CELL_EMPTY, GTK_CELL_TEXT, GTK_CELL_PIXMAP, GTK_CELL_PIXTEXT, GTK_CELL_WIDGET} GtkCellType;</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GtkCellType</code> is deprecated and should not be used in newly-written code.</p></div><p>Identifies the type of element in the current cell of the CList. Cells cancontain text, pixmaps, or both. Unfortunately support for <a class="link" href="GtkCList.html#GTK-CELL-WIDGET:CAPS"><code class="literal">GTK_CELL_WIDGET</code></a>was never completed.</p></div><hr><div class="refsect2" lang="en"><a name="id4466468"></a><h3><a name="GtkButtonAction"></a>enum GtkButtonAction</h3><a class="indexterm" name="id4466483"></a><pre class="programlisting">typedef enum{ GTK_BUTTON_IGNORED = 0, GTK_BUTTON_SELECTS = 1 << 0, GTK_BUTTON_DRAGS = 1 << 1, GTK_BUTTON_EXPANDS = 1 << 2} GtkButtonAction;</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GtkButtonAction</code> is deprecated and should not be used in newly-written code.</p></div><p>Values for specifying what mouse button events a CList willreact to.</p></div><hr><div class="refsect2" lang="en"><a name="id4466517"></a><h3><a name="GTK-CLIST-FLAGS:CAPS"></a>GTK_CLIST_FLAGS()</h3><a class="indexterm" name="id4466533"></a><pre class="programlisting">#define GTK_CLIST_FLAGS(clist) (GTK_CLIST (clist)->flags)</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GTK_CLIST_FLAGS</code> is deprecated and should not be used in newly-written code.</p></div><p>Reads the current flags of the specified CList.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>clist</code></em> :</span></p></td><td>The <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> widget from which to get the flags</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4466589"></a><h3><a name="GTK-CLIST-SET-FLAG:CAPS"></a>GTK_CLIST_SET_FLAG()</h3><a class="indexterm" name="id4466605"></a><pre class="programlisting">#define GTK_CLIST_SET_FLAG(clist,flag) (GTK_CLIST_FLAGS (clist) |= (GTK_ ## flag))</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GTK_CLIST_SET_FLAG</code> is deprecated and should not be used in newly-written code.</p></div><p>A macro to set a particular flag for the specified CList.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>clist</code></em> :</span></p></td><td>The <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> widget to affect.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>flag</code></em> :</span></p></td><td>A single <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> flag to set. NOTE: Do not add the GTK_ prefix.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4466683"></a><h3><a name="GTK-CLIST-UNSET-FLAG:CAPS"></a>GTK_CLIST_UNSET_FLAG()</h3><a class="indexterm" name="id4466699"></a><pre class="programlisting">#define GTK_CLIST_UNSET_FLAG(clist,flag) (GTK_CLIST_FLAGS (clist) &= ~(GTK_ ## flag))</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GTK_CLIST_UNSET_FLAG</code> is deprecated and should not be used in newly-written code.</p></div><p>A macro to clear a particular flag for the specified CList.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>clist</code></em> :</span></p></td><td>The <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> widget to affect.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>flag</code></em> :</span></p></td><td>A single <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> flag to clear. NOTE: Do not add the GTK_ prefix.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4466779"></a><h3><a name="GTK-CLIST-IN-DRAG:CAPS"></a>GTK_CLIST_IN_DRAG()</h3><a class="indexterm" name="id4466795"></a><pre class="programlisting">#define GTK_CLIST_IN_DRAG(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_IN_DRAG)</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GTK_CLIST_IN_DRAG</code> is deprecated and should not be used in newly-written code.</p></div><p>A macro to check whether the <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> is in "drag mode."</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>clist</code></em> :</span></p></td><td>The <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> to check.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4466859"></a><h3><a name="GTK-CLIST-ROW-HEIGHT-SET:CAPS"></a>GTK_CLIST_ROW_HEIGHT_SET()</h3><a class="indexterm" name="id4466876"></a><pre class="programlisting">#define GTK_CLIST_ROW_HEIGHT_SET(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_ROW_HEIGHT_SET)</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GTK_CLIST_ROW_HEIGHT_SET</code> is deprecated and should not be used in newly-written code.</p></div><p>A macro to check whether the <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a>'s row height is set.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>clist</code></em> :</span></p></td><td>The <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> to check.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4466940"></a><h3><a name="GTK-CLIST-SHOW-TITLES:CAPS"></a>GTK_CLIST_SHOW_TITLES()</h3><a class="indexterm" name="id4466956"></a><pre class="programlisting">#define GTK_CLIST_SHOW_TITLES(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_SHOW_TITLES)</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GTK_CLIST_SHOW_TITLES</code> is deprecated and should not be used in newly-written code.</p></div><p>A macro to check whether the flag for showing the widget's column titles is set.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>clist</code></em> :</span></p></td><td>The <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a> widget to check.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -