2015-05-20 04:15:23 -07:00
|
|
|
struct Elm.Event.Policy_Changed
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Data on the event when an Elementary policy has changed]]
|
|
|
|
policy: uint; [[the policy identifier]]
|
|
|
|
new_value: int; [[value the policy had before the change]]
|
|
|
|
old_value: int; [[new value the policy got]]
|
2015-05-20 04:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Policy
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Policy identifiers.]]
|
|
|
|
quit, [[under which circumstances the application should quit automatically.
|
|
|
|
See also @Elm_Policy_Quit.]]
|
|
|
|
exit, [[defines elm_exit() behaviour. See also @Elm_Policy_Exit.
|
|
|
|
|
2015-05-20 04:15:23 -07:00
|
|
|
@since 1.8
|
2015-06-11 08:39:33 -07:00
|
|
|
]]
|
|
|
|
throttle, [[defines how throttling should work. See also @Elm_Policy_Throttle
|
|
|
|
|
2015-05-20 04:15:23 -07:00
|
|
|
@since 1.8
|
2015-06-11 08:39:33 -07:00
|
|
|
]]
|
2015-05-20 04:15:23 -07:00
|
|
|
last
|
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Policy.Quit
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Possible values for the #ELM_POLICY_QUIT policy]]
|
|
|
|
none = 0, [[never quit the application automatically]]
|
2015-07-01 07:40:57 -07:00
|
|
|
last_window_closed, [[quit when the application's last window is closed]]
|
|
|
|
last_window_hidden [[quit when the application's last window is hidden @since 1.14]]
|
2015-05-20 04:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Policy.Exit
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Possible values for the #ELM_POLICY_EXIT policy.
|
|
|
|
|
2015-05-20 04:15:23 -07:00
|
|
|
@since 1.8
|
2015-06-11 08:39:33 -07:00
|
|
|
]]
|
|
|
|
none = 0, [[just quit the main loop on elm_exit()]]
|
|
|
|
windows_del [[delete all the windows after quitting the main loop]]
|
2015-05-20 04:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Policy.Throttle
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Possible values for the #ELM_POLICY_THROTTLE policy.
|
|
|
|
|
2015-05-20 04:15:23 -07:00
|
|
|
@since 1.8
|
2015-06-11 08:39:33 -07:00
|
|
|
]]
|
|
|
|
config = 0, [[do whatever elementary config is configured to do]]
|
|
|
|
hidden_always, [[always throttle when all windows are no longer visible]]
|
|
|
|
never [[never throttle when windows are all hidden, regardless of config
|
|
|
|
settings]]
|
2015-05-20 04:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Object.Select_Mode
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Possible values for the #ELM_OBJECT_SELECT_MODE policy.
|
|
|
|
|
2015-05-20 04:15:23 -07:00
|
|
|
@since 1.7
|
2015-06-11 08:39:33 -07:00
|
|
|
]]
|
|
|
|
default = 0, [[default select mode. Once an item is selected, it would stay
|
|
|
|
highlighted and not going to call selected callback again
|
|
|
|
even it was clicked. Items can get focus.]]
|
|
|
|
always, [[always select mode. Item selected callbacks will be called every
|
|
|
|
time for click events, even after the item was already selected.
|
|
|
|
Items can get focus.]]
|
|
|
|
none, [[no select mode. Items will never be highlighted and selected but
|
|
|
|
the size will be adjusted by the finger size configuration. Items
|
|
|
|
can't get focus.]]
|
|
|
|
display_only, [[no select mode with no finger size rule. Items will never
|
|
|
|
be highlighted and selected and ignore the finger size. So
|
|
|
|
the item size can be reduced below than the finger size
|
|
|
|
configuration. Items can't get focus.]]
|
|
|
|
max [[canary value: any value greater or equal to ELM_OBJECT_SELECT_MODE_MAX
|
|
|
|
is forbidden.]]
|
2015-05-20 04:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Object.Multi_Select_Mode
|
|
|
|
{
|
2015-06-11 08:39:33 -07:00
|
|
|
[[Possible values for the #ELM_OBJECT_MULTI_SELECT_MODE policy.
|
|
|
|
|
2015-05-20 04:15:23 -07:00
|
|
|
@since 1.8
|
2015-06-11 08:39:33 -07:00
|
|
|
]]
|
|
|
|
default = 0, [[default multiple select mode]]
|
|
|
|
with_control, [[disallow mutiple selection when clicked without control key
|
|
|
|
pressed]]
|
|
|
|
max [[canary value: any value greater or equal to
|
|
|
|
ELM_OBJECT_MULTI_SELECT_MODE_MAX is forbidden.]]
|
2015-05-20 04:15:23 -07:00
|
|
|
}
|
|
|
|
|
2015-07-08 04:42:17 -07:00
|
|
|
enum Elm.Wrap.Type
|
|
|
|
{
|
|
|
|
[[
|
|
|
|
@addtogroup Entry
|
|
|
|
Line wrapping types.
|
|
|
|
Type of word or character wrapping to use.
|
|
|
|
@see elm_entry_line_wrap_set()
|
|
|
|
@see elm_popup_content_text_wrap_type_set
|
|
|
|
@see elm_label_line_wrap_set()
|
|
|
|
]]
|
|
|
|
|
|
|
|
legacy: elm_wrap;
|
|
|
|
none = 0, [[No wrap - value is zero.]]
|
|
|
|
char, [[Char wrap - wrap between characters.]]
|
|
|
|
word, [[Word wrap - wrap in allowed wrapping points (as defined in the unicode standard).]]
|
|
|
|
mixed, [[Mixed wrap - Word wrap, and if that fails, char wrap.]]
|
|
|
|
last
|
|
|
|
}
|
|
|
|
|