Results 1 to 1 of 1

Thread: [ C++ ] Gtk on Windows shows both, console and Gtk window.

  1. #1
    Join Date
    Oct 2009
    Beans
    Hidden!

    Question [ C++ ] Gtk on Windows shows both, console and Gtk window.

    How do I get rid of the console window ?

    Code:
    #include <gtkmm.h>
    
    using namespace Gtk;
    
    int main(int argc, char *argv[])
    {
        Main kit(argc, argv);
        Window window;
        Main::run(window);
        
        return 0;
    }
    Last edited by OpenGuard; October 27th, 2009 at 03:24 PM. Reason: linking it with -mwindows fixes the console problem ..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •