29
32
<div class="contents">
30
<h1>Gtk::InfoBar Class Reference<br>
33
<h1>Gtk::InfoBar Class Reference<br/>
32
35
[<a class="el" href="group__Widgets.html">Widgets</a>]</small>
33
</h1><!-- doxytag: class="Gtk::InfoBar" --><!-- doxytag: inherits="Gtk::HBox" -->This widget that can be used to show messages to the user without showing a dialog. <a href="#_details">More...</a>
35
Inherits <a class="el" href="classGtk_1_1HBox.html">Gtk::HBox</a>.
36
</h1><!-- doxytag: class="Gtk::InfoBar" --><!-- doxytag: inherits="Gtk::HBox" -->
37
<p>This widget that can be used to show messages to the user without showing a dialog. <a href="#_details">More...</a></p>
39
<p>Inherits <a class="el" href="classGtk_1_1HBox.html">Gtk::HBox</a>.</p>
37
40
<div class="dynheader">
38
41
Collaboration diagram for Gtk::InfoBar:</div>
39
42
<div class="dynsection">
40
<p><center><img src="classGtk_1_1InfoBar__coll__graph.png" border="0" usemap="#Gtk_1_1InfoBar__coll__map" alt="Collaboration graph"></center>
41
<map name="Gtk_1_1InfoBar__coll__map">
42
<area shape="rect" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row." alt="" coords="72,528,155,555"><area shape="rect" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="77,453,149,480"><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,379,165,405"><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,304,159,331"><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such..." alt="" coords="5,229,93,256"><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,155,96,181"><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,80,171,107"><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,155,227,181"><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,32"><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,229,237,256"></map>
43
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
46
<a href="classGtk_1_1InfoBar-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
48
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#120102bad2c448215cd17ed7bae66fb7">~InfoBar</a> ()</td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkInfoBar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#64d9affd6ae0c2db8176799e7f537c73">gobj</a> ()</td></tr>
53
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#64d9affd6ae0c2db8176799e7f537c73"></a><br></td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkInfoBar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#2eae151f9555eb6dd7b6d2cfe68527bd">gobj</a> () const </td></tr>
56
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#2eae151f9555eb6dd7b6d2cfe68527bd"></a><br></td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#e6d3b9ebcba99c59342d7e503e18bdf3">InfoBar</a> ()</td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#fddb70300bb21fd9d985f1014be66a69">get_action_area</a> ()</td></tr>
61
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the action area. <a href="#fddb70300bb21fd9d985f1014be66a69"></a><br></td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#df98101fc79b5d671a0aa26ba63d4a62">get_action_area</a> () const </td></tr>
64
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the action area. <a href="#df98101fc79b5d671a0aa26ba63d4a62"></a><br></td></tr>
65
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#acd09015a4f4a2f96e4adc42da88c02f">get_content_area</a> ()</td></tr>
67
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the content area. <a href="#acd09015a4f4a2f96e4adc42da88c02f"></a><br></td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#0239b620ff0b78230cbc27667fa8d8be">get_content_area</a> () const </td></tr>
70
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the content area. <a href="#0239b620ff0b78230cbc27667fa8d8be"></a><br></td></tr>
71
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#91b61b0b09d281e916a144d1967f2118">add_action_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, int response_id)</td></tr>
73
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an activatable widget to the action area of a <a class="el" href="classGtk_1_1InfoBar.html" title="This widget that can be used to show messages to the user without showing a dialog...">Gtk::InfoBar</a>, connecting a signal handler that will emit the <a class="el" href="classGtk_1_1InfoBar.html#291d5ee1d3476de76306df6d2c48d78d" title="Emits the 'response' signal with the given response_id.">Gtk::InfoBar::response</a> signal on the message area when the widget is activated. <a href="#91b61b0b09d281e916a144d1967f2118"></a><br></td></tr>
74
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#03b9a985be0b8e56e529c8559ba95c7f">add_button</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& button_text, int response_id)</td></tr>
76
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id. <a href="#03b9a985be0b8e56e529c8559ba95c7f"></a><br></td></tr>
77
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#9cbc253d36236449628ee3270cb8728c">add_button</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, int response_id)</td></tr>
79
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id. <a href="#9cbc253d36236449628ee3270cb8728c"></a><br></td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#4268bfa2cc6998a1b103b5ab0eb7cf0a">set_response_sensitive</a> (int response_id, bool setting=true)</td></tr>
82
<tr><td class="mdescLeft"> </td><td class="mdescRight">Calls gtk_widget_set_sensitive (widget, setting) for each widget in the info bars's action area with the given response_id. <a href="#4268bfa2cc6998a1b103b5ab0eb7cf0a"></a><br></td></tr>
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#8f1e615b675b31f01b07172f6ad7dc52">set_default_response</a> (int response_id)</td></tr>
85
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the last widget in the info bar's action area with the given response_id as the default widget for the dialog. <a href="#8f1e615b675b31f01b07172f6ad7dc52"></a><br></td></tr>
86
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#291d5ee1d3476de76306df6d2c48d78d">response</a> (int response_id)</td></tr>
88
<tr><td class="mdescLeft"> </td><td class="mdescRight">Emits the 'response' signal with the given <em>response_id</em>. <a href="#291d5ee1d3476de76306df6d2c48d78d"></a><br></td></tr>
89
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#118aee05364b0c0f4ee50f5fd8f9d304">set_message_type</a> (<a class="el" href="group__gtkmmEnums.html#g8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> message_type)</td></tr>
91
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the message type of the message area. <a href="#118aee05364b0c0f4ee50f5fd8f9d304"></a><br></td></tr>
92
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#g8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#d4983833fe92d98fa9eac7438ea48661">get_message_type</a> () const </td></tr>
94
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the message type of the message area. <a href="#d4983833fe92d98fa9eac7438ea48661"></a><br></td></tr>
95
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#63ad844b70c72d4feb1e696a23e500a2">signal_response</a> ()</td></tr>
97
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="group__gtkmmEnums.html#g8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#b7e0bf11104cde54f6e7215633e448d9">property_message_type</a> ()</td></tr>
99
<tr><td class="mdescLeft"> </td><td class="mdescRight">The type of message. <a href="#b7e0bf11104cde54f6e7215633e448d9"></a><br></td></tr>
100
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
101
< <a class="el" href="group__gtkmmEnums.html#g8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#8163189c88385da33410a03d86d9874f">property_message_type</a> () const </td></tr>
103
<tr><td class="mdescLeft"> </td><td class="mdescRight">The type of message. <a href="#8163189c88385da33410a03d86d9874f"></a><br></td></tr>
104
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
105
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#ec677447b9fce30e6f154d631770b016">on_response</a> (int response_id)</td></tr>
107
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
108
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1InfoBar.html">Gtk::InfoBar</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#4a1c7856c1c8b30910df3495787c5876">wrap</a> (GtkInfoBar* object, bool take_copy=false)</td></tr>
111
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#4a1c7856c1c8b30910df3495787c5876"></a><br></td></tr>
43
<div class="center"><img src="classGtk_1_1InfoBar__coll__graph.png" border="0" usemap="#Gtk_1_1InfoBar_coll__map" alt="Collaboration graph"/></div>
44
<map name="Gtk_1_1InfoBar_coll__map" id="Gtk_1_1InfoBar_coll__map">
45
<area shape="rect" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row." alt="" coords="72,528,155,555"/><area shape="rect" href="classGtk_1_1Box.html" title="A base class for box containers." alt="" coords="77,453,149,480"/><area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,379,165,405"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,304,159,331"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such..." alt="" coords="5,229,93,256"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,155,96,181"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,80,171,107"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,155,227,181"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,32"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,229,237,256"/></map>
46
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
48
<p><a href="classGtk_1_1InfoBar-members.html">List of all members.</a></p>
49
<table border="0" cellpadding="0" cellspacing="0">
50
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a120102bad2c448215cd17ed7bae66fb7">~InfoBar</a> ()</td></tr>
52
<tr><td class="memItemLeft" align="right" valign="top">GtkInfoBar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a64d9affd6ae0c2db8176799e7f537c73">gobj</a> ()</td></tr>
53
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a64d9affd6ae0c2db8176799e7f537c73"></a><br/></td></tr>
54
<tr><td class="memItemLeft" align="right" valign="top">const GtkInfoBar* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a2eae151f9555eb6dd7b6d2cfe68527bd">gobj</a> () const </td></tr>
55
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a2eae151f9555eb6dd7b6d2cfe68527bd"></a><br/></td></tr>
56
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#ae6d3b9ebcba99c59342d7e503e18bdf3">InfoBar</a> ()</td></tr>
57
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#afddb70300bb21fd9d985f1014be66a69">get_action_area</a> ()</td></tr>
58
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the action area. <a href="#afddb70300bb21fd9d985f1014be66a69"></a><br/></td></tr>
59
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#adf98101fc79b5d671a0aa26ba63d4a62">get_action_area</a> () const </td></tr>
60
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the action area. <a href="#adf98101fc79b5d671a0aa26ba63d4a62"></a><br/></td></tr>
61
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#aacd09015a4f4a2f96e4adc42da88c02f">get_content_area</a> ()</td></tr>
62
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the content area. <a href="#aacd09015a4f4a2f96e4adc42da88c02f"></a><br/></td></tr>
63
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Widget.html">Widget</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a0239b620ff0b78230cbc27667fa8d8be">get_content_area</a> () const </td></tr>
64
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the content area. <a href="#a0239b620ff0b78230cbc27667fa8d8be"></a><br/></td></tr>
65
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a91b61b0b09d281e916a144d1967f2118">add_action_widget</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, int response_id)</td></tr>
66
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an activatable widget to the action area of a <a class="el" href="classGtk_1_1InfoBar.html" title="This widget that can be used to show messages to the user without showing a dialog...">Gtk::InfoBar</a>, connecting a signal handler that will emit the <a class="el" href="classGtk_1_1InfoBar.html#a291d5ee1d3476de76306df6d2c48d78d" title="Emits the 'response' signal with the given response_id.">Gtk::InfoBar::response</a> signal on the message area when the widget is activated. <a href="#a91b61b0b09d281e916a144d1967f2118"></a><br/></td></tr>
67
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a03b9a985be0b8e56e529c8559ba95c7f">add_button</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& button_text, int response_id)</td></tr>
68
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id. <a href="#a03b9a985be0b8e56e529c8559ba95c7f"></a><br/></td></tr>
69
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Button.html">Button</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a9cbc253d36236449628ee3270cb8728c">add_button</a> (const <a class="el" href="classGtk_1_1StockID.html">Gtk::StockID</a>& stock_id, int response_id)</td></tr>
70
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id. <a href="#a9cbc253d36236449628ee3270cb8728c"></a><br/></td></tr>
71
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a4268bfa2cc6998a1b103b5ab0eb7cf0a">set_response_sensitive</a> (int response_id, bool setting=true)</td></tr>
72
<tr><td class="mdescLeft"> </td><td class="mdescRight">Calls gtk_widget_set_sensitive (widget, setting) for each widget in the info bars's action area with the given response_id. <a href="#a4268bfa2cc6998a1b103b5ab0eb7cf0a"></a><br/></td></tr>
73
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a8f1e615b675b31f01b07172f6ad7dc52">set_default_response</a> (int response_id)</td></tr>
74
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the last widget in the info bar's action area with the given response_id as the default widget for the dialog. <a href="#a8f1e615b675b31f01b07172f6ad7dc52"></a><br/></td></tr>
75
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a291d5ee1d3476de76306df6d2c48d78d">response</a> (int response_id)</td></tr>
76
<tr><td class="mdescLeft"> </td><td class="mdescRight">Emits the 'response' signal with the given <em>response_id</em>. <a href="#a291d5ee1d3476de76306df6d2c48d78d"></a><br/></td></tr>
77
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a118aee05364b0c0f4ee50f5fd8f9d304">set_message_type</a> (<a class="el" href="group__gtkmmEnums.html#ga8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> message_type)</td></tr>
78
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the message type of the message area. <a href="#a118aee05364b0c0f4ee50f5fd8f9d304"></a><br/></td></tr>
79
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#ga8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#ad4983833fe92d98fa9eac7438ea48661">get_message_type</a> () const </td></tr>
80
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the message type of the message area. <a href="#ad4983833fe92d98fa9eac7438ea48661"></a><br/></td></tr>
81
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a63ad844b70c72d4feb1e696a23e500a2">signal_response</a> ()</td></tr>
82
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="group__gtkmmEnums.html#ga8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#ab7e0bf11104cde54f6e7215633e448d9">property_message_type</a> ()</td></tr>
83
<tr><td class="mdescLeft"> </td><td class="mdescRight">The type of message. <a href="#ab7e0bf11104cde54f6e7215633e448d9"></a><br/></td></tr>
84
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
85
< <a class="el" href="group__gtkmmEnums.html#ga8698319d7eb64b1f297b04e4e5c7809b">MessageType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a8163189c88385da33410a03d86d9874f">property_message_type</a> () const </td></tr>
86
<tr><td class="mdescLeft"> </td><td class="mdescRight">The type of message. <a href="#a8163189c88385da33410a03d86d9874f"></a><br/></td></tr>
87
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
88
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#aec677447b9fce30e6f154d631770b016">on_response</a> (int response_id)</td></tr>
89
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
90
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
92
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1InfoBar.html">Gtk::InfoBar</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1InfoBar.html#a4a1c7856c1c8b30910df3495787c5876">wrap</a> (GtkInfoBar* object, bool take_copy=false)</td></tr>
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a4a1c7856c1c8b30910df3495787c5876"></a><br/></td></tr>
113
<hr><a name="_details"></a><h2>Detailed Description</h2>
114
This widget that can be used to show messages to the user without showing a dialog. <p>
115
It is often temporarily shown at the top or bottom of a document. In contrast to <a class="el" href="classGtk_1_1Dialog.html" title="Create popup windows.">Dialog</a>, which has a horizontal action area at the bottom, <a class="el" href="classGtk_1_1InfoBar.html" title="This widget that can be used to show messages to the user without showing a dialog...">InfoBar</a> has a vertical action area at the side.<p>
116
The API is very similar to <a class="el" href="classGtk_1_1Dialog.html" title="Create popup windows.">Dialog</a>, allowing you to add buttons to the action area with <a class="el" href="classGtk_1_1InfoBar.html#03b9a985be0b8e56e529c8559ba95c7f" title="Adds a button with the given text (or a stock button, if button_text is a stock ID)...">add_button()</a>. The sensitivity of action widgets can be controlled with <a class="el" href="classGtk_1_1InfoBar.html#4268bfa2cc6998a1b103b5ab0eb7cf0a" title="Calls gtk_widget_set_sensitive (widget, setting) for each widget in the info bars's...">set_response_sensitive()</a>. To add widgets to the main content area, use <a class="el" href="classGtk_1_1InfoBar.html#acd09015a4f4a2f96e4adc42da88c02f" title="Returns: the content area.">get_content_area()</a> and add your widgets to the container.<p>
117
Similar to <a class="el" href="classGtk_1_1MessageDialog.html" title="Convenient message window.">MessageDialog</a>, the contents can by classified as error message, warning, informational message, etc, by using <a class="el" href="classGtk_1_1InfoBar.html#118aee05364b0c0f4ee50f5fd8f9d304" title="Sets the message type of the message area.">set_message_type()</a>. This determines the background color of the message area.<p>
118
The <a class="el" href="classGtk_1_1InfoBar.html" title="This widget that can be used to show messages to the user without showing a dialog...">InfoBar</a> widget looks like <div align="center">
119
<img src="infobar1.png" alt="infobar1.png">
95
<hr/><a name="_details"></a><h2>Detailed Description</h2>
96
<p>This widget that can be used to show messages to the user without showing a dialog. </p>
97
<p>It is often temporarily shown at the top or bottom of a document. In contrast to <a class="el" href="classGtk_1_1Dialog.html" title="Create popup windows.">Dialog</a>, which has a horizontal action area at the bottom, <a class="el" href="classGtk_1_1InfoBar.html" title="This widget that can be used to show messages to the user without showing a dialog...">InfoBar</a> has a vertical action area at the side.</p>
98
<p>The API is very similar to <a class="el" href="classGtk_1_1Dialog.html" title="Create popup windows.">Dialog</a>, allowing you to add buttons to the action area with <a class="el" href="classGtk_1_1InfoBar.html#a03b9a985be0b8e56e529c8559ba95c7f" title="Adds a button with the given text (or a stock button, if button_text is a stock ID)...">add_button()</a>. The sensitivity of action widgets can be controlled with <a class="el" href="classGtk_1_1InfoBar.html#a4268bfa2cc6998a1b103b5ab0eb7cf0a" title="Calls gtk_widget_set_sensitive (widget, setting) for each widget in the info bars's...">set_response_sensitive()</a>. To add widgets to the main content area, use <a class="el" href="classGtk_1_1InfoBar.html#aacd09015a4f4a2f96e4adc42da88c02f" title="Returns: the content area.">get_content_area()</a> and add your widgets to the container.</p>
99
<p>Similar to <a class="el" href="classGtk_1_1MessageDialog.html" title="Convenient message window.">MessageDialog</a>, the contents can by classified as error message, warning, informational message, etc, by using <a class="el" href="classGtk_1_1InfoBar.html#a118aee05364b0c0f4ee50f5fd8f9d304" title="Sets the message type of the message area.">set_message_type()</a>. This determines the background color of the message area.</p>
100
<p>The <a class="el" href="classGtk_1_1InfoBar.html" title="This widget that can be used to show messages to the user without showing a dialog...">InfoBar</a> widget looks like </p>
102
<img src="infobar1.png" alt="infobar1.png"/>
122
<dl compact><dt><b><a class="el" href="since_2_18.html#_since_2_18000016">Since gtkmm 2.18:</a></b></dt><dd></dd></dl>
123
<hr><h2>Constructor & Destructor Documentation</h2>
124
<a class="anchor" name="120102bad2c448215cd17ed7bae66fb7"></a><!-- doxytag: member="Gtk::InfoBar::~InfoBar" ref="120102bad2c448215cd17ed7bae66fb7" args="()" -->
104
<dl class="since_2_18"><dt><b><a class="el" href="since_2_18.html#_since_2_18000016">Since gtkmm 2.18:</a></b></dt><dd></dd></dl>
105
<hr/><h2>Constructor & Destructor Documentation</h2>
106
<a class="anchor" id="a120102bad2c448215cd17ed7bae66fb7"></a><!-- doxytag: member="Gtk::InfoBar::~InfoBar" ref="a120102bad2c448215cd17ed7bae66fb7" args="()" -->
125
107
<div class="memitem">
126
108
<div class="memproto">
127
109
<table class="memname">
129
111
<td class="memname">virtual Gtk::InfoBar::~InfoBar </td>
131
<td class="paramname"> </td>
113
<td class="paramname"></td>
132
114
<td> ) </td>
133
115
<td><code> [virtual]</code></td>