COIN-OR::LEMON - Graph Library

source: glemon-0.x/map_window.cc @ 174:95872af46fc4

Last change on this file since 174:95872af46fc4 was 174:95872af46fc4, checked in by Alpar Juttner, 17 years ago

Add copyright headers

File size: 1.2 KB
Line 
1/* -*- C++ -*-
2 *
3 * This file is a part of LEMON, a generic C++ optimization library
4 *
5 * Copyright (C) 2003-2006
6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
7 * (Egervary Research Group on Combinatorial Optimization, EGRES).
8 *
9 * Permission to use, modify and distribute this software is granted
10 * provided that this copyright notice appears in all copies. For
11 * precise terms see the accompanying LICENSE file.
12 *
13 * This software is provided "AS IS" with no warranty of any kind,
14 * express or implied, and with no claim as to its suitability for any
15 * purpose.
16 *
17 */
18
19#include "map_window.h"
20
21MapWindow::MapWindow()
22{
23  refMapStore = Gtk::ListStore::create(mapColumns);
24  //refMapStore->signal_row_changed().connect(sigc::mem_fun(*this, &Phy sicalProperties::onChannelChanged));
25  twMap.set_model(refMapStore);
26  twMap.append_column_editable("Name", mapColumns.colName);
27  //twMap.append_column_editable("Value type", mapColumns.colValue);
28  //twMap.append_column_editable("Map type", mapColumns.colType);
29
30  swMap.set_size_request(-1, 300);
31  swMap.add(twMap);
32  swMap.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
33
34  swMap.add(twMap);
35  add(swMap);
36
37  show_all_children();
38}
39
40MapWindow::~MapWindow()
41{
42}
Note: See TracBrowser for help on using the repository browser.