table.attach (data_type, 1, 2, 4, 5, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK);
table.attach (data_key, 1, 2, 5, 6, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK);
table.attach (data_child, 1, 2, 6, 7, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK);
+
+ table.property_column_spacing () = 8;
+ table.property_row_spacing () = 8;
add (table);
+ property_label_xalign () = 0;
set_label ("Propiedades");
set_shadow_type(Gtk::SHADOW_NONE);
set_size_request (200, 0);
std::string s4;
std::stringstream ss4;
- ss4 << data->getChild ();
+ ss4 << data->GetChild ();
ss4 >> s4;
data_child.set_label (s4);
} else if (dynamic_cast<BTreeLeafData *>(data)) {
data_type.set_label ("BTreeLeafData");
data_child.set_label ("N/C");
- std::string s4 = *(data->getClave ());
- data_child.set_label (s4);
+ std::string s4 = *(data->GetKey ());
+ std::cout << "----> " << s4 << std::endl;
+ data_key.set_label (s4);
} else {
data_type.set_label ("BTreeData");
std::string s4;
std::stringstream ss4;
- ss4 << data->getChild ();
+ ss4 << data->GetChild ();
ss4 >> s4;
data_child.set_label (s4);
- std::string s5 = *(data->getClave ());
+ std::string s5 = *(data->GetKey ());
data_key.set_label (s5);
}
}