diff --git a/src/plugins/tool/Makefile.am b/src/plugins/tool/Makefile.am index ddce2a769..c4942b217 100644 --- a/src/plugins/tool/Makefile.am +++ b/src/plugins/tool/Makefile.am @@ -51,7 +51,8 @@ GLADEFILES = \ soundex.glade \ summary.glade \ unused.glade \ - verify.glade + verifysettings.glade \ + verifyresult.glade dist_pkgdata_DATA = $(GLADEFILES) diff --git a/src/plugins/tool/Verify.py b/src/plugins/tool/Verify.py index 7060f59bd..e77d52346 100644 --- a/src/plugins/tool/Verify.py +++ b/src/plugins/tool/Verify.py @@ -45,7 +45,6 @@ import Errors # #------------------------------------------------------------------------ import gtk -from gtk import glade import gobject #------------------------------------------------------------------------ @@ -247,54 +246,31 @@ class Verify(Tool.Tool, ManagedWindow, UpdateCallback): def init_gui(self): # Draw dialog and make it handle everything base = os.path.dirname(__file__) - self.glade_file = base + os.sep + "verify.glade" + self.glade_file = base + os.sep + "verifysettings.glade" self.vr = None - self.top = glade.XML(self.glade_file,"verify_settings","gramps") - self.top.signal_autoconnect({ + self.top = gtk.Builder() +# self.add_from_file(self.glade_file),"verify_settings","gramps") + self.top.add_from_file(self.glade_file) + self.top.connect_signals({ "destroy_passed_object" : self.close, "on_help_clicked" : self.on_help_clicked, "on_verify_ok_clicked" : self.on_apply_clicked }) - window = self.top.get_widget('verify_settings') - self.set_window(window,self.top.get_widget('title'),self.label) + window = self.top.get_object('verify_settings') + self.set_window(window,self.top.get_object('title'),self.label) + + for option in self.options.handler.options_dict: + if option in ['estimate_age', 'invdate']: + self.top.get_object(option).set_active( + self.options.handler.options_dict[option] + ) + else: + self.top.get_object(option).set_value( + self.options.handler.options_dict[option] + ) - self.top.get_widget("oldage").set_value( - self.options.handler.options_dict['oldage']) - self.top.get_widget("hwdif").set_value( - self.options.handler.options_dict['hwdif']) - self.top.get_widget("cspace").set_value( - self.options.handler.options_dict['cspace']) - self.top.get_widget("cbspan").set_value( - self.options.handler.options_dict['cbspan']) - self.top.get_widget("yngmar").set_value( - self.options.handler.options_dict['yngmar']) - self.top.get_widget("oldmar").set_value( - self.options.handler.options_dict['oldmar']) - self.top.get_widget("oldmom").set_value( - self.options.handler.options_dict['oldmom']) - self.top.get_widget("yngmom").set_value( - self.options.handler.options_dict['yngmom']) - self.top.get_widget("olddad").set_value( - self.options.handler.options_dict['olddad']) - self.top.get_widget("yngdad").set_value( - self.options.handler.options_dict['yngdad']) - self.top.get_widget("wedder").set_value( - self.options.handler.options_dict['wedder']) - self.top.get_widget("mxchildmom").set_value( - self.options.handler.options_dict['mxchildmom']) - self.top.get_widget("mxchilddad").set_value( - self.options.handler.options_dict['mxchilddad']) - self.top.get_widget("lngwdw").set_value( - self.options.handler.options_dict['lngwdw']) - self.top.get_widget("oldunm").set_value( - self.options.handler.options_dict['oldunm']) - self.top.get_widget("estimate").set_active( - self.options.handler.options_dict['estimate_age']) - self.top.get_widget("invdate").set_active( - self.options.handler.options_dict['invdate']) - self.show() def build_menu_names(self, obj): @@ -305,41 +281,14 @@ class Verify(Tool.Tool, ManagedWindow, UpdateCallback): GrampsDisplay.help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def on_apply_clicked(self, obj): - self.options.handler.options_dict['oldage'] = self.top.get_widget( - "oldage").get_value_as_int() - self.options.handler.options_dict['hwdif'] = self.top.get_widget( - "hwdif").get_value_as_int() - self.options.handler.options_dict['cspace'] = self.top.get_widget( - "cspace").get_value_as_int() - self.options.handler.options_dict['cbspan'] = self.top.get_widget( - "cbspan").get_value_as_int() - self.options.handler.options_dict['yngmar'] = self.top.get_widget( - "yngmar").get_value_as_int() - self.options.handler.options_dict['oldmar'] = self.top.get_widget( - "oldmar").get_value_as_int() - self.options.handler.options_dict['oldmom'] = self.top.get_widget( - "oldmom").get_value_as_int() - self.options.handler.options_dict['yngmom'] = self.top.get_widget( - "yngmom").get_value_as_int() - self.options.handler.options_dict['olddad'] = self.top.get_widget( - "olddad").get_value_as_int() - self.options.handler.options_dict['yngdad'] = self.top.get_widget( - "yngdad").get_value_as_int() - self.options.handler.options_dict['wedder'] = self.top.get_widget( - "wedder").get_value_as_int() - self.options.handler.options_dict['mxchildmom'] = self.top.get_widget( - "mxchildmom").get_value_as_int() - self.options.handler.options_dict['mxchilddad'] = self.top.get_widget( - "mxchilddad").get_value_as_int() - self.options.handler.options_dict['lngwdw'] = self.top.get_widget( - "lngwdw").get_value_as_int() - self.options.handler.options_dict['oldunm'] = self.top.get_widget( - "oldunm").get_value_as_int() + for option in self.options.handler.options_dict: + if option in ['estimate_age', 'invdate']: + self.options.handler.options_dict[option] = \ + self.top.get_object(option).get_active() + else: + self.options.handler.options_dict[option] = \ + self.top.get_object(option).get_value_as_int() - self.options.handler.options_dict['estimate_age'] = \ - self.top.get_widget("estimate").get_active() - self.options.handler.options_dict['invdate'] = \ - self.top.get_widget("invdate").get_active() try: self.vr = VerifyResults(self.dbstate, self.uistate, self.track) self.add_results = self.vr.add_results @@ -372,23 +321,10 @@ class Verify(Tool.Tool, ManagedWindow, UpdateCallback): def run_tool(self,cli=False): person_handles = self.db.get_person_handles(sort_handles=False) - oldage = self.options.handler.options_dict['oldage'] - hwdif = self.options.handler.options_dict['hwdif'] - cspace = self.options.handler.options_dict['cspace'] - cbspan = self.options.handler.options_dict['cbspan'] - yngmar = self.options.handler.options_dict['yngmar'] - oldmar = self.options.handler.options_dict['oldmar'] - oldmom = self.options.handler.options_dict['oldmom'] - yngmom = self.options.handler.options_dict['yngmom'] - olddad = self.options.handler.options_dict['olddad'] - yngdad = self.options.handler.options_dict['yngdad'] - wedder = self.options.handler.options_dict['wedder'] - mxchildmom = self.options.handler.options_dict['mxchildmom'] - mxchilddad = self.options.handler.options_dict['mxchilddad'] - lngwdw = self.options.handler.options_dict['lngwdw'] - oldunm = self.options.handler.options_dict['oldunm'] - estimate_age = self.options.handler.options_dict['estimate_age'] - invdate = self.options.handler.options_dict['invdate'] + + for option, value in \ + self.options.handler.options_dict.iteritems(): + exec '%s = %s' % (option, value) self.vr.real_model.clear() @@ -479,31 +415,31 @@ class VerifyResults(ManagedWindow): self.dbstate = dbstate base = os.path.dirname(__file__) - self.glade_file = base + os.sep + "verify.glade" - - self.top = glade.XML(self.glade_file,"verify_result","gramps") - window = self.top.get_widget("verify_result") - self.set_window(window,self.top.get_widget('title'),self.title) + self.glade_file = base + os.sep + "verifyresult.glade" + self.top = gtk.Builder() + self.top.add_from_file(self.glade_file) + window = self.top.get_object("verify_result") + self.set_window(window,self.top.get_object('title'),self.title) - self.top.signal_autoconnect({ + self.top.connect_signals({ "destroy_passed_object" : self.close, }) - self.warn_tree = self.top.get_widget('warn_tree') + self.warn_tree = self.top.get_object('warn_tree') self.warn_tree.connect('button_press_event', self.double_click) self.selection = self.warn_tree.get_selection() - self.hide_button = self.top.get_widget('hide_button') + self.hide_button = self.top.get_object('hide_button') self.hide_button.connect('toggled',self.hide_toggled) - self.mark_button = self.top.get_widget('mark_all') + self.mark_button = self.top.get_object('mark_all') self.mark_button.connect('clicked',self.mark_clicked) - self.unmark_button = self.top.get_widget('unmark_all') + self.unmark_button = self.top.get_object('unmark_all') self.unmark_button.connect('clicked',self.unmark_clicked) - self.invert_button = self.top.get_widget('invert_all') + self.invert_button = self.top.get_object('invert_all') self.invert_button.connect('clicked',self.invert_clicked) self.real_model = gtk.ListStore(gobject.TYPE_BOOLEAN, @@ -557,7 +493,7 @@ class VerifyResults(ManagedWindow): name_column.set_sort_column_id(VerifyResults.OBJ_NAME_COL) self.warn_tree.append_column(name_column) - self.window.show_all() + self.show() self.window_shown = False def load_ignored(self,db_filename): diff --git a/src/plugins/tool/verify.glade b/src/plugins/tool/verify.glade deleted file mode 100644 index bb6fc419c..000000000 --- a/src/plugins/tool/verify.glade +++ /dev/null @@ -1,1365 +0,0 @@ - - - - - - - True - - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - True - - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-help - True - GTK_RELIEF_NORMAL - True - -11 - - - - - - - True - True - True - gtk-close - True - GTK_RELIEF_NORMAL - True - 0 - - - - - - - True - True - True - _Run - True - GTK_RELIEF_NORMAL - True - 0 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - False - 0 - - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 6 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - GTK_POS_TOP - False - False - - - - 12 - True - 8 - 2 - False - 6 - 6 - - - - True - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 90 0 150 1 10 0 - - - 1 - 2 - 0 - 1 - expand|shrink|fill - - - - - - - True - Maximum _age - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - oldage - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - - - - - - - True - Mi_nimum age to marry - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - yngmar - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 1 - 2 - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 17 0 100 1 10 0 - - - 1 - 2 - 1 - 2 - expand|shrink|fill - - - - - - - True - Ma_ximum age to marry - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - oldmar - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 2 - 3 - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 50 0 150 1 10 0 - - - 1 - 2 - 2 - 3 - expand|shrink|fill - - - - - - - True - Maximum number of _spouses for a person - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - wedder - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 3 - 4 - fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 3 0 100 1 10 0 - - - 1 - 2 - 3 - 4 - expand|shrink|fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 30 0 100 1 10 0 - - - 1 - 2 - 4 - 5 - expand|shrink|fill - - - - - - - True - Maximum number of consecutive years of _widowhood before next marriage - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - lngwdw - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 4 - 5 - - - - - - - True - Maximum age for an _unmarried person - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - oldunm - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 5 - 6 - fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 99 0 150 1 10 0 - - - 1 - 2 - 5 - 6 - - - - - - - True - True - _Estimate missing dates - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - 2 - 6 - 7 - - - - - - - True - True - _Identify invalid dates - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - 2 - 7 - 8 - - - - - - False - True - - - - - - True - <b>General</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - tab - - - - - - 12 - True - 3 - 2 - False - 6 - 6 - - - - True - Mi_nimum age to bear a child - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 2 - 2 - yngmom - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - - - - - - - True - Ma_ximum age to bear a child - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 2 - 2 - oldmom - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 1 - 2 - - - - - - - True - Maximum number of chil_dren - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 2 - 2 - mxchildmom - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 2 - 3 - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 17 0 100 1 10 0 - - - 1 - 2 - 0 - 1 - shrink|fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 48 0 100 1 10 0 - - - 1 - 2 - 1 - 2 - shrink|fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 12 0 100 1 10 0 - - - 1 - 2 - 2 - 3 - shrink|fill - - - - - - False - True - - - - - - True - <b>Women</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - tab - - - - - - 12 - True - 3 - 2 - False - 6 - 6 - - - - True - Mi_nimum age to father a child - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 2 - 2 - yngdad - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - - - - - - - True - Ma_ximum age to father a child - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 2 - 2 - olddad - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 1 - 2 - - - - - - - True - Maximum number of chil_dren - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 2 - 2 - mxchilddad - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 2 - 3 - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 15 0 100 1 10 0 - - - 1 - 2 - 2 - 3 - shrink|fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 65 0 150 1 10 0 - - - 1 - 2 - 1 - 2 - shrink|fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 18 0 100 1 10 0 - - - 1 - 2 - 0 - 1 - shrink|fill - - - - - - False - True - - - - - - True - <b>Men</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - tab - - - - - - 12 - True - 3 - 2 - False - 6 - 6 - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 30 0 100 1 10 0 - - - 1 - 2 - 0 - 1 - expand|shrink|fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 8 0 100 1 10 0 - - - 1 - 2 - 1 - 2 - expand|shrink|fill - - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 25 0 100 1 10 0 - - - 1 - 2 - 2 - 3 - expand|shrink|fill - - - - - - - True - Maximum husband-wife age _difference - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - hwdif - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - - - - - - - True - Maximum number of years _between children - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - cspace - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 1 - 2 - - - - - - - True - Maximum _span of years for all children - True - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - cbspan - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 2 - 3 - - - - - - False - True - - - - - - True - <b>Families</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - tab - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - - - True - - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - 500 - 300 - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - False - - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-close - True - GTK_RELIEF_NORMAL - True - -7 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - 6 - True - False - 6 - - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 6 - False - False - - - - - - True - False - 0 - - - - True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_NONE - GTK_CORNER_TOP_LEFT - - - - True - True - True - True - False - True - False - False - False - - - - - 0 - True - True - - - - - - True - False - 6 - - - - - - - - - - - - - - - - - - - 6 - False - True - - - - - 0 - True - True - - - - - - True - <b>Double-click on a row to view/edit data</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 6 - True - False - 18 - - - - True - GTK_BUTTONBOX_START - 6 - - - - True - True - True - _Mark all - True - GTK_RELIEF_NORMAL - True - - - - - - True - True - True - _Unmark all - True - GTK_RELIEF_NORMAL - True - - - - - - True - True - True - In_vert marks - True - GTK_RELIEF_NORMAL - True - - - - - 0 - True - True - - - - - - True - True - _Hide marked - True - GTK_RELIEF_NORMAL - True - False - False - - - 0 - False - False - - - - - 0 - False - True - - - - - 0 - True - True - - - - - - - diff --git a/src/plugins/tool/verifyresult.glade b/src/plugins/tool/verifyresult.glade new file mode 100644 index 000000000..30a6dfdc1 --- /dev/null +++ b/src/plugins/tool/verifyresult.glade @@ -0,0 +1,211 @@ + + + + + + True + 500 + 300 + dialog + False + + + True + + + True + 6 + vertical + 6 + + + True + + + False + False + 6 + 0 + + + + + True + + + True + True + automatic + automatic + + + True + True + True + + + + + 0 + + + + + True + vertical + 6 + + + + + + + + + + + + + + + False + 6 + 1 + + + + + 1 + + + + + True + <b>Double-click on a row to view/edit data</b> + True + + + False + False + 2 + + + + + True + 6 + 18 + + + True + 6 + start + + + _Mark all + True + True + True + True + True + + + False + False + 0 + + + + + _Unmark all + True + True + True + True + True + + + False + False + 1 + + + + + In_vert marks + True + True + True + True + True + + + False + False + 2 + + + + + 0 + + + + + _Hide marked + True + True + True + True + + + False + False + 1 + + + + + False + 3 + + + + + 1 + + + + + True + end + + + gtk-close + True + True + True + True + True + + + + False + False + 0 + + + + + False + end + 0 + + + + + + closebutton1 + + + diff --git a/src/plugins/tool/verifysettings.glade b/src/plugins/tool/verifysettings.glade new file mode 100644 index 000000000..32c1a6095 --- /dev/null +++ b/src/plugins/tool/verifysettings.glade @@ -0,0 +1,804 @@ + + + + + + True + dialog + + + True + + + True + vertical + + + True + 6 + + + False + False + 0 + + + + + True + True + + + True + 12 + 8 + 2 + 6 + 6 + + + True + True + + adjustment15 + 1 + True + + + 1 + 2 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + 0 + Maximum _age + True + True + oldage + + + + + + + + True + 0 + Mi_nimum age to marry + True + True + yngmar + + + 1 + 2 + + + + + + True + True + + adjustment14 + 1 + + + 1 + 2 + 1 + 2 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + 0 + Ma_ximum age to marry + True + True + oldmar + + + 2 + 3 + + + + + + True + True + + adjustment13 + 1 + + + 1 + 2 + 2 + 3 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + 0 + Maximum number of _spouses for a person + True + True + wedder + + + 3 + 4 + GTK_FILL + + + + + + True + True + + adjustment12 + 1 + + + 1 + 2 + 3 + 4 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + True + + adjustment11 + 1 + + + 1 + 2 + 4 + 5 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + 0 + Maximum number of consecutive years of _widowhood before next marriage + True + True + lngwdw + + + 4 + 5 + + + + + + True + 0 + Maximum age for an _unmarried person + True + True + oldunm + + + 5 + 6 + GTK_FILL + + + + + + True + True + + adjustment10 + 1 + + + 1 + 2 + 5 + 6 + + + + + + _Estimate missing dates + True + True + False + True + True + + + 2 + 6 + 7 + + + + + + _Identify invalid dates + True + True + False + True + True + + + 2 + 7 + 8 + + + + + + + + True + 0 + <b>General</b> + True + + + False + + + + + True + 12 + 3 + 2 + 6 + 6 + + + True + 0 + 2 + 2 + Mi_nimum age to bear a child + True + True + yngmom + + + + + + + + True + 0 + 2 + 2 + Ma_ximum age to bear a child + True + True + oldmom + + + 1 + 2 + + + + + + True + 0 + 2 + 2 + Maximum number of chil_dren + True + True + mxchildmom + + + 2 + 3 + + + + + + True + True + + adjustment9 + 1 + + + 1 + 2 + GTK_SHRINK | GTK_FILL + + + + + + True + True + + adjustment8 + 1 + + + 1 + 2 + 1 + 2 + GTK_SHRINK | GTK_FILL + + + + + + True + True + + adjustment7 + 1 + + + 1 + 2 + 2 + 3 + GTK_SHRINK | GTK_FILL + + + + + + 1 + + + + + True + 0 + <b>Women</b> + True + + + 1 + False + + + + + True + 12 + 3 + 2 + 6 + 6 + + + True + 0 + 2 + 2 + Mi_nimum age to father a child + True + True + yngdad + + + + + + + + True + 0 + 2 + 2 + Ma_ximum age to father a child + True + True + olddad + + + 1 + 2 + + + + + + True + 0 + 2 + 2 + Maximum number of chil_dren + True + True + mxchilddad + + + 2 + 3 + + + + + + True + True + + adjustment6 + 1 + + + 1 + 2 + 2 + 3 + GTK_SHRINK | GTK_FILL + + + + + + True + True + + adjustment5 + 1 + + + 1 + 2 + 1 + 2 + GTK_SHRINK | GTK_FILL + + + + + + True + True + + adjustment4 + 1 + + + 1 + 2 + GTK_SHRINK | GTK_FILL + + + + + + 2 + + + + + True + 0 + <b>Men</b> + True + + + 2 + False + + + + + True + 12 + 3 + 2 + 6 + 6 + + + True + True + + adjustment3 + 1 + + + 1 + 2 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + True + + adjustment2 + 1 + + + 1 + 2 + 1 + 2 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + True + + adjustment1 + 1 + + + 1 + 2 + 2 + 3 + GTK_EXPAND | GTK_SHRINK | GTK_FILL + + + + + + True + 0 + Maximum husband-wife age _difference + True + True + hwdif + + + + + + + + True + 0 + Maximum number of years _between children + True + True + cspace + + + 1 + 2 + + + + + + True + 0 + Maximum _span of years for all children + True + True + cbspan + + + 2 + 3 + + + + + + 3 + + + + + True + 0 + <b>Families</b> + True + + + 3 + False + + + + + 1 + + + + + 2 + + + + + True + end + + + gtk-help + True + True + True + True + True + + + + False + False + 0 + + + + + gtk-close + True + True + True + True + True + 0.49000000953674316 + + + + False + False + 1 + + + + + _Run + True + True + True + True + True + + + + False + False + 2 + + + + + False + end + 0 + + + + + + helpbutton1 + close_button + run_button + + + + 25 + 100 + 1 + 10 + + + 8 + 100 + 1 + 10 + + + 30 + 100 + 1 + 10 + + + 18 + 100 + 1 + 10 + + + 65 + 150 + 1 + 10 + + + 15 + 100 + 1 + 10 + + + 12 + 100 + 1 + 10 + + + 48 + 100 + 1 + 10 + + + 17 + 100 + 1 + 10 + + + 99 + 150 + 1 + 10 + + + 30 + 100 + 1 + 10 + + + 3 + 100 + 1 + 10 + + + 50 + 150 + 1 + 10 + + + 17 + 100 + 1 + 10 + + + 90 + 150 + 1 + 10 + +