Interface fileselector: migrate docs.

This commit is contained in:
Tom Hacohen 2015-08-07 13:19:35 +01:00
parent 70ba901aa2
commit 4f2e5d6c11
1 changed files with 25 additions and 27 deletions

View File

@ -29,10 +29,10 @@ interface Elm_Interface_Fileselector ()
methods {
@property folder_only {
set {
/*@ Enable/disable folder-only view for a given file selector widget */
[[Enable/disable folder-only view for a given file selector widget]]
}
get {
/*@ Get whether folder-only view is set for a given file selector */
[[Get whether folder-only view is set for a given file selector]]
}
values {
only: bool;
@ -40,11 +40,11 @@ interface Elm_Interface_Fileselector ()
}
@property selected {
set {
/*@ Set, programmatically, the currently selected file/directory in the given file selector widget */
[[Set, programmatically, the currently selected file/directory in the given file selector widget]]
return: bool;
}
get {
/*@ Get the currently selected item's (full) path, in the given file the given file selector widget */
[[Get the currently selected item's (full) path, in the given file the given file selector widget]]
}
values {
path: const(char)*;
@ -52,10 +52,10 @@ interface Elm_Interface_Fileselector ()
}
@property thumbnail_size {
set {
/*@ Set the size for the thumbnail of the file selector widget's view. */
[[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 */
[[Get the size for the thumbnail of a given file selector widget]]
}
values {
w: Evas.Coord;
@ -64,10 +64,10 @@ interface Elm_Interface_Fileselector ()
}
@property hidden_visible {
set {
/*@ Enable or disable visibility of hidden files/directories in the file selector widget. */
[[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. */
[[Get if hiden files/directories in the file selector are visible or not.]]
}
values {
multi: bool;
@ -75,10 +75,10 @@ interface Elm_Interface_Fileselector ()
}
@property sort_method {
set {
/*@ Set the sort method of the file selector widget. */
[[Set the sort method of the file selector widget.]]
}
get {
/*@ Get the sort method of the file selector widget. */
[[Get the sort method of the file selector widget.]]
}
values {
sort: Elm.Fileselector.Sort;
@ -86,10 +86,10 @@ interface Elm_Interface_Fileselector ()
}
@property multi_select {
set {
/*@ Enable or disable multi-selection in the fileselector */
[[Enable or disable multi-selection in the fileselector]]
}
get {
/*@ Gets if multi-selection in fileselector is enabled or disabled. */
[[Gets if multi-selection in fileselector is enabled or disabled.]]
}
values {
multi: bool;
@ -97,10 +97,10 @@ interface Elm_Interface_Fileselector ()
}
@property expandable {
set {
/*@ Enable/disable a tree view in the given file selector widget, <b>if it's in */
[[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 */
[[Get whether tree view is enabled for the given file selector]]
}
values {
expand: bool;
@ -108,10 +108,10 @@ interface Elm_Interface_Fileselector ()
}
@property path {
set {
/*@ Set, programmatically, the directory that a given file selector widget will display contents from */
[[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 */
[[Get the parent directory's path that a given file selector selector widget will display contents from]]
}
values {
path: const(char)*;
@ -119,10 +119,10 @@ interface Elm_Interface_Fileselector ()
}
@property mode {
set {
/*@ Set the mode in which a given file selector widget will display (layout) file system entries in its view */
[[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 */
[[Get the mode in which a given file selector widget is displaying]]
}
values {
mode: Elm.Fileselector.Mode;
@ -130,10 +130,10 @@ interface Elm_Interface_Fileselector ()
}
@property is_save {
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 */
[[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 */
[[Get whether the given file selector is in "saving dialog" mode]]
}
values {
is_save: bool;
@ -141,7 +141,7 @@ interface Elm_Interface_Fileselector ()
}
@property selected_paths {
get {
/*@ Get a list of selected paths in the fileselector. */
[[Get a list of selected paths in the fileselector.]]
}
values {
ret: const(list<const(char)*>)*;
@ -149,29 +149,27 @@ interface Elm_Interface_Fileselector ()
}
@property current_name {
set {
/*@ Set, */
}
get {
/*@ Get */
}
values {
name: const(char)*;
}
}
custom_filter_append {
/*@ Append custom filter into filter list */
[[Append custom filter into filter list]]
params {
@in func: Elm_Fileselector_Filter_Func; /*@ function */
@in func: Elm_Fileselector_Filter_Func; [[function]]
@in data: void *;
@in filter_name: const(char)*;
}
return: bool;
}
filters_clear {
/*@ Clear all filters registered */
[[Clear all filters registered]]
}
mime_types_filter_append {
/*@ Append mime type based filter into filter list */
[[Append mime type based filter into filter list]]
params {
@in mime_types: const(char)*;
@in filter_name: const(char)*;