<!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.7"/> <title>gtkmm: Gtk::StyleProvider 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.14.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.7 --> <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="namespaceGtk.html">Gtk</a></li><li class="navelem"><a class="el" href="classGtk_1_1StyleProvider.html">StyleProvider</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-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGtk_1_1StyleProvider-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gtk::StyleProvider Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>This is a base class used to provide style information to a <a class="el" href="classGtk_1_1StyleContext.html" title="This object stores styling information affecting a widget defined by WidgetPath. ">StyleContext</a>. <a href="classGtk_1_1StyleProvider.html#details">More...</a></p> <p><code>#include <gtkmm/styleprovider.h></code></p> <div class="dynheader"> Inheritance diagram for Gtk::StyleProvider:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1StyleProvider__inherit__graph.png" border="0" usemap="#Gtk_1_1StyleProvider_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1StyleProvider_inherit__map" id="Gtk_1_1StyleProvider_inherit__map"> <area shape="rect" id="node5" href="classGtk_1_1CssProvider.html" title="CSS-like styling for widgets, implementing the StyleProvider base class. " alt="" coords="9,304,135,331"/><area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="17,155,127,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="9,80,135,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="15,5,129,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <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:adca87603f38c908f763f9c92bec5ffef"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1StyleProvider.html#adca87603f38c908f763f9c92bec5ffef">~StyleProvider</a> ()</td></tr> <tr class="separator:adca87603f38c908f763f9c92bec5ffef"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1ae2c6236a61cc7bfa2b94cd258891fa"><td class="memItemLeft" align="right" valign="top">GtkStyleProvider* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1StyleProvider.html#a1ae2c6236a61cc7bfa2b94cd258891fa">gobj</a> ()</td></tr> <tr class="memdesc:a1ae2c6236a61cc7bfa2b94cd258891fa"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a1ae2c6236a61cc7bfa2b94cd258891fa">More...</a><br /></td></tr> <tr class="separator:a1ae2c6236a61cc7bfa2b94cd258891fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac316e7cb8bd3c858e6847e4a702ffe67"><td class="memItemLeft" align="right" valign="top">const GtkStyleProvider* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1StyleProvider.html#ac316e7cb8bd3c858e6847e4a702ffe67">gobj</a> () const </td></tr> <tr class="memdesc:ac316e7cb8bd3c858e6847e4a702ffe67"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ac316e7cb8bd3c858e6847e4a702ffe67">More...</a><br /></td></tr> <tr class="separator:ac316e7cb8bd3c858e6847e4a702ffe67"><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:abd9b29ce5ec70fed1a1da6e5466b2dc1"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1StyleProvider.html#abd9b29ce5ec70fed1a1da6e5466b2dc1">add_interface</a> (GType gtype_implementer)</td></tr> <tr class="separator:abd9b29ce5ec70fed1a1da6e5466b2dc1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a73ad44cc455b0a5ed218eae979b81ec7"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1StyleProvider.html#a73ad44cc455b0a5ed218eae979b81ec7">get_type</a> ()</td></tr> <tr class="memdesc:a73ad44cc455b0a5ed218eae979b81ec7"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a73ad44cc455b0a5ed218eae979b81ec7">More...</a><br /></td></tr> <tr class="separator:a73ad44cc455b0a5ed218eae979b81ec7"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:ad98e18910bd29b41b058f89cdc957936"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1StyleProvider.html#ad98e18910bd29b41b058f89cdc957936">StyleProvider</a> ()</td></tr> <tr class="memdesc:ad98e18910bd29b41b058f89cdc957936"><td class="mdescLeft"> </td><td class="mdescRight">You should derive from this class to use it. <a href="#ad98e18910bd29b41b058f89cdc957936">More...</a><br /></td></tr> <tr class="separator:ad98e18910bd29b41b058f89cdc957936"><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:a49a79605ce41b2ac46efc7909a73cc3a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1StyleProvider.html">Gtk::StyleProvider</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1StyleProvider.html#a49a79605ce41b2ac46efc7909a73cc3a">wrap</a> (GtkStyleProvider* object, bool take_copy=false)</td></tr> <tr class="memdesc:a49a79605ce41b2ac46efc7909a73cc3a"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a49a79605ce41b2ac46efc7909a73cc3a">More...</a><br /></td></tr> <tr class="separator:a49a79605ce41b2ac46efc7909a73cc3a"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>This is a base class used to provide style information to a <a class="el" href="classGtk_1_1StyleContext.html" title="This object stores styling information affecting a widget defined by WidgetPath. ">StyleContext</a>. </p> <p>See <a class="el" href="classGtk_1_1StyleContext.html#aab2fda726358dd2f4b4f4ee516aad62c" title="Adds a style provider to context, to be used in style construction. ">StyleContext::add_provider()</a> and <a class="el" href="classGtk_1_1StyleContext.html#a5832098df35804a5c69931ced28588b6" title="Adds a global style provider to screen, which will be used in style construction for all Gtk::StyleCo...">StyleContext::add_provider_for_screen()</a>.</p> <dl class="since_3_0"><dt><b><a class="el" href="since_3_0.html#_since_3_0000255">Since gtkmm 3.0:</a></b></dt><dd></dd></dl> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="ad98e18910bd29b41b058f89cdc957936"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gtk::StyleProvider::StyleProvider </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>You should derive from this class to use it. </p> </div> </div> <a class="anchor" id="adca87603f38c908f763f9c92bec5ffef"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gtk::StyleProvider::~StyleProvider </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="abd9b29ce5ec70fed1a1da6e5466b2dc1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static void Gtk::StyleProvider::add_interface </td> <td>(</td> <td class="paramtype">GType </td> <td class="paramname"><em>gtype_implementer</em></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"> </div> </div> <a class="anchor" id="a73ad44cc455b0a5ed218eae979b81ec7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gtk::StyleProvider::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="a1ae2c6236a61cc7bfa2b94cd258891fa"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkStyleProvider* Gtk::StyleProvider::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 GObject. </p> </div> </div> <a class="anchor" id="ac316e7cb8bd3c858e6847e4a702ffe67"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkStyleProvider* Gtk::StyleProvider::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 GObject. </p> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="a49a79605ce41b2ac46efc7909a73cc3a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtk_1_1StyleProvider.html">Gtk::StyleProvider</a> > wrap </td> <td>(</td> <td class="paramtype">GtkStyleProvider * </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="http://library.gnome.org/devel/glibmm/unstable/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> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Sep 23 2014 12:59:27 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.7 </small></address> </body> </html>