 |
 |
 |
 |
Etk_Filechooser_Widget
Define Documentation
#define ETK_FILECHOOSER_WIDGET_TYPE (etk_filechooser_widget_type_get()) |
#define ETK_FILECHOOSER_WIDGET |
( |
obj |
|
) |
(ETK_OBJECT_CAST((obj), ETK_FILECHOOSER_WIDGET_TYPE, Etk_Filechooser_Widget)) |
#define ETK_IS_FILECHOOSER_WIDGET |
( |
obj |
|
) |
(ETK_OBJECT_CHECK_TYPE((obj), ETK_FILECHOOSER_WIDGET_TYPE)) |
Function Documentation
void etk_filechooser_widget_current_folder_set |
( |
Etk_Filechooser_Widget * |
filechooser_widget, |
|
|
const char * |
folder | |
|
) |
| | |
Sets the current forlder of the filechooser.
- Parameters:
-
References current_folder, ETK_ENTRY, etk_entry_clear(), etk_theme_icon_path_get(), ETK_TREE, etk_tree_clear(), etk_tree_row_append(), files_date_col, files_name_col, files_tree, is_save, name_entry, and show_hidden.
Referenced by etk_filechooser_widget_selected_file_set().
Retrieves the current folder.
- Returns:
- Returns the current folder
References current_folder.
void etk_filechooser_widget_select_multiple_set |
( |
Etk_Filechooser_Widget * |
filechooser_widget, |
|
|
Etk_Bool |
select_multiple | |
|
) |
| | |
Sets if the filechooser widget can select multiple files.
- Parameters:
-
| filechooser_widget | a filechooser widget |
| select_multiple | ETK_TRUE to allow the filechooser to select multiple files |
References ETK_TREE, etk_tree_multiple_select_set(), and files_tree.
void etk_filechooser_widget_show_hidden_set |
( |
Etk_Filechooser_Widget * |
filechooser_widget, |
|
|
Etk_Bool |
show_hidden | |
|
) |
| | |
Sets if the file chooser widget can show hidden files.
- Parameters:
-
| filechooser_widget | a filechooser widget |
| show_hidden | ETK_TRUE to allow the filechooser to show hidden files |
References ETK_OBJECT, etk_object_notify(), and show_hidden.
Retrieve if the file chooser widget can show hidden files.
- Returns:
- Returns if the file chooser widget can show hidden files
References show_hidden.
Sets if the file chooser is a save chooser.
- Parameters:
-
| filechooser_widget | a filechooser widget |
| is_save | ETK_TRUE to enable the file name entry (aka save widget) If is_save is TRUE then the user have the ability to write a custom file name in the file name entry. Else the file name entry is disabled. |
References etk_widget_disabled_set(), is_save, and name_entry.
Retrieve if the file chooser widget is a save chooser.
- Returns:
- Returns if the file chooser widget is a save chooser
References is_save.
Etk_Bool etk_filechooser_widget_selected_file_set |
( |
Etk_Filechooser_Widget * |
filechooser_widget, |
|
|
const char * |
filename | |
|
) |
| | |
|
 |
 |
 |
 |
|