[Thunar-dev] Thunar get all files from standarview

Fernando Maróstica fmarostica at fmarostica.org
Tue Oct 23 18:46:32 CEST 2007


Helo guys!

Is there another way to get all files in Thunar?

GList *all_items;
GList *selected_items;

all_items = thunar_list_model_get_paths_for_pattern
(standard_view->model, "*");

selected_items = THUNAR_STANDARD_VIEW_GET_CLASS
(standard_view)->get_selected_items (standard_view);

The all_items is all files in Thunar and selected_items is the selected
files from user. So, Is there another way or correct way to me get all
files in Thunar without use thunar_list_model_get_paths_for_pattern?


Cheers.
Fernando Maróstica.




More information about the Thunar-dev mailing list