Download

Support

lib/ewl_filepicker.c File Reference

#include "ewl_base.h"
#include "ewl_filepicker.h"
#include "ewl_filelist.h"
#include "ewl_button.h"
#include "ewl_combo.h"
#include "ewl_entry.h"
#include "ewl_label.h"
#include "ewl_model.h"
#include "ewl_dialog.h"
#include "ewl_window.h"
#include "ewl_toolbar.h"
#include "ewl_icon_theme.h"
#include "ewl_scrollpane.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"

Include dependency graph for ewl_filepicker.c:


Data Structures

struct  Ewl_Filepicker_Dialog
 Used to store information about the filepicker. More...

Typedefs

typedef struct
Ewl_Filepicker_Dialog 
Ewl_Filepicker_Dialog

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_Filterewl_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_Filterewl_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_Viewewl_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_Widgetewl_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_Widgetewl_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.

Typedef Documentation


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:57 2008