Gtkmm

From Wikipedia, the free encyclopedia

The correct title of this article is gtkmm. The initial letter is shown capitalized due to technical restrictions.

gtkmm is the official C++ interface for the popular GUI library GTK+. Highlights include typesafe callbacks, widgets extensible via inheritance and a comprehensive set of widgets. You can create user interfaces either in code or with the Glade Interface Designer, using libglademm. gtkmm is free software distributed under the GNU Lesser General Public License (LGPL).

gtkmm stands for gtk minus minus or gtk--.

[edit] Example

#include <gtkmm.h>

int main(int argc, char *argv[])
{
    Gtk::Main kit(argc, argv);
    Gtk::Window window;
    Gtk::Main::run(window);
    
    return 0;
}

This program will create an empty 200 x 200 pixel window.

[edit] See also

[edit] External links