2015-05-17 00:37:49 -07:00
|
|
|
class Elm.Fileselector_Entry (Elm.Layout, Elm_Interface_Fileselector,
|
|
|
|
Evas.Clickable_Interface, Evas.Selectable_Interface)
|
2014-03-29 23:48:21 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_obj_fileselector_entry;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property inwin_mode {
|
2014-03-29 23:48:21 -07:00
|
|
|
set {
|
2015-07-29 06:44:00 -07:00
|
|
|
[[Set 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 depends on the current
|
|
|
|
profile.
|
|
|
|
|
|
|
|
See also \@ref elm_win_inwin_add for more information on inner windows,
|
|
|
|
@.inwin_mode.get.
|
|
|
|
]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-29 06:44:00 -07:00
|
|
|
[[Get whether a given file selector entry widget's internal file
|
|
|
|
selector will raise an Elementary "inner window", instead of a
|
|
|
|
dedicated Elementary window.
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
See also @.inwin_mode.set for more details.
|
|
|
|
]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-29 06:44:00 -07:00
|
|
|
value: bool; [[$true to make it use an inner window, $false
|
|
|
|
to make it use a dedicated window.]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property window_size {
|
2014-03-29 23:48:21 -07:00
|
|
|
set {
|
2015-07-29 06:44:00 -07:00
|
|
|
[[Set the size of a given file selector entry widget's window,
|
|
|
|
holding the file selector itself.
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
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.
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
See also @.window_size.get.
|
|
|
|
]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-29 06:44:00 -07:00
|
|
|
[[Get the size of a given file selector entry widget's window,
|
|
|
|
holding the file selector itself.
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
Note: Use $null pointers on the size values you're not
|
|
|
|
interested in: they'll be ignored by the function.
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
See also @.window_size.set, for more details.
|
|
|
|
]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-29 06:44:00 -07:00
|
|
|
width: Evas.Coord; [[The window's width.]]
|
|
|
|
height: Evas.Coord; [[The window's height.]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property window_title {
|
2014-03-29 23:48:21 -07:00
|
|
|
set {
|
2015-07-29 06:44:00 -07:00
|
|
|
[[Set the title for a given file selector entry widget's window
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
This will change 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.
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
Note: It will only take any effect if the file selector
|
|
|
|
entry widget is not under "inwin mode".
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
See also @.window_title.get.
|
|
|
|
]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-29 06:44:00 -07:00
|
|
|
[[Get the title set for a given file selector entry widget's
|
|
|
|
window.
|
2014-03-29 23:48:21 -07:00
|
|
|
|
2015-07-29 06:44:00 -07:00
|
|
|
See also @.window_title.set for more details.
|
|
|
|
]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-29 06:44:00 -07:00
|
|
|
title: const(char)*; [[The title string.]]
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
|
|
|
Evas.Object_Smart.del;
|
|
|
|
Evas.Object_Smart.add;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.theme_apply;
|
|
|
|
Elm.Widget.focus_next_manager_is;
|
|
|
|
Elm.Widget.focus_next;
|
|
|
|
Elm.Widget.disable;
|
|
|
|
Elm.Widget.focus_direction_manager_is;
|
2015-04-22 04:38:51 -07:00
|
|
|
Elm.Container.content_get;
|
|
|
|
Elm.Container.content_unset;
|
|
|
|
Elm.Container.content_set;
|
2015-04-22 04:37:40 -07:00
|
|
|
Elm.Layout.text_set;
|
|
|
|
Elm.Layout.text_get;
|
|
|
|
Elm.Layout.sizing_eval;
|
2014-06-20 02:47:39 -07:00
|
|
|
Elm_Interface_Fileselector.selected;
|
|
|
|
Elm_Interface_Fileselector.folder_only;
|
|
|
|
Elm_Interface_Fileselector.is_save;
|
|
|
|
Elm_Interface_Fileselector.path;
|
|
|
|
Elm_Interface_Fileselector.expandable;
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
language,changed;
|
|
|
|
access,changed;
|
2014-05-29 06:07:33 -07:00
|
|
|
changed;
|
2015-05-17 00:37:49 -07:00
|
|
|
activated;
|
|
|
|
file,chosen;
|
|
|
|
press;
|
2014-03-29 23:48:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|