<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>gtkmm: Gdk::PixbufFormat Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm  <span id="projectnumber">3.10.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGdk.html">Gdk</a></li><li class="navelem"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="#related">Related Functions</a> | <a href="classGdk_1_1PixbufFormat-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gdk::PixbufFormat Class Reference</div> </div> </div><!--header--> <div class="contents"> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:affe69f159c677f39d534e4a7fc7b0565"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#affe69f159c677f39d534e4a7fc7b0565">PixbufFormat</a> (GdkPixbufFormat* gobject, bool make_a_copy=true)</td></tr> <tr class="separator:affe69f159c677f39d534e4a7fc7b0565"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a789c15bc347849baa3596d9e6c086af5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a789c15bc347849baa3596d9e6c086af5">PixbufFormat</a> (const <a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& other)</td></tr> <tr class="separator:a789c15bc347849baa3596d9e6c086af5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0329767246dcb32c9deb1ce52d93eb7d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a0329767246dcb32c9deb1ce52d93eb7d">operator=</a> (const <a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& other)</td></tr> <tr class="separator:a0329767246dcb32c9deb1ce52d93eb7d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac58ac11410bd2610a9c7340692e4eebe"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#ac58ac11410bd2610a9c7340692e4eebe">~PixbufFormat</a> ()</td></tr> <tr class="separator:ac58ac11410bd2610a9c7340692e4eebe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a05920f299f0b79783831d3c78e2bd800"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a05920f299f0b79783831d3c78e2bd800">swap</a> (<a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& other)</td></tr> <tr class="separator:a05920f299f0b79783831d3c78e2bd800"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af7c227a346029e1810a158621d83c041"><td class="memItemLeft" align="right" valign="top">GdkPixbufFormat* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#af7c227a346029e1810a158621d83c041">gobj</a> ()</td></tr> <tr class="memdesc:af7c227a346029e1810a158621d83c041"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#af7c227a346029e1810a158621d83c041">More...</a><br/></td></tr> <tr class="separator:af7c227a346029e1810a158621d83c041"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a09a86ed2154606405b854ba70fd5114d"><td class="memItemLeft" align="right" valign="top">const GdkPixbufFormat* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a09a86ed2154606405b854ba70fd5114d">gobj</a> () const </td></tr> <tr class="memdesc:a09a86ed2154606405b854ba70fd5114d"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a09a86ed2154606405b854ba70fd5114d">More...</a><br/></td></tr> <tr class="separator:a09a86ed2154606405b854ba70fd5114d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9dff0d1bfc2199c60a5b0229e64c7e12"><td class="memItemLeft" align="right" valign="top">GdkPixbufFormat* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a9dff0d1bfc2199c60a5b0229e64c7e12">gobj_copy</a> () const </td></tr> <tr class="memdesc:a9dff0d1bfc2199c60a5b0229e64c7e12"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#a9dff0d1bfc2199c60a5b0229e64c7e12">More...</a><br/></td></tr> <tr class="separator:a9dff0d1bfc2199c60a5b0229e64c7e12"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3ede944d34e83194d621ce33df84c263"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a3ede944d34e83194d621ce33df84c263">PixbufFormat</a> ()</td></tr> <tr class="separator:a3ede944d34e83194d621ce33df84c263"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9dcb4ec5ad2b4ad663aadbde1aa42e4e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a9dcb4ec5ad2b4ad663aadbde1aa42e4e">get_name</a> () const </td></tr> <tr class="memdesc:a9dcb4ec5ad2b4ad663aadbde1aa42e4e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the format. <a href="#a9dcb4ec5ad2b4ad663aadbde1aa42e4e">More...</a><br/></td></tr> <tr class="separator:a9dcb4ec5ad2b4ad663aadbde1aa42e4e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a443e131ad70a5df24d4745c23f1ffcbd"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a443e131ad70a5df24d4745c23f1ffcbd">get_description</a> () const </td></tr> <tr class="memdesc:a443e131ad70a5df24d4745c23f1ffcbd"><td class="mdescLeft"> </td><td class="mdescRight">Returns a description of the format. <a href="#a443e131ad70a5df24d4745c23f1ffcbd">More...</a><br/></td></tr> <tr class="separator:a443e131ad70a5df24d4745c23f1ffcbd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a22f533118816010c731ae0921a7e4248"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a22f533118816010c731ae0921a7e4248">get_mime_types</a> () const </td></tr> <tr class="memdesc:a22f533118816010c731ae0921a7e4248"><td class="mdescLeft"> </td><td class="mdescRight">Returns the mime types supported by the format. <a href="#a22f533118816010c731ae0921a7e4248">More...</a><br/></td></tr> <tr class="separator:a22f533118816010c731ae0921a7e4248"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6619d7dddd4fa7ebb123ce9f839cf64a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a6619d7dddd4fa7ebb123ce9f839cf64a">get_extensions</a> () const </td></tr> <tr class="memdesc:a6619d7dddd4fa7ebb123ce9f839cf64a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the filename extensions typically used for files in the given format. <a href="#a6619d7dddd4fa7ebb123ce9f839cf64a">More...</a><br/></td></tr> <tr class="separator:a6619d7dddd4fa7ebb123ce9f839cf64a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8edfd0d77c074d7aa87a2b07b3ff1b3e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a8edfd0d77c074d7aa87a2b07b3ff1b3e">is_writable</a> () const </td></tr> <tr class="memdesc:a8edfd0d77c074d7aa87a2b07b3ff1b3e"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether pixbufs can be saved in the given format. <a href="#a8edfd0d77c074d7aa87a2b07b3ff1b3e">More...</a><br/></td></tr> <tr class="separator:a8edfd0d77c074d7aa87a2b07b3ff1b3e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaf63eb393f44f50a1250bbb8803f49ed"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#aaf63eb393f44f50a1250bbb8803f49ed">is_scalable</a> () const </td></tr> <tr class="memdesc:aaf63eb393f44f50a1250bbb8803f49ed"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this image format is scalable. <a href="#aaf63eb393f44f50a1250bbb8803f49ed">More...</a><br/></td></tr> <tr class="separator:aaf63eb393f44f50a1250bbb8803f49ed"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8e1fa5580658fa5cf9ceca8c9c3e38d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#ad8e1fa5580658fa5cf9ceca8c9c3e38d">is_disabled</a> () const </td></tr> <tr class="memdesc:ad8e1fa5580658fa5cf9ceca8c9c3e38d"><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this image format is disabled. <a href="#ad8e1fa5580658fa5cf9ceca8c9c3e38d">More...</a><br/></td></tr> <tr class="separator:ad8e1fa5580658fa5cf9ceca8c9c3e38d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f732791ce581721ebbcff8fd2ac2971"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a3f732791ce581721ebbcff8fd2ac2971">set_disabled</a> (bool disabled=true)</td></tr> <tr class="memdesc:a3f732791ce581721ebbcff8fd2ac2971"><td class="mdescLeft"> </td><td class="mdescRight">Disables or enables an image format. <a href="#a3f732791ce581721ebbcff8fd2ac2971">More...</a><br/></td></tr> <tr class="separator:a3f732791ce581721ebbcff8fd2ac2971"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac58d2bfb4fd8c2ce5a08a160123a9fab"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#ac58d2bfb4fd8c2ce5a08a160123a9fab">get_license</a> () const </td></tr> <tr class="memdesc:ac58d2bfb4fd8c2ce5a08a160123a9fab"><td class="mdescLeft"> </td><td class="mdescRight">Returns information about the license of the image loader for the format. <a href="#ac58d2bfb4fd8c2ce5a08a160123a9fab">More...</a><br/></td></tr> <tr class="separator:ac58d2bfb4fd8c2ce5a08a160123a9fab"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a0a771b8747ea04bf6003f62a4348af55"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a0a771b8747ea04bf6003f62a4348af55">get_type</a> ()</td></tr> <tr class="memdesc:a0a771b8747ea04bf6003f62a4348af55"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a0a771b8747ea04bf6003f62a4348af55">More...</a><br/></td></tr> <tr class="separator:a0a771b8747ea04bf6003f62a4348af55"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:a328714fac2d71be3d81c02b9fba8ea69"><td class="memItemLeft" align="right" valign="top">GdkPixbufFormat* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#a328714fac2d71be3d81c02b9fba8ea69">gobject_</a></td></tr> <tr class="separator:a328714fac2d71be3d81c02b9fba8ea69"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:ad1e227673516eba408fc097bffdc5cb9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#ad1e227673516eba408fc097bffdc5cb9">swap</a> (<a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& lhs, <a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& rhs)</td></tr> <tr class="separator:ad1e227673516eba408fc097bffdc5cb9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab5c5c21ce37bb09cfc9f30b830919e14"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1PixbufFormat.html">Gdk::PixbufFormat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1PixbufFormat.html#ab5c5c21ce37bb09cfc9f30b830919e14">wrap</a> (GdkPixbufFormat* object, bool take_copy=false)</td></tr> <tr class="memdesc:ab5c5c21ce37bb09cfc9f30b830919e14"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ab5c5c21ce37bb09cfc9f30b830919e14">More...</a><br/></td></tr> <tr class="separator:ab5c5c21ce37bb09cfc9f30b830919e14"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="affe69f159c677f39d534e4a7fc7b0565"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gdk::PixbufFormat::PixbufFormat </td> <td>(</td> <td class="paramtype">GdkPixbufFormat * </td> <td class="paramname"><em>gobject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>make_a_copy</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">explicit</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a789c15bc347849baa3596d9e6c086af5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gdk::PixbufFormat::PixbufFormat </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="ac58ac11410bd2610a9c7340692e4eebe"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gdk::PixbufFormat::~PixbufFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a3ede944d34e83194d621ce33df84c263"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gdk::PixbufFormat::PixbufFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a443e131ad70a5df24d4745c23f1ffcbd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::PixbufFormat::get_description </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns a description of the format. </p> <dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000035">Since gtkmm 2.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A description of the format. </dd></dl> </div> </div> <a class="anchor" id="a6619d7dddd4fa7ebb123ce9f839cf64a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gdk::PixbufFormat::get_extensions </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the filename extensions typically used for files in the given format. </p> <dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000037">Since gtkmm 2.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <code>0</code>-terminated array of filename extensions which must be freed with Glib::strfreev() when it is no longer needed. </dd></dl> </div> </div> <a class="anchor" id="ac58d2bfb4fd8c2ce5a08a160123a9fab"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::PixbufFormat::get_license </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns information about the license of the image loader for the format. </p> <p>The returned string should be a shorthand for a wellknown license, e.g. "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license. This string should be freed with Glib::free() when it's no longer needed.</p> <dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000010">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A string describing the license of <em>format</em>. </dd></dl> </div> </div> <a class="anchor" id="a22f533118816010c731ae0921a7e4248"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00973.html">std::vector</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gdk::PixbufFormat::get_mime_types </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the mime types supported by the format. </p> <dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000036">Since gtkmm 2.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>A <code>0</code>-terminated array of mime types which must be freed with Glib::strfreev() when it is no longer needed. </dd></dl> </div> </div> <a class="anchor" id="a9dcb4ec5ad2b4ad663aadbde1aa42e4e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gdk::PixbufFormat::get_name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the name of the format. </p> <dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000034">Since gtkmm 2.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>The name of the format. </dd></dl> </div> </div> <a class="anchor" id="a0a771b8747ea04bf6003f62a4348af55"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gdk::PixbufFormat::get_type </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a class="anchor" id="af7c227a346029e1810a158621d83c041"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GdkPixbufFormat* Gdk::PixbufFormat::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C instance. </p> </div> </div> <a class="anchor" id="a09a86ed2154606405b854ba70fd5114d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GdkPixbufFormat* Gdk::PixbufFormat::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C instance. </p> </div> </div> <a class="anchor" id="a9dff0d1bfc2199c60a5b0229e64c7e12"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdkPixbufFormat* Gdk::PixbufFormat::gobj_copy </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="ad8e1fa5580658fa5cf9ceca8c9c3e38d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gdk::PixbufFormat::is_disabled </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether this image format is disabled. </p> <p>See <a class="el" href="classGdk_1_1PixbufFormat.html#a3f732791ce581721ebbcff8fd2ac2971" title="Disables or enables an image format.">set_disabled()</a>.</p> <dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000008">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>Whether this image format is disabled. </dd></dl> </div> </div> <a class="anchor" id="aaf63eb393f44f50a1250bbb8803f49ed"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gdk::PixbufFormat::is_scalable </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether this image format is scalable. </p> <p>If a file is in a scalable format, it is preferable to load it at the desired size, rather than loading it at the default size and scaling the resulting pixbuf to the desired size.</p> <dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000007">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>Whether this image format is scalable. </dd></dl> </div> </div> <a class="anchor" id="a8edfd0d77c074d7aa87a2b07b3ff1b3e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gdk::PixbufFormat::is_writable </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns whether pixbufs can be saved in the given format. </p> <dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000038">Since gtkmm 2.2:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd>Whether pixbufs can be saved in the given format. </dd></dl> </div> </div> <a class="anchor" id="a0329767246dcb32c9deb1ce52d93eb7d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& Gdk::PixbufFormat::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a3f732791ce581721ebbcff8fd2ac2971"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::PixbufFormat::set_disabled </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>disabled</em> = <code>true</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Disables or enables an image format. </p> <p>If a format is disabled, gdk-pixbuf won't use the image loader for this format to load images. Applications can use this to avoid using image loaders with an inappropriate license, see <a class="el" href="classGdk_1_1PixbufFormat.html#ac58d2bfb4fd8c2ce5a08a160123a9fab" title="Returns information about the license of the image loader for the format.">get_license()</a>.</p> <dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000009">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">disabled</td><td><code>true</code> to disable the format <em>format</em>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a05920f299f0b79783831d3c78e2bd800"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gdk::PixbufFormat::swap </td> <td>(</td> <td class="paramtype"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="ad1e227673516eba408fc097bffdc5cb9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void swap </td> <td>(</td> <td class="paramtype"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& </td> <td class="paramname"><em>lhs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGdk_1_1PixbufFormat.html">PixbufFormat</a>& </td> <td class="paramname"><em>rhs</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">lhs</td><td>The left-hand side </td></tr> <tr><td class="paramname">rhs</td><td>The right-hand side </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab5c5c21ce37bb09cfc9f30b830919e14"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGdk_1_1PixbufFormat.html">Gdk::PixbufFormat</a> wrap </td> <td>(</td> <td class="paramtype">GdkPixbufFormat * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a class="anchor" id="a328714fac2d71be3d81c02b9fba8ea69"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GdkPixbufFormat* Gdk::PixbufFormat::gobject_</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gdkmm/pixbufformat.h</li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>