13
0
livetrax/libs/gtkmm2/tests/child_widget2/main.cc
Paul Davis 449aab3c46 rollback to 3428, before the mysterious removal of libs/* at 3431/3432
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02 21:41:35 +00:00

30 lines
359 B
C++

#include <gtkmm.h>
class MyWindow : public Gtk::Window
{
public:
MyWindow();
private:
Gtk::Button b;
Gtk::VBox vbox;
};
MyWindow::MyWindow() :
b("hello"),
vbox()
{
add(vbox);
vbox.pack_start(b);
show_all_children();
}
int main (int argc, char *argv[])
{
Gtk::Main kit(argc, argv);
MyWindow window;
kit.run(window);
return 0;
}