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

📄 gtkcelleditable.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 2 页
字号:
} GtkCellEditableIface;</pre><p></p></div><hr><div class="refsect2" lang="en"><a name="id3828679"></a><h3><a name="gtk-cell-editable-start-editing"></a>gtk_cell_editable_start_editing ()</h3><a class="indexterm" name="id3828692"></a><pre class="programlisting">void                gtk_cell_editable_start_editing     (<a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> *cell_editable,                                                         <ahref="/usr/share/gtk-doc/html/gdk/gdk-Event-Structures.html#GdkEvent">GdkEvent</a> *event);</pre><p>Begins editing on a <em class="parameter"><code>cell_editable</code></em>. <em class="parameter"><code>event</code></em> is the <ahref="/usr/share/gtk-doc/html/gdk/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that began the editing process. It may be <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, in the instance that editing was initiated through programatic means.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>cell_editable</code></em>&#160;:</span></p></td><td> A <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>event</code></em>&#160;:</span></p></td><td> A <ahref="/usr/share/gtk-doc/html/gdk/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>, or <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a></td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3828822"></a><h3><a name="gtk-cell-editable-editing-done"></a>gtk_cell_editable_editing_done ()</h3><a class="indexterm" name="id3828836"></a><pre class="programlisting">void                gtk_cell_editable_editing_done      (<a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> *cell_editable);</pre><p>Emits the <a class="link" href="GtkCellEditable.html#GtkCellEditable-editing-done"><span class="type">"editing-done"</span></a> signal.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>cell_editable</code></em>&#160;:</span></p></td><td> A <span class="type">GtkTreeEditable</span></td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3828905"></a><h3><a name="gtk-cell-editable-remove-widget"></a>gtk_cell_editable_remove_widget ()</h3><a class="indexterm" name="id3828918"></a><pre class="programlisting">void                gtk_cell_editable_remove_widget     (<a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> *cell_editable);</pre><p>Emits the <a class="link" href="GtkCellEditable.html#GtkCellEditable-remove-widget"><span class="type">"remove-widget"</span></a> signal.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>cell_editable</code></em>&#160;:</span></p></td><td> A <span class="type">GtkTreeEditable</span></td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><a name="id3828987"></a><h2>Signal Details</h2><div class="refsect2" lang="en"><a name="id3828998"></a><h3><a name="GtkCellEditable-editing-done"></a>The <code class="literal">"editing-done"</code> signal</h3><a class="indexterm" name="id3829014"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> *cell_editable,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>         user_data)          : Run Last</pre><p>This signal is a sign for the cell renderer to update its value from the <em class="parameter"><code>cell_editable</code></em>. </p><p>Implementations of <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> are responsible for emitting this signal when they are done editing, e.g. <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> is emitting it when the user presses Enter.</p><p><a class="link" href="GtkCellEditable.html#gtk-cell-editable-editing-done"><code class="function">gtk_cell_editable_editing_done()</code></a> is a convenience methodfor emitting ::editing-done.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>cell_editable</code></em>&#160;:</span></p></td><td> the object on which the signal was emitted</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3829131"></a><h3><a name="GtkCellEditable-remove-widget"></a>The <code class="literal">"remove-widget"</code> signal</h3><a class="indexterm" name="id3829147"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> *cell_editable,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>         user_data)          : Run Last</pre><p>This signal is meant to indicate that the cell is finished editing, and the widget may now be destroyed. </p><p>Implementations of <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> are responsible for emitting this signal when they are done editing. It mustbe emitted after the <a class="link" href="GtkCellEditable.html#GtkCellEditable-editing-done"><span class="type">"editing-done"</span></a> signal, to give the cell renderer a chance to update the cell's value before the widget is removed. </p><p><a class="link" href="GtkCellEditable.html#gtk-cell-editable-remove-widget"><code class="function">gtk_cell_editable_remove_widget()</code></a> is a convenience methodfor emitting ::remove-widget.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>cell_editable</code></em>&#160;:</span></p></td><td> the object on which the signal was emitted</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><a name="id3829263"></a><div class="refsect2" lang="en"><a name="id3829264"></a></div><hr><div class="refsect2" lang="en"><a name="id3829266"></a></div></div></div></body></html>

⌨️ 快捷键说明

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