#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Button.H>
#include <stdio.h>

void MeineFunktion(Fl_Widget*w)
{
  fprintf(stdout, "Knopf gedrückt!\n");
}

int main()
{
  Fl_Window *Fenster = new Fl_Window(300,200,"Mein Fenster");
  Fl_Button *Knopf = new Fl_Button(30,30,200,30, "Test");
  Knopf->callback(MeineFunktion);
  Fenster->show();
  return(Fl::run());
}