Lumiera  0.pre.03
»edit your freedom«
button-bar.cpp
Go to the documentation of this file.
1 /*
2  ButtonBar - button bar widget
3 
4  Copyright (C) Lumiera.org
5  2009, Joel Holdsworth <joel@airwebreathe.org.uk>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 * *****************************************************/
22 
23 
30 #include "include/logging.h"
31 
32 
33 namespace stage {
34 namespace widget {
35 
36  ButtonBar::ButtonBar()
37  {
38  set_orientation (Gtk::ORIENTATION_HORIZONTAL);
39  set_has_window (false);
40  }
41 
42 
43  void
44  ButtonBar::append (Widget& widget)
45  {
46  pack_start(widget, Gtk::PACK_SHRINK);
47  }
48 
49 
50 }}// stage::widget
A toolbar widget for use in dialogs.
This header is for including and configuring NoBug.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:46
void append(Widget &)
Append a widget to the button bar.
Definition: button-bar.cpp:44