This is an entry made to be filled with or display a file system path string.
Besides the entry itself, the widget has a FileselectorButton on its side, which will raise an internal Fileselector, when clicked, for path selection aided by file system navigation.
This file selector may appear in an Elementary window or in an inner window. When a file is chosen from it, the (inner) window is closed and the selected file’s path string is exposed both as a smart event and as the new text on the entry.
This widget encapsulates operations on its internal file selector on its own API. There is less control over its file selector than that one would have instantiating one directly.
Smart callbacks one can register to:
Default text parts of the fileselector_button widget that you can use for are:
Default content parts of the fileselector_entry widget that you can use for are:
Bases: efl.elementary.layout_class.LayoutClass
This is the class that actually implements the widget.
Changed in version 1.8: Inherits from LayoutClass.
The entry has had editing finished and changes are to be committed.
The text within the entry was changed.
The entry has been clicked.
The entry has been double clicked.
The user has selected a path via the file selector entry’s internal file selector, whose string comes as the event_info data.
The entry has received focus.
The entry has been clicked (and held) for a couple seconds.
The entry has been clicked.
A copy action has occurred on the entry.
A cut action has occurred on the entry.
A paste action has occurred on the entry.
The entry has lost focus.
The file selector entry’s button was released after being pressed.
Enable/disable a tree view in the given file selector entry widget’s internal file selector
This has the same effect as efl.elementary.fileselector.Fileselector.expandable, but now applied to a file selector entry’s internal file selector.
Note
There’s no way to put a file selector entry’s internal file selector in “grid mode”, as one may do with “pure” file selectors.
| Type : | bool |
|---|
Whether a given file selector entry widget’s internal file selector is to display folders only or the directory contents, as well.
This has the same effect as efl.elementary.fileselector.Fileselector.folder_only, but now applied to a file selector entry’s internal file selector.
| Type : | bool |
|---|
Whether a given file selector entry widget’s internal file selector will raise an Elementary “inner window”, instead of a dedicated Elementary window. By default, it won’t.
See also
InnerWindow for more information on inner windows
| Type : | bool |
|---|
Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector entry widget’s internal file selector.
This has the same effect as efl.elementary.fileselector.Fileselector.is_save, but now applied to a file selector entry’s internal file selector.
| Type : | bool |
|---|
The initial file system path and the entry’s path string for a given file selector entry widget
It must be a directory path, which will have the contents displayed initially in the file selector’s view. The default initial path is the "HOME" environment variable’s value.
| Type : | string |
|---|
The initial file system path for a given file selector entry widget
It must be a directory path, which will have the contents displayed initially in the file selector’s view. The default initial path is the "HOME" environment variable’s value.
| Type : | string |
|---|
The size of a given file selector entry widget’s window, holding the file selector itself.
Note
it will only take any effect if the file selector entry widget is not under “inwin mode”. The default size for the window (when applicable) is 400x400 pixels.
| Type : | tuple of Evas_Coords (int) |
|---|
The title for a given file selector entry widget’s window
This is the window’s title, when the file selector pops out after a click on the entry’s button. Those windows have the default (unlocalized) value of "Select a file" as titles.
Note
It will only take any effect if the file selector entry widget is not under “inwin mode”.
| Type : | string |
|---|