lib/ewl_filelist.h File Reference
#include "ewl_box.h"
#include "ewl_image.h"
#include "ewl_icon.h"
#include "ewl_text.h"
#include "ewl_model.h"
#include "ewl_view.h"
#include <Ecore_File.h>
Include dependency graph for ewl_filelist.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | Ewl_Filelist |
| Inherits from Ewl_Box and extends to display a file list. More... | |
| struct | Ewl_Filelist_Directory |
| The data structure for Ewl_Filelist_Directory. More... | |
| struct | Ewl_Filelist_File |
| The data structure for Ewl_Filelist_File. More... | |
| struct | Ewl_Filelist_Filter |
| The data structure for Ewl_Filelist_Filter. More... | |
Defines | |
| #define | EWL_FILELIST(fl) ((Ewl_Filelist *)fl) |
| #define | EWL_FILELIST_DIRECTORY(fl) ((Ewl_Filelist_Directory *)fl) |
| #define | EWL_FILELIST_DIRECTORY_TYPE "filelist_directory" |
| #define | EWL_FILELIST_FILE(fl) ((Ewl_Filelist_File *)fl) |
| #define | EWL_FILELIST_FILE_TYPE "filelist_file" |
| #define | EWL_FILELIST_FILTER(ff) , ((Ewl_Filelist_Filter *)ff) |
| #define | EWL_FILELIST_FILTER_TYPE "filelist_filter" |
| #define | EWL_FILELIST_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_FILELIST_TYPE)) |
| #define | EWL_FILELIST_TYPE "filelist" |
| #define | gid_t unsigned long |
| #define | uid_t unsigned long |
Typedefs | |
| typedef struct Ewl_Filelist | Ewl_Filelist |
| typedef struct Ewl_Filelist_Directory | Ewl_Filelist_Directory |
| typedef struct Ewl_Filelist_File | Ewl_Filelist_File |
| typedef struct Ewl_Filelist_Filter | Ewl_Filelist_Filter |
Functions | |
| void | ewl_filelist_cb_destroy (Ewl_Widget *w, void *ev, void *data) |
| const char * | ewl_filelist_directory_get (Ewl_Filelist *fl) |
| Retrieves the current directory set on the filelist. | |
| void | ewl_filelist_directory_set (Ewl_Filelist *fl, const char *dir) |
| Sets the given directory dir as the current directory in the filelist. | |
| char * | ewl_filelist_expand_path (Ewl_Filelist *fl, const char *dir) |
| This will attempt to return the full path to the given directory. It should handle things like .. as well. | |
| Ewl_Filelist_Filter * | ewl_filelist_filter_get (Ewl_Filelist *fl) |
| Retrieves the current filter set on the filelist. | |
| void | ewl_filelist_filter_set (Ewl_Filelist *fl, Ewl_Filelist_Filter *filter) |
| Sets the given filter into the filelist. | |
| char * | ewl_filelist_groupname_get (gid_t st_gid) |
| Converts the given group id into a group name. | |
| Ewl_Scrollpane_Flags | ewl_filelist_hscroll_flag_get (Ewl_Filelist *fl) |
| Retrieves the flags for the horizontal scrollbar. | |
| void | ewl_filelist_hscroll_flag_set (Ewl_Filelist *fl, Ewl_Scrollpane_Flags h) |
| Sets the value to use for flags on the horizontal scrollbar. | |
| int | ewl_filelist_init (Ewl_Filelist *fl) |
| Initialzie a filelist to default values. | |
| char * | ewl_filelist_modtime_get (time_t modtime) |
| Converts the given modtime to a human readable string. | |
| Ewl_Widget * | ewl_filelist_multi_select_preview_get (Ewl_Filelist *fl) |
| Sets up a widget to display when multiple files selected. | |
| unsigned int | ewl_filelist_multiselect_get (Ewl_Filelist *fl) |
| Retrieves the current multiselect state of the filelist. | |
| void | ewl_filelist_multiselect_set (Ewl_Filelist *fl, unsigned int ms) |
| Sets the given multiselect value into the filelist. | |
| Ewl_Widget * | ewl_filelist_new (void) |
| Creates a new Ewl_Filelist widget. | |
| char * | ewl_filelist_perms_get (mode_t st_mode) |
| Converts the given mode settings into a human readable string. | |
| void | ewl_filelist_refresh (Ewl_Filelist *fl) |
| Refreshes the filelist when the directory shown is known to have changed. | |
| char * | ewl_filelist_selected_file_get (Ewl_Filelist *fl) |
| Returns the currently selected file from the filelist. | |
| Ewl_Widget * | ewl_filelist_selected_file_preview_get (Ewl_Filelist *fl, const char *path) |
| Creates and returns a preview widget for the given file. | |
| void | ewl_filelist_selected_file_set (Ewl_Filelist *fl, const char *file) |
| Sets the given file as selected in the filelist. | |
| void | ewl_filelist_selected_files_change_notify (Ewl_Filelist *fl) |
| Notifies interested consumers that the filelist has changed selected values. | |
| Ecore_List * | ewl_filelist_selected_files_get (Ewl_Filelist *fl) |
| Retrieves the list of selected files in the filelist. | |
| void | ewl_filelist_selected_files_set (Ewl_Filelist *fl, Ecore_List *files) |
| Sets the given files as selected in the filelist. | |
| void | ewl_filelist_selected_signal_all (Ewl_Filelist *fl, const char *signal) |
| unsigned int | ewl_filelist_show_dot_files_get (Ewl_Filelist *fl) |
| Retrieves the current show dot files setting for the filelist. | |
| void | ewl_filelist_show_dot_files_set (Ewl_Filelist *fl, unsigned int dot) |
| Sets the show dot files setting to the given value. | |
| char * | ewl_filelist_size_get (off_t st_size) |
| Converts the given size into a human readable format. | |
| const char * | ewl_filelist_stock_icon_get (const char *path) |
| Retrieves the stock icon for the given file. | |
| char * | ewl_filelist_username_get (uid_t st_uid) |
| Convertes the given user id into the approriate user name. | |
| Ewl_Filelist_View | ewl_filelist_view_get (Ewl_Filelist *fl) |
| Gets the filelist view. | |
| void | ewl_filelist_view_set (Ewl_Filelist *fl, Ewl_Filelist_View view) |
| Sets the filelist view. | |
| Ewl_Scrollpane_Flags | ewl_filelist_vscroll_flag_get (Ewl_Filelist *fl) |
| Retrieves the flags for the vertical scrollbar. | |
| void | ewl_filelist_vscroll_flag_set (Ewl_Filelist *fl, Ewl_Scrollpane_Flags v) |
| Sets the value to use for flags on the vertical scrollbar. | |
Define Documentation
| #define gid_t unsigned long |
| #define uid_t unsigned long |