lib/ewl_filepicker.h File Reference
#include "ewl_box.h"
#include "ewl_view.h"
#include "ewl_model.h"
#include "ewl_filelist.h"
Include dependency graph for ewl_filepicker.h:

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

Go to the source code of this file.
Data Structures | |
struct | Ewl_Filepicker |
Inherits from Ewl_Box and extends to provide a filepicker. More... | |
Defines | |
#define | EWL_FILEPICKER(fp) ((Ewl_Filepicker *)fp) |
#define | EWL_FILEPICKER_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_FILEPICKER_TYPE)) |
#define | EWL_FILEPICKER_TYPE "filepicker" |
Typedefs | |
typedef struct Ewl_Filepicker | Ewl_Filepicker |
Functions | |
const char * | ewl_filepicker_directory_get (Ewl_Filepicker *fp) |
Retrieve the current directory from the filepicker. | |
void | ewl_filepicker_directory_set (Ewl_Filepicker *fp, const char *dir) |
Set the current directory to be displayed in the filepicker. | |
Ewl_Filelist_Filter * | ewl_filepicker_filter_add (Ewl_Filepicker *fp, const char *name, const char *extension, Ecore_List *mime_types) |
Add the filter named name to the combo box in the filepicker. | |
Ewl_Filelist_Filter * | ewl_filepicker_filter_get (Ewl_Filepicker *fp) |
Retrieves the current filter used in the filepicker. Do not free the filter! | |
void | ewl_filepicker_filter_set (Ewl_Filepicker *fp, Ewl_Filelist_Filter *filter) |
Set the given filter into the file picker and updates the combo. | |
int | ewl_filepicker_init (Ewl_Filepicker *fp) |
Initialize an Ewl_Filepicker to default values. | |
Ewl_Filelist_View * | ewl_filepicker_list_view_get (Ewl_Filepicker *fp) |
Retrieves the current view used for the file list. | |
void | ewl_filepicker_list_view_set (Ewl_Filepicker *fp, Ewl_Filelist_View view) |
Sets the given view to be used to display the file list. | |
unsigned int | ewl_filepicker_multiselect_get (Ewl_Filepicker *fp) |
Retrieves the current multi-select value from the filepicker. | |
void | ewl_filepicker_multiselect_set (Ewl_Filepicker *fp, unsigned int ms) |
Sets the multiselect state of the filepicker to the given value. | |
Ewl_Widget * | ewl_filepicker_new (void) |
Creates a new Ewl_Filepicker widget. | |
unsigned int | ewl_filepicker_return_directories_get (Ewl_Filepicker *fp) |
Gets the filepicker's policy on returning directories. | |
void | ewl_filepicker_return_directories_set (Ewl_Filepicker *fp, unsigned int t) |
Sets the filepicker's policy on returning directories. | |
unsigned int | ewl_filepicker_save_as_get (Ewl_Filepicker *fp) |
Gets the current type of the filepicker. | |
Ewl_Widget * | ewl_filepicker_save_as_new (void) |
A convenience function to create a Save As widget. | |
void | ewl_filepicker_save_as_set (Ewl_Filepicker *fp, unsigned int t) |
Sets the type for the filepicker. | |
char * | ewl_filepicker_selected_file_get (Ewl_Filepicker *fp) |
Retrieves the currently selected file from the filepicker. | |
void | ewl_filepicker_selected_file_set (Ewl_Filepicker *fp, const char *file) |
Sets the given file as selected in the filepicker. | |
Ecore_List * | ewl_filepicker_selected_files_get (Ewl_Filepicker *fp) |
Retrieves the list of selected files in the filepicker. | |
void | ewl_filepicker_selected_files_set (Ewl_Filepicker *fp, Ecore_List *files) |
Sets the given files as selected in the filepicker. | |
unsigned int | ewl_filepicker_show_dot_files_get (Ewl_Filepicker *fp) |
Retrieves the current show dot files setting of the filepicker. | |
void | ewl_filepicker_show_dot_files_set (Ewl_Filepicker *fp, unsigned int dot) |
Set the show dot files setting of the filepicker to the given value. | |
unsigned int | ewl_filepicker_show_favorites_get (Ewl_Filepicker *fp) |
Retrieves the current show favorites setting of the filepicker. | |
void | ewl_filepicker_show_favorites_set (Ewl_Filepicker *fp, unsigned int show) |
Sets the show favorites setting of the file picker. |