David Robillard
35fc31a1de
Update libraries to latest stable released version (except gnomecanvasmm, which is strangely packaged...). Fixes building (at least here). git-svn-id: svn://localhost/ardour2/trunk@2790 d708f5d6-7413-0410-9779-e7cbd77b26cf
30 lines
359 B
C++
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;
|
|
}
|