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

📄 gtkpixmap.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<a name="gtk-pixmap-new"></a>gtk_pixmap_new ()</h3><a class="indexterm" name="id4568945"></a><pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_pixmap_new                      (<ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a> *pixmap,                                                         <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap">GdkBitmap</a> *mask);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_pixmap_new</code> is deprecated and should not be used in newly-written code.</p></div><p>Creates a new <a class="link" href="GtkPixmap.html" title="GtkPixmap"><span class="type">GtkPixmap</span></a>, using the given GDK pixmap and mask.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>pixmap</code></em>&#160;:</span></p></td><td>a <span class="type">GDKPixmap</span>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>mask</code></em>&#160;:</span></p></td><td>a <span class="type">GDKBitmap</span> which indicates which parts of the <em class="parameter"><code>pixmap</code></em> should betransparent.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td>a new <a class="link" href="GtkPixmap.html" title="GtkPixmap"><span class="type">GtkPixmap</span></a>.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4569077"></a><h3><a name="gtk-pixmap-set"></a>gtk_pixmap_set ()</h3><a class="indexterm" name="id4569092"></a><pre class="programlisting">void                gtk_pixmap_set                      (<a class="link" href="GtkPixmap.html" title="GtkPixmap">GtkPixmap</a> *pixmap,                                                         <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a> *val,                                                         <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap">GdkBitmap</a> *mask);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_pixmap_set</code> is deprecated and should not be used in newly-written code.</p></div><p>Sets the <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> and <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> mask.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>pixmap</code></em>&#160;:</span></p></td><td>a <a class="link" href="GtkPixmap.html" title="GtkPixmap"><span class="type">GtkPixmap</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>val</code></em>&#160;:</span></p></td><td>a <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>mask</code></em>&#160;:</span></p></td><td>a <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a>, which indicates which parts of the <em class="parameter"><code>pixmap</code></em> should betransparent. This can be NULL, in which case none of the <em class="parameter"><code>pixmap</code></em> istransparent.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4569246"></a><h3><a name="gtk-pixmap-get"></a>gtk_pixmap_get ()</h3><a class="indexterm" name="id4569261"></a><pre class="programlisting">void                gtk_pixmap_get                      (<a class="link" href="GtkPixmap.html" title="GtkPixmap">GtkPixmap</a> *pixmap,                                                         <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a> **val,                                                         <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap">GdkBitmap</a> **mask);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_pixmap_get</code> is deprecated and should not be used in newly-written code.</p></div><p>Gets the current <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> and <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> mask.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>pixmap</code></em>&#160;:</span></p></td><td>a <a class="link" href="GtkPixmap.html" title="GtkPixmap"><span class="type">GtkPixmap</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>val</code></em>&#160;:</span></p></td><td>returns the current <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>mask</code></em>&#160;:</span></p></td><td>returns the current <ahref="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> mask.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id4569403"></a><h3><a name="gtk-pixmap-set-build-insensitive"></a>gtk_pixmap_set_build_insensitive ()</h3><a class="indexterm" name="id4569418"></a><pre class="programlisting">void                gtk_pixmap_set_build_insensitive    (<a class="link" href="GtkPixmap.html" title="GtkPixmap">GtkPixmap</a> *pixmap,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a> build);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">gtk_pixmap_set_build_insensitive</code> is deprecated and should not be used in newly-written code.</p></div><p>Sets wether an extra pixmap should be automatically created and usedwhen the pixmap is insensitive. The default value is <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>pixmap</code></em>&#160;:</span></p></td><td>a <a class="link" href="GtkPixmap.html" title="GtkPixmap"><span class="type">GtkPixmap</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>build</code></em>&#160;:</span></p></td><td>set to <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an extra pixmap should be automatically created to usewhen the pixmap is insensitive.</td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><a name="id4569532"></a><div class="refsect2" lang="en"><a name="id4569533"></a></div><hr><div class="refsect2" lang="en"><a name="id4569534"></a></div></div></div></body></html>

⌨️ 快捷键说明

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