File: main.cc

package info (click to toggle)
libglademm2.4 2.6.7-6
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 2,744 kB
  • sloc: sh: 9,112; cpp: 704; makefile: 199; perl: 108; xml: 71
file content (30 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//$Id: main.cc 252 2002-05-02 12:33:46Z murrayc $ -*- c++ -*-

/* gtkmm example Copyright (C) 2002 gtkmm development team
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2
 * as published by the Free Software Foundation.
 *
 * This program 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 the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#include <gtkmm/main.h>
#include "examplewindow.h"

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

  ExampleWindow window;
  kit.run(window); //Shows the window and returns when it is closed.

  return 0;
}