| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
evas.c_evas.Object --+
|
Object --+
|
LayoutClass --+
|
Button --+
|
FileselectorButton
This is a button that, when clicked, creates an Elementary window (or inner window) with a Fileselector "file selector widget" within.
When a file is chosen, the (inner) window is closed and the button
emits a signal having the selected file as it's
event_info.
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.
The following styles are available for this button:
"default"
"anchor"
"hoversel_vertical"
"hoversel_vertical_entry"
This widget emits the following signals, besides the ones sent from Button:
"file,chosen" - the user has selected a path
which comes as the event_info data
Default text parts of the fileselector_button widget that you can use for are:
Default content parts of the fileselector_button widget that you can use for are:
|
|||
| Object |
|
||
| a new object with type S, a subtype of T |
|
||
| bool |
|
||
|
|||
| bool |
|
||
|
|||
|
|||
|
|||
| bool |
|
||
|
|||
| string |
|
||
|
|||
| tuple of Evas_Coords (int) |
|
||
|
|||
| string |
|
||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
| General | |||
|---|---|---|---|
|
Inherited from Inherited from |
|||
| Styles | |||
|
Inherited from |
|||
| Widget Tree Navigation | |||
|
Inherited from |
|||
| Cursors | |||
|
Inherited from |
|||
| Focus | |||
|
Inherited from |
|||
| Mirroring | |||
|
Inherited from |
|||
| Widget Scaling | |||
| Scrollhints | |||
|
Inherited from |
|||
| Tooltips | |||
|
Inherited from |
|||
| Callbacks | |||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| State manipulation | |||
|
Inherited from |
|||
| Positioning | |||
|
Inherited from |
|||
| Layer & Stack manipulation | |||
|
Inherited from |
|||
| Event processing control | |||
|
Inherited from |
|||
| Event callbacks | |||
|
Inherited from |
|||
| Often unused | |||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
| bool |
expandable Enable/disable a tree view in the given file selector button widget's internal file selector |
||
| bool |
folder_only Whether a given file selector button widget's internal file selector is to display folders only or the directory contents, as well. |
||
| bool |
inwin_mode Whether a given file selector button widget's internal file selector will raise an Elementary "inner window", instead of a dedicated Elementary window. |
||
| bool |
is_save Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector button widget's internal file selector. |
||
| string |
path The initial file system path for a given file selector button widget |
||
| tuple of Evas_Coords (int) |
window_size The size of a given file selector button widget's window, holding the file selector itself. |
||
| string |
window_title The title for a given file selector button widget's window |
||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
| General | |||
|---|---|---|---|
|
Inherited from |
|||
| Styles | |||
| Cursors | |||
|
Inherited from |
|||
| Focus | |||
|
Inherited from |
|||
| Mirroring | |||
|
Inherited from |
|||
| Scrollhints | |||
|
Inherited from |
|||
| Tooltips | |||
|
Inherited from |
|||
| State manipulation | |||
|
Inherited from |
|||
| Positioning | |||
|
Inherited from |
|||
| Layer & Stack manipulation | |||
|
Inherited from |
|||
| Event processing control | |||
|
Inherited from |
|||
| Often unused | |||
|
Inherited from |
|||
|
|||
Add a new file selector button widget to the given parent Elementary (container) object |
|
Get whether tree view is enabled for the given file selector button widget's internal file selector
See Also: expandable_set() for more details |
Enable/disable a tree view in the given file selector button widget's internal file selector This has the same effect as Fileselector.expandable_set(), but now applied to a file selector button's internal file selector.
Note: There's no way to put a file selector button's internal file selector in "grid mode", as one may do with "pure" file selectors. See Also: expandable_get() |
Get whether a given file selector button widget's internal file selector is displaying folders only or the directory contents, as well.
See Also: folder_only_set() for more details |
Set whether a given file selector button widget's internal file selector is to display folders only or the directory contents, as well. This has the same effect as Fileselector.folder_only_set(), but now applied to a file selector button's internal file selector.
See Also: folder_only_get() |
Get whether a given file selector button widget's internal file selector will raise an Elementary "inner window", instead of a dedicated Elementary window.
See Also: inwin_mode_set() for more details |
Set whether a given file selector button widget's internal file selector will raise an Elementary "inner window", instead of a dedicated Elementary window. By default, it won't.
|
Get whether the given file selector button widget's internal file selector is in "saving dialog" mode
See Also: is_save_set() for more details |
Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector button widget's internal file selector. This has the same effect as Fileselector.is_save_set(), but now applied to a file selector button's internal file selector.
See Also: is_save_get() |
Get the initial file system path set for a given file selector button widget
See Also: path_set() for more details |
Set the initial file system path for a given file selector button 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
See Also: path_get() |
Get the size of a given file selector button widget's window, holding the file selector itself.
See Also: window_size_set(), for more details |
Set the size of a given file selector button widget's window, holding the file selector itself.
Note: it will only take any effect if the file selector button widget is not under "inwin mode". The default size for the window (when applicable) is 400x400 pixels. See Also: window_size_get() |
Get the title for a given file selector button widget's window
See Also: window_title_get() for more details |
Set the title for a given file selector button widget's window This will change the popup window's title, when the file selector pops
out after a click on the button. Those windows have the default
(unlocalized) value of
Note: It will only take effect if the file selector button widget is not under "inwin mode". See Also: window_title_get() |
|
|||
expandableEnable/disable a tree view in the given file selector button widget's internal file selector This has the same effect as Fileselector.expandable, but now applied to a file selector button's internal file selector.
Note: There's no way to put a file selector button's internal file selector in "grid mode", as one may do with "pure" file selectors. |
folder_onlyWhether a given file selector button widget's internal file selector is to display folders only or the directory contents, as well. This has the same effect as Fileselector.folder_only_set(), but now applied to a file selector button's internal file selector.
|
inwin_modeWhether a given file selector button 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 |
is_saveEnable/disable the file name entry box where the user can type in a name for a file, in a given file selector button widget's internal file selector. This has the same effect as Fileselector.is_save, but now applied to a file selector button's internal file selector.
|
pathThe initial file system path for a given file selector button 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
|
window_sizeThe size of a given file selector button widget's window, holding the file selector itself.
Note: Setting this will only take any effect if the file selector button widget is not under "inwin mode". The default size for the window (when applicable) is 400x400 pixels. |
window_titleThe title for a given file selector button widget's window This is the popup window's title, when the file selector pops out
after a click on the button. Those windows have the default (unlocalized)
value of
Note: Setting this will only take effect if the file selector button widget is not under "inwin mode". |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Jan 10 14:23:15 2013 | http://epydoc.sourceforge.net |