COIN-OR::LEMON - Graph Library

source: glemon-0.x/map_window.cc @ 173:8339178ae43d

Last change on this file since 173:8339178ae43d was 173:8339178ae43d, checked in by Akos Ladanyi, 18 years ago

Added two new classes.

File size: 650 bytes
Line 
1#include "map_window.h"
2
3MapWindow::MapWindow()
4{
5  refMapStore = Gtk::ListStore::create(mapColumns);
6  //refMapStore->signal_row_changed().connect(sigc::mem_fun(*this, &Phy sicalProperties::onChannelChanged));
7  twMap.set_model(refMapStore);
8  twMap.append_column_editable("Name", mapColumns.colName);
9  //twMap.append_column_editable("Value type", mapColumns.colValue);
10  //twMap.append_column_editable("Map type", mapColumns.colType);
11
12  swMap.set_size_request(-1, 300);
13  swMap.add(twMap);
14  swMap.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
15
16  swMap.add(twMap);
17  add(swMap);
18
19  show_all_children();
20}
21
22MapWindow::~MapWindow()
23{
24}
Note: See TracBrowser for help on using the repository browser.