<!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: Gtk::ProgressBar Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <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 <span id="projectnumber">2.24.4</span></div> </td> </tr> </tbody> </table> </div> <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_1ProgressBar.html">ProgressBar</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <h1>Gtk::ProgressBar Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a></div></h1> </div> </div> <div class="contents"> <!-- doxytag: class="Gtk::ProgressBar" --><!-- doxytag: inherits="Gtk::Widget" --> <p>A widget which indicates progress visually. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for Gtk::ProgressBar:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1ProgressBar__inherit__graph.png" border="0" usemap="#Gtk_1_1ProgressBar_inherit__map" alt="Inheritance graph"/></div> <map name="Gtk_1_1ProgressBar_inherit__map" id="Gtk_1_1ProgressBar_inherit__map"> <area shape="rect" id="node2" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node4" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node6" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node8" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node10" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node12" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for Gtk::ProgressBar:</div> <div class="dyncontent"> <div class="center"><img src="classGtk_1_1ProgressBar__coll__graph.png" border="0" usemap="#Gtk_1_1ProgressBar_coll__map" alt="Collaboration graph"/></div> <map name="Gtk_1_1ProgressBar_coll__map" id="Gtk_1_1ProgressBar_coll__map"> <area shape="rect" id="node2" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="89,315,183,344"/><area shape="rect" id="node4" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="21,237,115,267"/><area shape="rect" id="node6" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="21,160,115,189"/><area shape="rect" id="node8" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,131,112"/><area shape="rect" id="node10" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="11,5,125,35"/><area shape="rect" id="node12" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="139,237,272,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGtk_1_1ProgressBar-members.html">List of all members.</a></p> <table class="memberdecls"> <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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#acae7969db7608963603956601a412617">~ProgressBar</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkProgressBar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a07f879d345611f7dd0066ceecb8ecf95">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a07f879d345611f7dd0066ceecb8ecf95"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkProgressBar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a436514b2bbc7e65c6bb3acc8567a0962">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a436514b2bbc7e65c6bb3acc8567a0962"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a858446fa519774ff54caed7bb87be5f1">ProgressBar</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a540b11622168ecb6da6ec77a918287f1">pulse</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates that some progress is made, but you don't know how much. <a href="#a540b11622168ecb6da6ec77a918287f1"></a><br/></td></tr> <tr><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="classGtk_1_1ProgressBar.html#ad253279dc9fa248082d21c8fb4ded6d9">get_text</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the text displayed superimposed on the progress bar, if any. <a href="#ad253279dc9fa248082d21c8fb4ded6d9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a8944b906ff4ecdfc284c12fbc3103dce">set_text</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Causes the given <em>text</em> to appear superimposed on the progress bar. <a href="#a8944b906ff4ecdfc284c12fbc3103dce"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a2a0c02bc2def272773dcf7e5c23a0470">get_fraction</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current fraction of the task that's been completed. <a href="#a2a0c02bc2def272773dcf7e5c23a0470"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a2b0f1e2619bb296d0290cba2ce3de1b3">set_fraction</a> (double fraction)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Causes the progress bar to "fill in" the given fraction of the bar. <a href="#a2b0f1e2619bb296d0290cba2ce3de1b3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a454ad874e4579cab01da0eec12b41dd9">get_pulse_step</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the pulse step set with <a class="el" href="classGtk_1_1ProgressBar.html#a44e339d07c2bbfdbc1d8722dd7ca265c" title="Sets the fraction of total progress bar length to move the bouncing block for each call to pulse()...">set_pulse_step()</a> <a href="#a454ad874e4579cab01da0eec12b41dd9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a44e339d07c2bbfdbc1d8722dd7ca265c">set_pulse_step</a> (double fraction)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the fraction of total progress bar length to move the bouncing block for each call to <a class="el" href="classGtk_1_1ProgressBar.html#a540b11622168ecb6da6ec77a918287f1" title="Indicates that some progress is made, but you don't know how much.">pulse()</a>. <a href="#a44e339d07c2bbfdbc1d8722dd7ca265c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a15a2099eea33c0903253edaa330236ee">set_orientation</a> (<a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a> orientation=PROGRESS_LEFT_TO_RIGHT)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Causes the progress bar to switch to a different orientation (left-to-right, right-to-left, top-to-bottom, or bottom-to-top). <a href="#a15a2099eea33c0903253edaa330236ee"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#affb55a083f809580b25557d1267626ee">get_orientation</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the current progress bar orientation. <a href="#affb55a083f809580b25557d1267626ee"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a757a76b3e5850a27e3a072d55657279b">set_ellipsize</a> (<a class="elRef" href="../../../pangomm-1.4/reference/html/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a> mode)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the mode used to ellipsize (add an ellipsis: "...") the text if there is not enough space to render the entire string. <a href="#a757a76b3e5850a27e3a072d55657279b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../pangomm-1.4/reference/html/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#aa0282e0b3feacc66a4c758804eef33aa">get_ellipsize</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the ellipsizing position of the progressbar. <a href="#aa0282e0b3feacc66a4c758804eef33aa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#ad8bb018a4f789f940b5fc6bd7b14913c">property_adjustment</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkAdjustment connected to the progress bar (Deprecated). <a href="#ad8bb018a4f789f940b5fc6bd7b14913c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a34bd80086fbab18c1ff6092fb69ba439">property_adjustment</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkAdjustment connected to the progress bar (Deprecated). <a href="#a34bd80086fbab18c1ff6092fb69ba439"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a82255016ad2a5fe4b394cb75f20a4180">property_fraction</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The fraction of total work that has been completed. <a href="#a82255016ad2a5fe4b394cb75f20a4180"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#af0d365e99e6d6da56f85a1c825b8521d">property_fraction</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The fraction of total work that has been completed. <a href="#af0d365e99e6d6da56f85a1c825b8521d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a3e6659f61a67ad6b7efe1202212cca18">property_pulse_step</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The fraction of total progress to move the bouncing block when pulsed. <a href="#a3e6659f61a67ad6b7efe1202212cca18"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#ad2147232471a77efbfb42ac4e4cfa15c">property_pulse_step</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The fraction of total progress to move the bouncing block when pulsed. <a href="#ad2147232471a77efbfb42ac4e4cfa15c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#ac459e2384b571be9f0ec4f1b8a0285ab">property_orientation</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Orientation and growth direction of the progress bar. <a href="#ac459e2384b571be9f0ec4f1b8a0285ab"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#ab8dff2cb6a9cdc09605fc9f16e6170e0">property_orientation</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Orientation and growth direction of the progress bar. <a href="#ab8dff2cb6a9cdc09605fc9f16e6170e0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="el" href="group__gtkmmEnums.html#gac68c2d059dd9d8f1ee22189e02ed9f18">ProgressBarStyle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a216f7928d529e00e88782fd426fd1ad6">property_bar_style</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies the visual style of the bar in percentage mode (Deprecated). <a href="#a216f7928d529e00e88782fd426fd1ad6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="el" href="group__gtkmmEnums.html#gac68c2d059dd9d8f1ee22189e02ed9f18">ProgressBarStyle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a827fd6f3b5ed45c72676d772c074b887">property_bar_style</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Specifies the visual style of the bar in percentage mode (Deprecated). <a href="#a827fd6f3b5ed45c72676d772c074b887"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#ab3684661c745b03563c69130acbed5f9">property_activity_step</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The increment used for each iteration in activity mode (Deprecated). <a href="#ab3684661c745b03563c69130acbed5f9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a85037711b0b258c9a98cffeecfab45af">property_activity_step</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The increment used for each iteration in activity mode (Deprecated). <a href="#a85037711b0b258c9a98cffeecfab45af"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a3df7110deb0b3d5e75b6e43dbb8bd9c7">property_activity_blocks</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of blocks which can fit in the progress bar area in activity mode (Deprecated). <a href="#a3df7110deb0b3d5e75b6e43dbb8bd9c7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a54c8f5b9a8e1ace01d701ff3c0e95892">property_activity_blocks</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of blocks which can fit in the progress bar area in activity mode (Deprecated). <a href="#a54c8f5b9a8e1ace01d701ff3c0e95892"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#ad4a37ef4813081a1e75ea371351bb77e">property_discrete_blocks</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of discrete blocks in a progress bar (when shown in the discrete style). <a href="#ad4a37ef4813081a1e75ea371351bb77e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a0545a8d7b798a0f6975d465470449734">property_discrete_blocks</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of discrete blocks in a progress bar (when shown in the discrete style). <a href="#a0545a8d7b798a0f6975d465470449734"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <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="classGtk_1_1ProgressBar.html#a7beea96cbdf484f1662e4288781d05b3">property_text</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Text to be displayed in the progress bar. <a href="#a7beea96cbdf484f1662e4288781d05b3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <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="classGtk_1_1ProgressBar.html#aae7c52de547fc84ec1bb9d7d558c5c0f">property_text</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Text to be displayed in the progress bar. <a href="#aae7c52de547fc84ec1bb9d7d558c5c0f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#aea3cb0e5e1fe1f1d63f5c732a99d9714">property_ellipsize</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The preferred place to ellipsize the string, if the progress bar does not have enough room to display the entire string, if at all. <a href="#aea3cb0e5e1fe1f1d63f5c732a99d9714"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#ad5f112713f68657d2a9ec4fc69358c09">property_ellipsize</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The preferred place to ellipsize the string, if the progress bar does not have enough room to display the entire string, if at all. <a href="#ad5f112713f68657d2a9ec4fc69358c09"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1ProgressBar.html">Gtk::ProgressBar</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1ProgressBar.html#a4cfc731f614759c2cb4097396601a3a1">wrap</a> (GtkProgressBar* object, bool take_copy=false)</td></tr> <tr><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="#a4cfc731f614759c2cb4097396601a3a1"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A widget which indicates progress visually. </p> <p>The <a class="el" href="classGtk_1_1ProgressBar.html" title="A widget which indicates progress visually.">Gtk::ProgressBar</a> is typically used to display the progress of a long running operation. It provides a visual clue that processing is underway. The <a class="el" href="classGtk_1_1ProgressBar.html" title="A widget which indicates progress visually.">Gtk::ProgressBar</a> can be used in two different modes: percentage mode and activity mode.</p> <p>When an application can determine how much work needs to take place (e.g. read a fixed number of bytes from a file) and can monitor its progress, it can use the <a class="el" href="classGtk_1_1ProgressBar.html" title="A widget which indicates progress visually.">Gtk::ProgressBar</a> in percentage mode and the user sees a growing bar indicating the percentage of the work that has been completed. In this mode, the application is required to call <a class="el" href="classGtk_1_1ProgressBar.html#a2b0f1e2619bb296d0290cba2ce3de1b3" title="Causes the progress bar to "fill in" the given fraction of the bar.">set_fraction()</a> periodically to update the progress bar.</p> <p>When an application has no accurate way of knowing the amount of work to do, it can use the <a class="el" href="classGtk_1_1ProgressBar.html" title="A widget which indicates progress visually.">Gtk::ProgressBar</a> in activity mode, which shows activity by a block moving back and forth within the progress area. In this mode, the application is required to call <a class="el" href="classGtk_1_1ProgressBar.html#a540b11622168ecb6da6ec77a918287f1" title="Indicates that some progress is made, but you don't know how much.">pulse()</a> perodically to update the progress bar.</p> <p>There is quite a bit of flexibility provided to control the appearance of the <a class="el" href="classGtk_1_1ProgressBar.html" title="A widget which indicates progress visually.">Gtk::ProgressBar</a>. Functions are provided to control the orientation of the bar, optional text can be displayed along with the bar, and the step size used in activity mode can be set.</p> <p>The <a class="el" href="classGtk_1_1ProgressBar.html" title="A widget which indicates progress visually.">ProgressBar</a> widget looks like this: </p> <div align="center"> <img src="progressbar1.png" alt="progressbar1.png"/> </div> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="acae7969db7608963603956601a412617"></a><!-- doxytag: member="Gtk::ProgressBar::~ProgressBar" ref="acae7969db7608963603956601a412617" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Gtk::ProgressBar::~ProgressBar </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a858446fa519774ff54caed7bb87be5f1"></a><!-- doxytag: member="Gtk::ProgressBar::ProgressBar" ref="a858446fa519774ff54caed7bb87be5f1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gtk::ProgressBar::ProgressBar </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aa0282e0b3feacc66a4c758804eef33aa"></a><!-- doxytag: member="Gtk::ProgressBar::get_ellipsize" ref="aa0282e0b3feacc66a4c758804eef33aa" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../pangomm-1.4/reference/html/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a> Gtk::ProgressBar::get_ellipsize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the ellipsizing position of the progressbar. </p> <p>See <a class="el" href="classGtk_1_1ProgressBar.html#a757a76b3e5850a27e3a072d55657279b" title="Sets the mode used to ellipsize (add an ellipsis: "...") the text if there is not enough sp...">set_ellipsize()</a>.</p> <dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000140">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> <dl class="return"><dt><b>Returns:</b></dt><dd><a class="elRef" href="../../../pangomm-1.4/reference/html/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a>. </dd></dl> </div> </div> <a class="anchor" id="a2a0c02bc2def272773dcf7e5c23a0470"></a><!-- doxytag: member="Gtk::ProgressBar::get_fraction" ref="a2a0c02bc2def272773dcf7e5c23a0470" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double Gtk::ProgressBar::get_fraction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the current fraction of the task that's been completed. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A fraction from 0.0 to 1.0. </dd></dl> </div> </div> <a class="anchor" id="affb55a083f809580b25557d1267626ee"></a><!-- doxytag: member="Gtk::ProgressBar::get_orientation" ref="affb55a083f809580b25557d1267626ee" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a> Gtk::ProgressBar::get_orientation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the current progress bar orientation. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Orientation of the progress bar. </dd></dl> </div> </div> <a class="anchor" id="a454ad874e4579cab01da0eec12b41dd9"></a><!-- doxytag: member="Gtk::ProgressBar::get_pulse_step" ref="a454ad874e4579cab01da0eec12b41dd9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double Gtk::ProgressBar::get_pulse_step </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the pulse step set with <a class="el" href="classGtk_1_1ProgressBar.html#a44e339d07c2bbfdbc1d8722dd7ca265c" title="Sets the fraction of total progress bar length to move the bouncing block for each call to pulse()...">set_pulse_step()</a> </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A fraction from 0.0 to 1.0. </dd></dl> </div> </div> <a class="anchor" id="ad253279dc9fa248082d21c8fb4ded6d9"></a><!-- doxytag: member="Gtk::ProgressBar::get_text" ref="ad253279dc9fa248082d21c8fb4ded6d9" args="() const " --> <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> Gtk::ProgressBar::get_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the text displayed superimposed on the progress bar, if any. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>Text. </dd></dl> </div> </div> <a class="anchor" id="a07f879d345611f7dd0066ceecb8ecf95"></a><!-- doxytag: member="Gtk::ProgressBar::gobj" ref="a07f879d345611f7dd0066ceecb8ecf95" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkProgressBar* Gtk::ProgressBar::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GtkObject. </p> <p>Reimplemented from <a class="el" href="classGtk_1_1Widget.html#a6667a82920375b2ebde07bc1ffdc3641">Gtk::Widget</a>.</p> </div> </div> <a class="anchor" id="a436514b2bbc7e65c6bb3acc8567a0962"></a><!-- doxytag: member="Gtk::ProgressBar::gobj" ref="a436514b2bbc7e65c6bb3acc8567a0962" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkProgressBar* Gtk::ProgressBar::gobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GtkObject. </p> <p>Reimplemented from <a class="el" href="classGtk_1_1Widget.html#ad998178529a53b80f3de96d10b1deffd">Gtk::Widget</a>.</p> </div> </div> <a class="anchor" id="a3df7110deb0b3d5e75b6e43dbb8bd9c7"></a><!-- doxytag: member="Gtk::ProgressBar::property_activity_blocks" ref="a3df7110deb0b3d5e75b6e43dbb8bd9c7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><guint> Gtk::ProgressBar::property_activity_blocks </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The number of blocks which can fit in the progress bar area in activity mode (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a54c8f5b9a8e1ace01d701ff3c0e95892"></a><!-- doxytag: member="Gtk::ProgressBar::property_activity_blocks" ref="a54c8f5b9a8e1ace01d701ff3c0e95892" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><guint> Gtk::ProgressBar::property_activity_blocks </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The number of blocks which can fit in the progress bar area in activity mode (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ab3684661c745b03563c69130acbed5f9"></a><!-- doxytag: member="Gtk::ProgressBar::property_activity_step" ref="ab3684661c745b03563c69130acbed5f9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><guint> Gtk::ProgressBar::property_activity_step </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The increment used for each iteration in activity mode (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a85037711b0b258c9a98cffeecfab45af"></a><!-- doxytag: member="Gtk::ProgressBar::property_activity_step" ref="a85037711b0b258c9a98cffeecfab45af" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><guint> Gtk::ProgressBar::property_activity_step </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The increment used for each iteration in activity mode (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ad8bb018a4f789f940b5fc6bd7b14913c"></a><!-- doxytag: member="Gtk::ProgressBar::property_adjustment" ref="ad8bb018a4f789f940b5fc6bd7b14913c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>*> Gtk::ProgressBar::property_adjustment </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The GtkAdjustment connected to the progress bar (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a34bd80086fbab18c1ff6092fb69ba439"></a><!-- doxytag: member="Gtk::ProgressBar::property_adjustment" ref="a34bd80086fbab18c1ff6092fb69ba439" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>*> Gtk::ProgressBar::property_adjustment </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The GtkAdjustment connected to the progress bar (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a216f7928d529e00e88782fd426fd1ad6"></a><!-- doxytag: member="Gtk::ProgressBar::property_bar_style" ref="a216f7928d529e00e88782fd426fd1ad6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="group__gtkmmEnums.html#gac68c2d059dd9d8f1ee22189e02ed9f18">ProgressBarStyle</a>> Gtk::ProgressBar::property_bar_style </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Specifies the visual style of the bar in percentage mode (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a827fd6f3b5ed45c72676d772c074b887"></a><!-- doxytag: member="Gtk::ProgressBar::property_bar_style" ref="a827fd6f3b5ed45c72676d772c074b887" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="group__gtkmmEnums.html#gac68c2d059dd9d8f1ee22189e02ed9f18">ProgressBarStyle</a>> Gtk::ProgressBar::property_bar_style </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Specifies the visual style of the bar in percentage mode (Deprecated). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a0545a8d7b798a0f6975d465470449734"></a><!-- doxytag: member="Gtk::ProgressBar::property_discrete_blocks" ref="a0545a8d7b798a0f6975d465470449734" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><guint> Gtk::ProgressBar::property_discrete_blocks </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The number of discrete blocks in a progress bar (when shown in the discrete style). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ad4a37ef4813081a1e75ea371351bb77e"></a><!-- doxytag: member="Gtk::ProgressBar::property_discrete_blocks" ref="ad4a37ef4813081a1e75ea371351bb77e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><guint> Gtk::ProgressBar::property_discrete_blocks </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The number of discrete blocks in a progress bar (when shown in the discrete style). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="aea3cb0e5e1fe1f1d63f5c732a99d9714"></a><!-- doxytag: member="Gtk::ProgressBar::property_ellipsize" ref="aea3cb0e5e1fe1f1d63f5c732a99d9714" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::ProgressBar::property_ellipsize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The preferred place to ellipsize the string, if the progress bar does not have enough room to display the entire string, if at all. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ad5f112713f68657d2a9ec4fc69358c09"></a><!-- doxytag: member="Gtk::ProgressBar::property_ellipsize" ref="ad5f112713f68657d2a9ec4fc69358c09" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::ProgressBar::property_ellipsize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The preferred place to ellipsize the string, if the progress bar does not have enough room to display the entire string, if at all. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="af0d365e99e6d6da56f85a1c825b8521d"></a><!-- doxytag: member="Gtk::ProgressBar::property_fraction" ref="af0d365e99e6d6da56f85a1c825b8521d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><double> Gtk::ProgressBar::property_fraction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The fraction of total work that has been completed. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a82255016ad2a5fe4b394cb75f20a4180"></a><!-- doxytag: member="Gtk::ProgressBar::property_fraction" ref="a82255016ad2a5fe4b394cb75f20a4180" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><double> Gtk::ProgressBar::property_fraction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The fraction of total work that has been completed. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ac459e2384b571be9f0ec4f1b8a0285ab"></a><!-- doxytag: member="Gtk::ProgressBar::property_orientation" ref="ac459e2384b571be9f0ec4f1b8a0285ab" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a>> Gtk::ProgressBar::property_orientation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Orientation and growth direction of the progress bar. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ab8dff2cb6a9cdc09605fc9f16e6170e0"></a><!-- doxytag: member="Gtk::ProgressBar::property_orientation" ref="ab8dff2cb6a9cdc09605fc9f16e6170e0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a>> Gtk::ProgressBar::property_orientation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Orientation and growth direction of the progress bar. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ad2147232471a77efbfb42ac4e4cfa15c"></a><!-- doxytag: member="Gtk::ProgressBar::property_pulse_step" ref="ad2147232471a77efbfb42ac4e4cfa15c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><double> Gtk::ProgressBar::property_pulse_step </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The fraction of total progress to move the bouncing block when pulsed. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a3e6659f61a67ad6b7efe1202212cca18"></a><!-- doxytag: member="Gtk::ProgressBar::property_pulse_step" ref="a3e6659f61a67ad6b7efe1202212cca18" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><double> Gtk::ProgressBar::property_pulse_step </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The fraction of total progress to move the bouncing block when pulsed. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="aae7c52de547fc84ec1bb9d7d558c5c0f"></a><!-- doxytag: member="Gtk::ProgressBar::property_text" ref="aae7c52de547fc84ec1bb9d7d558c5c0f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::ProgressBar::property_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Text to be displayed in the progress bar. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a7beea96cbdf484f1662e4288781d05b3"></a><!-- doxytag: member="Gtk::ProgressBar::property_text" ref="a7beea96cbdf484f1662e4288781d05b3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> Gtk::ProgressBar::property_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Text to be displayed in the progress bar. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a540b11622168ecb6da6ec77a918287f1"></a><!-- doxytag: member="Gtk::ProgressBar::pulse" ref="a540b11622168ecb6da6ec77a918287f1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ProgressBar::pulse </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Indicates that some progress is made, but you don't know how much. </p> <p>Causes the progress bar to enter "activity mode," where a block bounces back and forth. Each call to <a class="el" href="classGtk_1_1ProgressBar.html#a540b11622168ecb6da6ec77a918287f1" title="Indicates that some progress is made, but you don't know how much.">pulse()</a> causes the block to move by a little bit (the amount of movement per pulse is determined by <a class="el" href="classGtk_1_1ProgressBar.html#a44e339d07c2bbfdbc1d8722dd7ca265c" title="Sets the fraction of total progress bar length to move the bouncing block for each call to pulse()...">set_pulse_step()</a>). </p> </div> </div> <a class="anchor" id="a757a76b3e5850a27e3a072d55657279b"></a><!-- doxytag: member="Gtk::ProgressBar::set_ellipsize" ref="a757a76b3e5850a27e3a072d55657279b" args="(Pango::EllipsizeMode mode)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ProgressBar::set_ellipsize </td> <td>(</td> <td class="paramtype"><a class="elRef" href="../../../pangomm-1.4/reference/html/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a> </td> <td class="paramname"><em>mode</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the mode used to ellipsize (add an ellipsis: "...") the text if there is not enough space to render the entire string. </p> <dl class="since_2_6"><dt><b><a class="el" href="since_2_6.html#_since_2_6000139">Since gtkmm 2.6:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">mode</td><td>A <a class="elRef" href="../../../pangomm-1.4/reference/html/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2b0f1e2619bb296d0290cba2ce3de1b3"></a><!-- doxytag: member="Gtk::ProgressBar::set_fraction" ref="a2b0f1e2619bb296d0290cba2ce3de1b3" args="(double fraction)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ProgressBar::set_fraction </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>fraction</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Causes the progress bar to "fill in" the given fraction of the bar. </p> <p>The fraction should be between 0.0 and 1.0, inclusive. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">fraction</td><td>Fraction of the task that's been completed. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a15a2099eea33c0903253edaa330236ee"></a><!-- doxytag: member="Gtk::ProgressBar::set_orientation" ref="a15a2099eea33c0903253edaa330236ee" args="(ProgressBarOrientation orientation=PROGRESS_LEFT_TO_RIGHT)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ProgressBar::set_orientation </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gaf7167797301c24d5a878083e76e8d751">ProgressBarOrientation</a> </td> <td class="paramname"><em>orientation</em> = <code>PROGRESS_LEFT_TO_RIGHT</code></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Causes the progress bar to switch to a different orientation (left-to-right, right-to-left, top-to-bottom, or bottom-to-top). </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">orientation</td><td>Orientation of the progress bar. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a44e339d07c2bbfdbc1d8722dd7ca265c"></a><!-- doxytag: member="Gtk::ProgressBar::set_pulse_step" ref="a44e339d07c2bbfdbc1d8722dd7ca265c" args="(double fraction)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ProgressBar::set_pulse_step </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>fraction</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the fraction of total progress bar length to move the bouncing block for each call to <a class="el" href="classGtk_1_1ProgressBar.html#a540b11622168ecb6da6ec77a918287f1" title="Indicates that some progress is made, but you don't know how much.">pulse()</a>. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">fraction</td><td>Fraction between 0.0 and 1.0. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a8944b906ff4ecdfc284c12fbc3103dce"></a><!-- doxytag: member="Gtk::ProgressBar::set_text" ref="a8944b906ff4ecdfc284c12fbc3103dce" args="(const Glib::ustring &text)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gtk::ProgressBar::set_text </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Causes the given <em>text</em> to appear superimposed on the progress bar. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>A UTF-8 string, or <code>0</code>. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a4cfc731f614759c2cb4097396601a3a1"></a><!-- doxytag: member="Gtk::ProgressBar::wrap" ref="a4cfc731f614759c2cb4097396601a3a1" args="(GtkProgressBar *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGtk_1_1ProgressBar.html">Gtk::ProgressBar</a>* wrap </td> <td>(</td> <td class="paramtype">GtkProgressBar * </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><code> [related]</code></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><dt><b>Parameters:</b></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="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>gtkmm/progressbar.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Jun 25 2013 for gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>