File:Gtkmm example.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Gtkmm_example.png (191 × 126 pixels, file size: 6 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents
Description This is a screenshot from a short gtkmm example program written for the german wikipedia article de:Gtkmm.
Date 12 September 2008 (upload date)
Source

Own work – here's the sourcecode (compile with g++ `pkg-config --libs --cflags gtkmm-2.4` example.cc):

#include <gtkmm.h>
using namespace Gtk;

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

    Window window;
    window.set_title("Beispiel");
    window.set_border_width(15);

    Label hello("Hallo Welt!");
    Button quit_button(Stock::QUIT);
    quit_button.signal_clicked().connect(sigc::ptr_fun(&Gtk::Main::quit));

    VBox box(false, 15);
    box.add(hello);
    box.add(quit_button);

    window.add(box);
    window.show_all();
    Main::run(window);
    return 0;
}
Btw, that's the GTK+ default clearlooks theme and kwin window decoration.
Author
This file was made by User:Sven
Translation

If this image contains text, it can be translated easily into your language. If you need help, contact me

Flexible licenses

If you want to use this picture with another license than stated below, contact me

Contact the author

If you need a really fast answer, mail me. If you need only a fast answer, write me here.

Permission
(Reusing this file)

This screenshot either does not contain copyright-eligible parts or visuals of copyrighted software, or the author has released it under a free license (which should be indicated beneath this notice), and as such follows the licensing guidelines for screenshots of Wikimedia Commons. You may use it freely according to its particular license. Free software license:

GNU head

This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2 and version 3 of the GNU General Public License for more details.

Note: if the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.


File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:05, 12 September 2008Thumbnail for version as of 14:05, 12 September 2008191 × 126 (6 KB)Sven (talk | contribs){{User:Sven/Information |Description=This is a screenshot from a short gtkmm example program written for the german wikipedia article de:Gtkmm. |Source=Own work – here's the sourcecode (compile with <tt>g++ `pkg-config --libs --cflags gtkmm-2.4

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

  • Usage on cs.wikipedia.org
  • Usage on de.wikipedia.org
  • Usage on fr.wikipedia.org
  • Usage on id.wikipedia.org
  • Usage on pl.wikipedia.org
  • Usage on ru.wikipedia.org
  • Usage on www.wikidata.org
  • Usage on zh.wikipedia.org