window is not shown



Hello,

when I hide a window and show it again before the main event loop is called, the window is not shown.

example code:
#include <gtkmm.h>

int main(int argc, char *argv[])
{
  Gtk::Main kit(argc, argv);
  Gtk::Window window;
  window.show_now();
  window.hide();
  window.show();

  while(true)
    kit.iteration();

  return EXIT_SUCCESS;
}



Greetings
Diether Knof

Attachment: signature.asc
Description: Digital signature



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