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)
5  2009, Joel Holdsworth <joel@airwebreathe.org.uk>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
14 
21 #include "include/logging.h"
22 
23 
24 namespace stage {
25 namespace widget {
26 
27  ButtonBar::ButtonBar()
28  {
29  set_orientation (Gtk::ORIENTATION_HORIZONTAL);
30  set_has_window (false);
31  }
32 
33 
34  void
35  ButtonBar::append (Widget& widget)
36  {
37  pack_start(widget, Gtk::PACK_SHRINK);
38  }
39 
40 
41 }}// 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:37
void append(Widget &)
Append a widget to the button bar.
Definition: button-bar.cpp:35