);
$boards_handlers{$board} = \%board_handlers;
- $board_handlers{'h_set_standard'} = generate_h_set_standard(\%boards_handlers, \%chains_handlers);
+ $board_handlers{'h_set_standard'} = generate_h_set_standard(\%boards_handlers, \%chains_handlers, \%chain_defaults, \%board_defaults, \%chain_defaults2);
$boards_handlers{$board} = \%board_handlers;
$gladexml3->signal_autoconnect_all(%board_handlers);
my $vbox_board = $gladexml3->get_widget('vbox_top');
sub generate_h_set_standard {
my %boards_handlers = %{$_[0]};
my %chains_handlers = %{$_[1]};
+ my %chain_defaults = %{$_[2]};
+ my %board_defaults = %{$_[3]};
+ my %chain_defaults2 = %{$_[4]};
return sub {
foreach my $board (reverse sort keys %chains_handlers) {
my %chains_handlers2 = %{$chains_handlers{$board}};