<!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"/> <title>gtkmm-utils: Gtk::Util::TileView Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkmm-utils <span id="projectnumber">0.4.1</span></div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('classGtk_1_1Util_1_1TileView.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <h1>Gtk::Util::TileView Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::Util::TileView" --><!-- doxytag: inherits="Gtk::VBox" --> <p>The <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> container. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::Util::TileView:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1Util_1_1TileView__inherit__graph.png" border="0" usemap="#Gtk_1_1Util_1_1TileView_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1Util_1_1TileView_inherit__map" id="Gtk_1_1Util_1_1TileView_inherit__map"> <area shape="rect" id="node2" href="classGtk_1_1VBox.html" title="Gtk::VBox" alt="" coords="55,5,167,32"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1Util_1_1TileView-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef sigc::signal< void, <br class="typebreak"/> <a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a> & > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a9405038fc44d1ba5b874142949273529">SignalTileActivated</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Signal emmitted when user double-clicks, or pressed the Return key on a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> in the container. <a href="#a9405038fc44d1ba5b874142949273529"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef sigc::slot< void, <a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a> & > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a018011cafb46821b7a39dcd167ac22ac">SlotForEachTile</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Slot used to iterate over child <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> widgets. <a href="#a018011cafb46821b7a39dcd167ac22ac"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#aa073794f9c82961fd0fe84d1fbdac70b">add_tile</a> (<a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a> &tile)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds and shows a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> in the container. <a href="#aa073794f9c82961fd0fe84d1fbdac70b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a5e3a696e5dd5b84d826890ef778be093">add_tile</a> (<a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a> *tile)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds and shows a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> in the container. <a href="#a5e3a696e5dd5b84d826890ef778be093"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#ac92eaf58797193267a373d157ba62af0">clear</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all child tiles and clears internal data. <a href="#ac92eaf58797193267a373d157ba62af0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a4c0399c07844c5f67f22899f5e161e6f">for_each_tile</a> (const <a class="el" href="classGtk_1_1Util_1_1TileView.html#a018011cafb46821b7a39dcd167ac22ac">SlotForEachTile</a> &slot)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calls a supplied function for each child <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a>. <a href="#a4c0399c07844c5f67f22899f5e161e6f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classGtk_1_1Util_1_1PageNavigator.html">PageNavigator</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#ab9f02f40e5412e7cb78609d9e917316f">get_page_navigator</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the contained <a class="el" href="classGtk_1_1Util_1_1PageNavigator.html" title="Navigation bar.">PageNavigator</a> widget. <a href="#ab9f02f40e5412e7cb78609d9e917316f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a3c01728f02eb622228afb41f133840d6">get_selection</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the last selected <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a>, or null of none is selected. <a href="#a3c01728f02eb622228afb41f133840d6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#abdef7c6c501769d22f11b042be5cfed2">get_tiles_per_page</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current number of tiles displayed in one page. <a href="#abdef7c6c501769d22f11b042be5cfed2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#ad9b3ac061ce2b0d73e3116075ac04baa">reset_selection</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Resets current selection in the view. <a href="#ad9b3ac061ce2b0d73e3116075ac04baa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#aa3764c6090eff904b5ce39658d1d797f">set_navigator_title</a> (const Glib::ustring &title)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a custom title in the TilePageNavigator above the content. <a href="#aa3764c6090eff904b5ce39658d1d797f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#ab94a228df269ea5b11437bad2ffab51c">set_navigator_title_markup</a> (const Glib::ustring &marked_up_title)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a custom markup on the title in the TilePageNavigator above the content. <a href="#ab94a228df269ea5b11437bad2ffab51c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a8077022e6c0dd4f80153eb4246de7852">set_page_view</a> (bool use_page_view=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the display style. <a href="#a8077022e6c0dd4f80153eb4246de7852"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a899bdb0769b83be0e5526129d14bb0e4">set_tiles_per_page</a> (int tiles_per_page)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the number of tiles displayed in one page. <a href="#a899bdb0769b83be0e5526129d14bb0e4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a8f65e40dddef87971a3a8a670038bcc2">show_page_navigator</a> (bool show=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Shows or hides a TilePageNavigator above the content. <a href="#a8f65e40dddef87971a3a8a670038bcc2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a9405038fc44d1ba5b874142949273529">SignalTileActivated</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#adf8bc82a61c33392d9c2920b3d9db498">signal_tile_activated</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the SignalActivated, which you can connect to. <a href="#adf8bc82a61c33392d9c2920b3d9db498"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a7de8b4a6453b85f15a39b4fd4840e78b">TileView</a> (bool use_page_view=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new <a class="el" href="classGtk_1_1Util_1_1TileView.html" title="The Tile container.">TileView</a>. <a href="#a7de8b4a6453b85f15a39b4fd4840e78b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#ab9e5a2a81b1d4783f48c8ddbacd40101">~TileView</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGtk_1_1Util_1_1TileView.html" title="The Tile container.">TileView</a> destructor. <a href="#ab9e5a2a81b1d4783f48c8ddbacd40101"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a089c9e9609fe5781aff5ff7764e6bc1e">on_key_press_event</a> (GdkEventKey *event)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a441def962ec5628dd3d29c63f553ded3">on_show_request</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">called when child widget(s) request to be shown. <a href="#a441def962ec5628dd3d29c63f553ded3"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">std::auto_ptr< Private > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a80f5844a8de7b096636eb761b8ae8038">priv_</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>The <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> container. </p> </div><hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="a9405038fc44d1ba5b874142949273529"></a><!-- doxytag: member="Gtk::Util::TileView::SignalTileActivated" ref="a9405038fc44d1ba5b874142949273529" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef sigc::signal<void, <a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a>&> <a class="el" href="classGtk_1_1Util_1_1TileView.html#a9405038fc44d1ba5b874142949273529">Gtk::Util::TileView::SignalTileActivated</a></td> </tr> </table> </div> <div class="memdoc"> <p>Signal emmitted when user double-clicks, or pressed the Return key on a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> in the container. </p> <p>The signal passes a reference to the <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> that has been activated. </p> </div> </div> <a class="anchor" id="a018011cafb46821b7a39dcd167ac22ac"></a><!-- doxytag: member="Gtk::Util::TileView::SlotForEachTile" ref="a018011cafb46821b7a39dcd167ac22ac" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef sigc::slot<void, <a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a>&> <a class="el" href="classGtk_1_1Util_1_1TileView.html#a018011cafb46821b7a39dcd167ac22ac">Gtk::Util::TileView::SlotForEachTile</a></td> </tr> </table> </div> <div class="memdoc"> <p>Slot used to iterate over child <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> widgets. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1Util_1_1TileView.html#a4c0399c07844c5f67f22899f5e161e6f" title="Calls a supplied function for each child Tile.">for_each_tile()</a> </dd></dl> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a7de8b4a6453b85f15a39b4fd4840e78b"></a><!-- doxytag: member="Gtk::Util::TileView::TileView" ref="a7de8b4a6453b85f15a39b4fd4840e78b" args="(bool use_page_view=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::Util::TileView::TileView </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>use_page_view</em> = <code>true</code></td><td>)</td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructs a new <a class="el" href="classGtk_1_1Util_1_1TileView.html" title="The Tile container.">TileView</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">use_page_view</td><td>when <code>true</code>, indicates that tiles should be separated into pages; when <code>false</code>, all tiles will be displayed at once. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab9e5a2a81b1d4783f48c8ddbacd40101"></a><!-- doxytag: member="Gtk::Util::TileView::~TileView" ref="ab9e5a2a81b1d4783f48c8ddbacd40101" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::Util::TileView::~TileView </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classGtk_1_1Util_1_1TileView.html" title="The Tile container.">TileView</a> destructor. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aa073794f9c82961fd0fe84d1fbdac70b"></a><!-- doxytag: member="Gtk::Util::TileView::add_tile" ref="aa073794f9c82961fd0fe84d1fbdac70b" args="(Tile &tile)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::add_tile </td> <td>(</td> <td class="paramtype"><a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a> & </td> <td class="paramname"><em>tile</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Adds and shows a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> in the container. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">tile</td><td>a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> reference </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a5e3a696e5dd5b84d826890ef778be093"></a><!-- doxytag: member="Gtk::Util::TileView::add_tile" ref="a5e3a696e5dd5b84d826890ef778be093" args="(Tile *tile)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::add_tile </td> <td>(</td> <td class="paramtype"><a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a> * </td> <td class="paramname"><em>tile</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Adds and shows a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> in the container. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">tile</td><td>a <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> pointer </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ac92eaf58797193267a373d157ba62af0"></a><!-- doxytag: member="Gtk::Util::TileView::clear" ref="ac92eaf58797193267a373d157ba62af0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::clear </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Removes all child tiles and clears internal data. </p> </div> </div> <a class="anchor" id="a4c0399c07844c5f67f22899f5e161e6f"></a><!-- doxytag: member="Gtk::Util::TileView::for_each_tile" ref="a4c0399c07844c5f67f22899f5e161e6f" args="(const SlotForEachTile &slot)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::for_each_tile </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGtk_1_1Util_1_1TileView.html#a018011cafb46821b7a39dcd167ac22ac">SlotForEachTile</a> & </td> <td class="paramname"><em>slot</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Calls a supplied function for each child <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">slot</td><td>user function to call </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab9f02f40e5412e7cb78609d9e917316f"></a><!-- doxytag: member="Gtk::Util::TileView::get_page_navigator" ref="ab9f02f40e5412e7cb78609d9e917316f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classGtk_1_1Util_1_1PageNavigator.html">PageNavigator</a>& Gtk::Util::TileView::get_page_navigator </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the contained <a class="el" href="classGtk_1_1Util_1_1PageNavigator.html" title="Navigation bar.">PageNavigator</a> widget. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a <a class="el" href="classGtk_1_1Util_1_1PageNavigator.html" title="Navigation bar.">PageNavigator</a> reference </dd></dl> </div> </div> <a class="anchor" id="a3c01728f02eb622228afb41f133840d6"></a><!-- doxytag: member="Gtk::Util::TileView::get_selection" ref="a3c01728f02eb622228afb41f133840d6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classGtk_1_1Util_1_1Tile.html">Tile</a>* Gtk::Util::TileView::get_selection </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the last selected <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a>, or null of none is selected. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a>. </dd></dl> </div> </div> <a class="anchor" id="abdef7c6c501769d22f11b042be5cfed2"></a><!-- doxytag: member="Gtk::Util::TileView::get_tiles_per_page" ref="abdef7c6c501769d22f11b042be5cfed2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int Gtk::Util::TileView::get_tiles_per_page </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Gets the current number of tiles displayed in one page. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>the number of tiles displayed in one page </dd></dl> </div> </div> <a class="anchor" id="a089c9e9609fe5781aff5ff7764e6bc1e"></a><!-- doxytag: member="Gtk::Util::TileView::on_key_press_event" ref="a089c9e9609fe5781aff5ff7764e6bc1e" args="(GdkEventKey *event)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Gtk::Util::TileView::on_key_press_event </td> <td>(</td> <td class="paramtype">GdkEventKey * </td> <td class="paramname"><em>event</em></td><td>)</td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a441def962ec5628dd3d29c63f553ded3"></a><!-- doxytag: member="Gtk::Util::TileView::on_show_request" ref="a441def962ec5628dd3d29c63f553ded3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::on_show_request </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>called when child widget(s) request to be shown. </p> <p>This occurs after a new <a class="el" href="classGtk_1_1Util_1_1Tile.html" title="Extensible widget providing a highlighted title, summary and an image on the left-hand side...">Tile</a> has been added. </p> </div> </div> <a class="anchor" id="ad9b3ac061ce2b0d73e3116075ac04baa"></a><!-- doxytag: member="Gtk::Util::TileView::reset_selection" ref="ad9b3ac061ce2b0d73e3116075ac04baa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::reset_selection </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Resets current selection in the view. </p> </div> </div> <a class="anchor" id="aa3764c6090eff904b5ce39658d1d797f"></a><!-- doxytag: member="Gtk::Util::TileView::set_navigator_title" ref="aa3764c6090eff904b5ce39658d1d797f" args="(const Glib::ustring &title)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::set_navigator_title </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>title</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Sets a custom title in the TilePageNavigator above the content. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">title</td><td>a string </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab94a228df269ea5b11437bad2ffab51c"></a><!-- doxytag: member="Gtk::Util::TileView::set_navigator_title_markup" ref="ab94a228df269ea5b11437bad2ffab51c" args="(const Glib::ustring &marked_up_title)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::set_navigator_title_markup </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"><em>marked_up_title</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Sets a custom markup on the title in the TilePageNavigator above the content. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">marked_up_title</td><td>escaped markup string; escape strings with Glib::Markup::escape_text() </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a8077022e6c0dd4f80153eb4246de7852"></a><!-- doxytag: member="Gtk::Util::TileView::set_page_view" ref="a8077022e6c0dd4f80153eb4246de7852" args="(bool use_page_view=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::set_page_view </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>use_page_view</em> = <code>true</code></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the display style. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">use_page_view</td><td>when <code>true</code>, indicates that tiles should be separated into pages; when <code>false</code>, all tiles will be displayed at once </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a899bdb0769b83be0e5526129d14bb0e4"></a><!-- doxytag: member="Gtk::Util::TileView::set_tiles_per_page" ref="a899bdb0769b83be0e5526129d14bb0e4" args="(int tiles_per_page)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::set_tiles_per_page </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>tiles_per_page</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the number of tiles displayed in one page. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">tiles_per_page</td><td>a new number of tiles to be displayed in one page </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a8f65e40dddef87971a3a8a670038bcc2"></a><!-- doxytag: member="Gtk::Util::TileView::show_page_navigator" ref="a8f65e40dddef87971a3a8a670038bcc2" args="(bool show=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Gtk::Util::TileView::show_page_navigator </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>show</em> = <code>true</code></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Shows or hides a TilePageNavigator above the content. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">show</td><td>indicates whether to show or hide the navigation bar </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="adf8bc82a61c33392d9c2920b3d9db498"></a><!-- doxytag: member="Gtk::Util::TileView::signal_tile_activated" ref="adf8bc82a61c33392d9c2920b3d9db498" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1Util_1_1TileView.html#a9405038fc44d1ba5b874142949273529">SignalTileActivated</a>& Gtk::Util::TileView::signal_tile_activated </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the SignalActivated, which you can connect to. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a reference to the TileView's SignalActivated. </dd></dl> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a80f5844a8de7b096636eb761b8ae8038"></a><!-- doxytag: member="Gtk::Util::TileView::priv_" ref="a80f5844a8de7b096636eb761b8ae8038" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::auto_ptr<Private> <a class="el" href="classGtk_1_1Util_1_1TileView.html#a80f5844a8de7b096636eb761b8ae8038">Gtk::Util::TileView::priv_</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="tile-view_8h.html">tile-view.h</a></li> </ul> </div> </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="namespaceGtk_1_1Util.html">Util</a> </li> <li class="navelem"><a class="el" href="classGtk_1_1Util_1_1TileView.html">TileView</a> </li> <li class="footer">Generated on Wed Feb 9 2011 for gtkmm-utils by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> </ul> </div> </body> </html>