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

📄 gtkcellrendereraccel.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> the new cell renderer</td></tr></tbody></table></div><p class="since">Since  2.10</p></div></div><div class="refsect1" lang="en"><a name="id3830663"></a><h2>Property Details</h2><div class="refsect2" lang="en"><a name="id3830674"></a><h3><a name="GtkCellRendererAccel--accel-key"></a>The <code class="literal">"accel-key"</code> property</h3><a class="indexterm" name="id3830690"></a><pre class="programlisting">  "accel-key"                <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>                 : Read / Write</pre><p>The keyval of the accelerator.</p><p></p><p>Allowed values: &lt;= G_MAXINT</p><p>Default value: 0</p><p>Since  2.10</p></div><hr><div class="refsect2" lang="en"><a name="id3830730"></a><h3><a name="GtkCellRendererAccel--accel-mode"></a>The <code class="literal">"accel-mode"</code> property</h3><a class="indexterm" name="id3830747"></a><pre class="programlisting">  "accel-mode"               <a class="link" href="GtkCellRendererAccel.html#GtkCellRendererAccelMode">GtkCellRendererAccelMode</a>  : Read / Write</pre><p>Determines if the edited accelerators are GTK+ accelerators. Ifthey are, consumed modifiers are suppressed, only acceleratorsaccepted by GTK+ are allowed, and the accelerators are renderedin the same way as they are in menus.</p><p></p><p>Default value: GTK_CELL_RENDERER_ACCEL_MODE_GTK</p><p>Since  2.10</p></div><hr><div class="refsect2" lang="en"><a name="id3830787"></a><h3><a name="GtkCellRendererAccel--accel-mods"></a>The <code class="literal">"accel-mods"</code> property</h3><a class="indexterm" name="id3830804"></a><pre class="programlisting">  "accel-mods"               <ahref="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType">GdkModifierType</a>       : Read / Write</pre><p>The modifier mask of the accelerator.</p><p></p><p>Since  2.10</p></div><hr><div class="refsect2" lang="en"><a name="id3830836"></a><h3><a name="GtkCellRendererAccel--keycode"></a>The <code class="literal">"keycode"</code> property</h3><a class="indexterm" name="id3830852"></a><pre class="programlisting">  "keycode"                  <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>                 : Read / Write</pre><p>The hardware keycode of the accelerator. Note that the hardware keycode isonly relevant if the key does not have a keyval. Normally, the keyboardconfiguration should assign keyvals to all keys.</p><p></p><p>Allowed values: &lt;= G_MAXINT</p><p>Default value: 0</p><p>Since  2.10</p></div></div><div class="refsect1" lang="en"><a name="id3830896"></a><h2>Signal Details</h2><div class="refsect2" lang="en"><a name="id3830906"></a><h3><a name="GtkCellRendererAccel-accel-cleared"></a>The <code class="literal">"accel-cleared"</code> signal</h3><a class="indexterm" name="id3830923"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GtkCellRendererAccel.html" title="GtkCellRendererAccel">GtkCellRendererAccel</a> *accel,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a>                *path_string,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>              user_data)        : Run Last</pre><p>Gets emitted when the user has removed the accelerator.</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>accel</code></em>&#160;:</span></p></td><td> the object reveiving the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>path_string</code></em>&#160;:</span></p></td><td> the path identifying the row of the edited cell</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><p>Since  2.10</p></div><hr><div class="refsect2" lang="en"><a name="id3831024"></a><h3><a name="GtkCellRendererAccel-accel-edited"></a>The <code class="literal">"accel-edited"</code> signal</h3><a class="indexterm" name="id3831040"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GtkCellRendererAccel.html" title="GtkCellRendererAccel">GtkCellRendererAccel</a> *accel,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a>                *path_string,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>                 accel_key,                                                        <ahref="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType">GdkModifierType</a>       accel_mods,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>                 hardware_keycode,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>              user_data)             : Run Last</pre><p>Gets emitted when the user has selected a new accelerator.</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>accel</code></em>&#160;:</span></p></td><td> the object reveiving the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>path_string</code></em>&#160;:</span></p></td><td> the path identifying the row of the edited cell</td></tr><tr><td><p><span class="term"><em class="parameter"><code>accel_key</code></em>&#160;:</span></p></td><td> the new accelerator keyval</td></tr><tr><td><p><span class="term"><em class="parameter"><code>accel_mods</code></em>&#160;:</span></p></td><td> the new acclerator modifier mask</td></tr><tr><td><p><span class="term"><em class="parameter"><code>hardware_keycode</code></em>&#160;:</span></p></td><td> the keycode of the new accelerator</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><p>Since  2.10</p></div></div><div class="refsect1" lang="en"><a name="id3831211"></a><div class="refsect2" lang="en"><a name="id3831212"></a></div><hr><div class="refsect2" lang="en"><a name="id3831213"></a></div></div></div></body></html>

⌨️ 快捷键说明

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