<html> <head><title>Gtk-- Reference: Gtk::Image</title></head> <body bgcolor="#F0F0F0" text="#000000" link="#0000FF" vlink="#000077" alink="#FF0000"> <table align=center border=0 cellspacing=10> <tr> <td><a href="class_index.html">Class Index</a></td> <td><a href="cross_index.html">Cross Index</a></td> <td><a href="name_index.html">Namespace Index</a></td> </table> <h1 align=center>Class Gtk::Image</h1><p> <b> Image Widget</b><br> Contained in: <a href="Gtk.html">Gtk</a><br> Derived from: <a href="Gtk%3A%3AMisc.html">Gtk::Misc</a> <br> Derived by: <i>none</i> <p> #include <gtk--/image.h> <p> <hr noshade> <table border=0> <tr><td colspan=3><h3>public function member index:</h3></td> <tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3AImage.html#1608"><tt><font color=blue><b>Image</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>Gdk_Image</font></tt>& <tt><font color=blue>val</font></tt>, <tt>const</tt> <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>mask</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AImage.html#1610"><tt><font color=blue><b>get</b></font></tt></a></td><td><tt>(<tt><font color=navy>Gdk_Image</font></tt>& <tt><font color=blue>val</font></tt>, <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>mask</font></tt>) <tt>const</tt></tt>;</td> <tr valign=top><td align=right><tt><tt><font color=navy>GtkImage</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AImage.html#1604"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>()</tt>;</td> <tr valign=top><td align=right><tt><tt>const</tt> <tt><font color=navy>GtkImage</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AImage.html#1605"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td> <tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AImage.html#1606"><tt><font color=blue><b>isA</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AImage.html#1609"><tt><font color=blue><b>set</b></font></tt></a></td><td><tt>(<tt>const</tt> <tt><font color=navy>Gdk_Image</font></tt>& <tt><font color=blue>val</font></tt>, <tt>const</tt> <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>mask</font></tt>)</tt>;</td> <tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3AImage.html#1607"><tt><font color=blue><b>~Image</b></font></tt></a></td><td><tt>()</tt>;</td> <tr><td> </td></table> <hr noshade> <h2>Description:</h2> An image is a client side pixmap. As it is client side, it can be altered directly by the program. However, it pays a performance hit.<br> <p> <hr noshade> <h2>Function Member Descriptions:</h2> <a name="1608"><font size=+1><b>Gtk::Image::Image</b></font></a> - Create a Image widget from a Gdk_Image and Gdk_Bitmap.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt></tt> <a href="Gtk%3A%3AImage.html#1608"><tt><font color=blue><b>Image</b></font></tt></a><tt>(<tt>const</tt> <tt><font color=navy>Gdk_Image</font></tt>& <tt><font color=blue>val</font></tt>, <tt>const</tt> <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>mask</font></tt>)</tt>;<br><br> <a name="1610"><font size=+1><b>Gtk::Image::get</b></font></a> - Access the image.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3AImage.html#1610"><tt><font color=blue><b>get</b></font></tt></a><tt>(<tt><font color=navy>Gdk_Image</font></tt>& <tt><font color=blue>val</font></tt>, <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>mask</font></tt>) <tt>const</tt></tt>;<br><br> <a name="1604"><font size=+1><b>Gtk::Image::gtkobj</b></font></a> - Returns the underlaying gtk+ object.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkImage</font></tt>*</tt> <a href="Gtk%3A%3AImage.html#1604"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br> <a name="1606"><font size=+1><b>Gtk::Image::isA</b></font></a> - Returns true if object is this type.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> <a href="Gtk%3A%3AImage.html#1606"><tt><font color=blue><b>isA</b></font></tt></a><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;<br><br> <a name="1609"><font size=+1><b>Gtk::Image::set</b></font></a> - Set the image.<br> <hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3AImage.html#1609"><tt><font color=blue><b>set</b></font></tt></a><tt>(<tt>const</tt> <tt><font color=navy>Gdk_Image</font></tt>& <tt><font color=blue>val</font></tt>, <tt>const</tt> <tt><font color=navy>Gdk_Bitmap</font></tt>& <tt><font color=blue>mask</font></tt>)</tt>;<br><br> <hr noshade> </html>