GtkWidget * gtk_multi_vpaned_get_widget(GtkMultiVPaned * multi_vpaned);
GtkWidget * gtk_multi_vpaned_get_first_widget(GtkMultiVPaned * multi_vpaned);
GtkWidget * gtk_multi_vpaned_get_next_widget(GtkMultiVPaned * multi_vpaned);
+void gtk_multi_vpaned_set_scroll_value(GtkMultiVPaned * multi_vpaned, double value);
#ifdef __cplusplus
}
LttvAttributeValue value;
LttvHooks * tmp;
main_win->current_tab->time_window = *time_window;
+ gtk_multi_vpaned_set_scroll_value(main_win->current_tab->multi_vpaned,
+ ltt_time_to_double(time_window->start_time)
+ * NANOSECONDS_PER_SECOND );
g_assert(lttv_iattribute_find_by_path(main_win->current_tab->attributes,
"hooks/updatetimewindow", LTTV_POINTER, &value));
tmp = (LttvHooks*)*(value.v_pointer);
g_object_unref(G_OBJECT(multi_vpaned->focused_pane));
}
+void gtk_multi_vpaned_set_scroll_value(GtkMultiVPaned * multi_vpaned, double value)
+{
+ gtk_adjustment_set_value(multi_vpaned->hadjust, value);
+ g_signal_stop_emission_by_name(G_OBJECT(multi_vpaned->hscrollbar), "value-changed");
+}
+
void gtk_multi_vpaned_scroll_value_changed(GtkRange *range, gpointer multi_vpaned_arg)
{
TimeWindow time_window;