2014-03-29 21:56:50 -07:00
|
|
|
interface Elm_Interface_Fileselector ()
|
|
|
|
{
|
2014-04-03 00:19:03 -07:00
|
|
|
legacy_prefix: null;
|
2014-03-29 21:56:50 -07:00
|
|
|
eo_prefix: elm_interface_fileselector;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property folder_only {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Enable/disable folder-only view for a given file selector widget */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get whether folder-only view is set for a given file selector */
|
|
|
|
}
|
|
|
|
values {
|
2014-07-11 06:44:47 -07:00
|
|
|
bool only;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property selected {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Set, programmatically, the currently selected file/directory in the given file selector widget */
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get the currently selected item's (full) path, in the given file the given file selector widget */
|
|
|
|
}
|
|
|
|
values {
|
2014-06-26 05:24:20 -07:00
|
|
|
const(char)* path;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property thumbnail_size {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Set the size for the thumbnail of the file selector widget's view. */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get the size for the thumbnail of a given file selector widget */
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
Evas_Coord w;
|
|
|
|
Evas_Coord h;
|
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property hidden_visible {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Enable or disable visibility of hidden files/directories in the file selector widget. */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get if hiden files/directories in the file selector are visible or not. */
|
|
|
|
}
|
|
|
|
values {
|
2014-07-11 06:44:47 -07:00
|
|
|
bool multi;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property sort_method {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Set the sort method of the file selector widget. */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get the sort method of the file selector widget. */
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
Elm_Fileselector_Sort sort;
|
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property multi_select {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Enable or disable multi-selection in the fileselector */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Gets if multi-selection in fileselector is enabled or disabled. */
|
|
|
|
}
|
|
|
|
values {
|
2014-07-11 06:44:47 -07:00
|
|
|
bool multi;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property expandable {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Enable/disable a tree view in the given file selector widget, <b>if it's in */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get whether tree view is enabled for the given file selector */
|
|
|
|
}
|
|
|
|
values {
|
2014-07-11 06:44:47 -07:00
|
|
|
bool expand;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property path {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Set, programmatically, the directory that a given file selector widget will display contents from */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get the parent directory's path that a given file selector selector widget will display contents from */
|
|
|
|
}
|
|
|
|
values {
|
2014-06-26 05:24:20 -07:00
|
|
|
const(char)* path;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property mode {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Set the mode in which a given file selector widget will display (layout) file system entries in its view */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get the mode in which a given file selector widget is displaying */
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
Elm_Fileselector_Mode mode;
|
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property is_save {
|
2014-03-29 21:56:50 -07:00
|
|
|
set {
|
|
|
|
/*@ Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector widget */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get whether the given file selector is in "saving dialog" mode */
|
|
|
|
}
|
|
|
|
values {
|
2014-07-11 06:44:47 -07:00
|
|
|
bool is_save;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property selected_paths {
|
2014-03-29 21:56:50 -07:00
|
|
|
get {
|
|
|
|
/*@ Get a list of selected paths in the fileselector. */
|
|
|
|
}
|
|
|
|
values {
|
2014-09-09 06:50:35 -07:00
|
|
|
const(list)* ret;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property current_name {
|
2014-10-05 16:08:24 -07:00
|
|
|
set {
|
|
|
|
/*@ Set, */
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
/*@ Get */
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
const(char)* name;
|
|
|
|
}
|
|
|
|
}
|
2014-03-29 21:56:50 -07:00
|
|
|
custom_filter_append {
|
|
|
|
/*@ Append custom filter into filter list */
|
|
|
|
params {
|
|
|
|
@in Elm_Fileselector_Filter_Func func; /*@ function */
|
|
|
|
@in void *data;
|
2014-06-26 05:24:20 -07:00
|
|
|
@in const(char)* filter_name;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
filters_clear {
|
|
|
|
/*@ Clear all filters registered */
|
|
|
|
}
|
|
|
|
mime_types_filter_append {
|
|
|
|
/*@ Append mime type based filter into filter list */
|
|
|
|
params {
|
2014-06-26 05:24:20 -07:00
|
|
|
@in const(char)* mime_types;
|
|
|
|
@in const(char)* filter_name;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-03-29 21:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|