90 |
if ($type eq 'BOOLEAN') { |
if ($type eq 'BOOLEAN') { |
91 |
$ret = Libconf::GUI::Gtk2::CheckButton->new($default, $ref_value, $data_mapping->{BOOLEAN}, @widget_options); |
$ret = Libconf::GUI::Gtk2::CheckButton->new($default, $ref_value, $data_mapping->{BOOLEAN}, @widget_options); |
92 |
} elsif ($type eq 'INTEGER') { |
} elsif ($type eq 'INTEGER') { |
93 |
$ret = Libconf::GUI::Gtk2::SpinButton->new($default, $ref_value, $data_mapping->{BOOLEAN}, @widget_options); |
$ret = Libconf::GUI::Gtk2::SpinButton->new($default, $ref_value, $data_mapping->{INTEGER}, @widget_options); |
94 |
} elsif ($type eq 'HOSTNAME') { |
} elsif ($type eq 'HOSTNAME') { |
95 |
$ret = Libconf::GUI::Gtk2::Hostname->new($default, $ref_value, $data_mapping->{HOSTNAME}, @widget_options); |
$ret = Libconf::GUI::Gtk2::Hostname->new($default, $ref_value, $data_mapping->{HOSTNAME}, @widget_options); |
96 |
} elsif ($type eq 'STRING') { |
} elsif ($type eq 'STRING') { |