X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.h;h=a3867f0287bb78ce5a718bedd871f66fef947424;hb=d86395c3cc6f958bcb2aca5063e83e2fe4194f6a;hp=87f186fc6cd39847476d1cc56d74d3ca24dc8ef2;hpb=c790dfd9469c899ceffa32abfb96e9956504e181;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h index 87f186fc..a3867f02 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h @@ -711,6 +711,22 @@ void lttvwindow_events_request_remove_all(Tab *tab, gconstpointer viewer); +/** + * Function to see if there are events request pending. + * + * It tells if events requests are pending. Useful for checks in some events, + * i.e. detailed event list scrolling. + * + * @param tab the tab the viewer belongs to. + * @param viewer a pointer to the viewer data structure + * @return : TRUE is events requests are pending, else FALSE. + */ + +gboolean lttvwindow_events_request_pending(Tab *tab); + + + + /** * Function to get the current time interval shown on the current tab. * It will be called by a viewer's hook function to update the @@ -806,17 +822,6 @@ void set_current_time(Tab *tab, const LttTime *current_time); void events_request_free(EventsRequest *events_request); -/* main_window_add_child_window - * - * Add the widget as a data to the main window : it will close a floating window - * with its main window by calling the destroy_fct. - */ - -void main_window_add_child_window(Tab *tab, gpointer data, - const gchar *name, GDestroyNotify descroy_fct); - - -void main_window_remove_child_window(Tab *tab, - const gchar *name); +GtkWidget *main_window_get_widget(Tab *tab); #endif //LTTVWINDOW_H