print statements on console while window is running



Hello
Which function I have to use to print this row "--------------------" on the 
console during my window is running

#include <gtkmm.h>
#include <iostream>
using namespace std;
using namespace Gtk;

int main(int argc, char *argv[])
{

  Main kit(argc, argv);

  Window window;

  ??????? => which function?

  while (1)
  {
    while(Main::events_pending())
    {
      Main::iteration();
    }
    cout << "----------------------" << endl;

  }

  return 0;
}


Should I use "Main::init(&argc, &argv, false);" ? If yes, which parameters I 
have to give to this function?


Best regards 

Kathrin Hauptvogel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]