diff --git a/lib/Biodiverse/GUI/DeleteElementProperties.pm b/lib/Biodiverse/GUI/DeleteElementProperties.pm index 333cc599d..bd0ca1d8d 100644 --- a/lib/Biodiverse/GUI/DeleteElementProperties.pm +++ b/lib/Biodiverse/GUI/DeleteElementProperties.pm @@ -433,5 +433,5 @@ sub add_header_and_tooltip_to_treeview_column { $column->set_widget($header); my $tooltip = Gtk3::Tooltip->new(); - $tooltip->set_tip( $header, $args{tooltip_text} ); + $tooltip->set_text( $header, $args{tooltip_text} ); } diff --git a/lib/Biodiverse/GUI/GUIManager.pm b/lib/Biodiverse/GUI/GUIManager.pm index 4431c6aec..0d9038f31 100644 --- a/lib/Biodiverse/GUI/GUIManager.pm +++ b/lib/Biodiverse/GUI/GUIManager.pm @@ -2309,11 +2309,11 @@ sub show_index_dialog { $table->set( 'n-rows' => $rows ); my $incr_button = Gtk3::Button->new_with_label('Increment all'); $table->attach( $incr_button, 0, 1, $rows, $rows + 1, 'shrink', [], 0, 0 ); - $tooltip_group->set_tip( $incr_button, + $tooltip_group->set_text( $incr_button, 'Increase all the axes by their default increments', undef, ); my $decr_button = Gtk3::Button->new_with_label('Decrement all'); $table->attach( $decr_button, 1, 2, $rows, $rows + 1, 'shrink', [], 0, 0 ); - $tooltip_group->set_tip( $decr_button, + $tooltip_group->set_text( $decr_button, 'Decrease all the axes by their default increments', undef, ); my $i = 0; @@ -2386,8 +2386,8 @@ sub show_index_dialog { } } - $tooltip_group->set_tip( $widget, $tip_text, undef ); - $tooltip_group->set_tip( $label, $tip_text, undef ); + $tooltip_group->set_text( $widget, $tip_text, undef ); + $tooltip_group->set_text( $label, $tip_text, undef ); if ($is_text_axis) { $widget->set_sensitive(0); diff --git a/lib/Biodiverse/GUI/Manager/BaseDatas.pm b/lib/Biodiverse/GUI/Manager/BaseDatas.pm index fc7d185ef..d2f9f9471 100644 --- a/lib/Biodiverse/GUI/Manager/BaseDatas.pm +++ b/lib/Biodiverse/GUI/Manager/BaseDatas.pm @@ -524,11 +524,11 @@ sub get_resolution_table_widget { my $incr_button = Gtk3::Button->new_with_label('Increment all'); $table->attach( $incr_button, 0, 1, $rows, $rows + 1, 'shrink', [], 0, 0 ); - $tooltip_group->set_tip( $incr_button, + $tooltip_group->set_text( $incr_button, 'Increase all the axes by their default increments', undef, ); my $decr_button = Gtk3::Button->new_with_label('Decrement all'); $table->attach( $decr_button, 1, 2, $rows, $rows + 1, 'shrink', [], 0, 0 ); - $tooltip_group->set_tip( $decr_button, + $tooltip_group->set_text( $decr_button, 'Decrease all the axes by their default increments', undef, ); my $i = -1; @@ -603,8 +603,8 @@ sub get_resolution_table_widget { } } - $tooltip_group->set_tip( $widget, $tip_text, undef ); - $tooltip_group->set_tip( $label, $tip_text, undef ); + $tooltip_group->set_text( $widget, $tip_text, undef ); + $tooltip_group->set_text( $label, $tip_text, undef ); if ($is_text_axis) { $widget->set_sensitive(0); @@ -680,11 +680,11 @@ sub get_origin_table_widget { my $incr_button = Gtk3::Button->new_with_label('Increment all'); $table->attach( $incr_button, 0, 1, $rows, $rows + 1, 'shrink', [], 0, 0 ); - $tooltip_group->set_tip( $incr_button, + $tooltip_group->set_text( $incr_button, 'Increase all the axes by their default increments', undef, ); my $decr_button = Gtk3::Button->new_with_label('Decrement all'); $table->attach( $decr_button, 1, 2, $rows, $rows + 1, 'shrink', [], 0, 0 ); - $tooltip_group->set_tip( $decr_button, + $tooltip_group->set_text( $decr_button, 'Decrease all the axes by their default increments', undef, ); my $i = -1; @@ -759,8 +759,8 @@ sub get_origin_table_widget { } } - $tooltip_group->set_tip( $widget, $tip_text, undef ); - $tooltip_group->set_tip( $label, $tip_text, undef ); + $tooltip_group->set_text( $widget, $tip_text, undef ); + $tooltip_group->set_text( $label, $tip_text, undef ); if ($is_text_axis) { $widget->set_sensitive(0); diff --git a/lib/Biodiverse/GUI/ParametersTable.pm b/lib/Biodiverse/GUI/ParametersTable.pm index d131dfa9a..c45ea9c62 100644 --- a/lib/Biodiverse/GUI/ParametersTable.pm +++ b/lib/Biodiverse/GUI/ParametersTable.pm @@ -163,7 +163,7 @@ sub fill { # Add a tooltip my $tip_text = $param->get_tooltip; if ($tip_text) { - $tooltip_group->set_tip($widget, $tip_text, undef); + $tooltip_group->set_text($widget, $tip_text, undef); } # widgets are sensitive unless explicitly told otherwise diff --git a/lib/Biodiverse/GUI/RemapGUI.pm b/lib/Biodiverse/GUI/RemapGUI.pm index 8e8e69221..3846cbe72 100644 --- a/lib/Biodiverse/GUI/RemapGUI.pm +++ b/lib/Biodiverse/GUI/RemapGUI.pm @@ -1115,7 +1115,7 @@ sub add_header_and_tooltip_to_treeview_column { $column->set_widget($header); my $tooltip = Gtk3::Tooltip->new(); - $tooltip->set_tip( $header, $args{tooltip_text} ); + $tooltip->set_text( $header, $args{tooltip_text} ); }