// generated 2002/5/26 15:55:07 CEST by free@m127.net195-132-170.noos.fr.localdomain // using glademm V0.6.4 // // newer (non customized) versions of this file go to MMISpouseToFamilyLink.cc_new // This file is for your program, I won't touch it again! #include "config.h" #include "MMISpouseToFamilyLink.hh" #include #include "../string_utility/Converter.hh" MMISpouseToFamilyLink::MMISpouseToFamilyLink(void) : MMISpouseToFamilyLink_glade() { _cpt_family = 0; _spouse_to_family_links->pages().clear(); } void MMISpouseToFamilyLink::Clear(void) { _cpt_family = 0; _spouse_to_family_links->pages().clear(); return; } OneSpouseToFamilyLink * MMISpouseToFamilyLink::addSpouseToFamilyLink(std::string const &union_date, std::string const &union_place, std::string const &husband, std::string const &wife, std::vector < std::string > const &children, SigC::Slot0 * slot_husband, SigC::Slot0 * slot_wife, std::vector< SigC::Slot0 * > slot_children) { OneSpouseToFamilyLink = manage(new class OneSpouseToFamilyLink(union_date, union_place, husband, wife, children, slot_husband, slot_wife, slot_children)); _cpt_family++; Gtk::Label *_spouse_to_family_link1 = manage(new class Gtk::Label(_("Family ") + toString(_cpt_family))); _spouse_to_family_link1->set_alignment(0.5, 0.5); _spouse_to_family_link1->set_padding(0, 0); Gtk::HBox *hbox25 = manage(new class Gtk::HBox(false, 0)); hbox25->pack_start(*_spouse_to_family_link1); MMIUnionFamilyNote = manage(new class MMIUnionFamilyNote()); hbox25->pack_end(*MMIUnionFamilyNote, false, true, 0); _spouse_to_family_links->pages().push_back(Gtk::Notebook_Helpers::TabElem(*OneSpouseToFamilyLink, *hbox25)); OneSpouseToFamilyLink->MMIUnionFamilyNote = MMIUnionFamilyNote; return OneSpouseToFamilyLink; }