Need

Description

These functions are used for requesting use of optional Elementary modules. Check their return value for whether the feature is actually supported.

efl.elementary.need_efreet()

Request that your elementary application needs Efreet

This initializes the Efreet library when called and if support exists it returns True, otherwise returns False. This must be called before any efreet calls.

Returns

True if support exists and initialization succeeded.

Return type

bool

efl.elementary.need_systray()

Request that your elementary application needs Elm_Systray

WARNING: elm is no more capable of systray functionality

Returns

always return False

Return type

bool

New in version 1.8.

efl.elementary.need_sys_notify()

Request that your elementary application needs Elm_Sys_Notify

This initializes the Elm_Sys_Notify when called and if support exists it returns True, otherwise returns False. This must be called before any elm_sys_notify calls.

Returns

True if support exists and initialization succeeded.

Return type

bool

New in version 1.8.

efl.elementary.need_e_dbus()

Request that your elementary application needs e_dbus

This initializes the e_dbus library when called and if support exists it returns True, otherwise returns False. This must be called before any e_dbus calls.

Returns

True if support exists and initialization succeeded.

Return type

bool

Deprecated since version 1.8: Use need_eldbus() for eldbus (v2) support. Old API is deprecated.

efl.elementary.need_eldbus()

Request that your elementary application needs eldbus

This initializes the edbus (aka v2) library when called and if support exists it returns True, otherwise returns False. This must be called before any edbus calls.

Returns

True if support exists and initialization succeeded.

Return type

bool

New in version 1.8.

efl.elementary.need_elocation()

Request that your elementary application needs elocation

This initializes the elocation library when called and if support exists it returns True, otherwise returns False. This must be called before any elocation usage.

Returns

True if support exists and initialization succeeded.

Return type

bool

New in version 1.8.

efl.elementary.need_ethumb()

Request that your elementary application needs ethumb

This initializes the Ethumb library when called and if support exists it returns True, otherwise returns False. This must be called before any other function that deals with elm_thumb objects or ethumb_client instances.

Returns

True if support exists and initialization succeeded.

Return type

bool

efl.elementary.need_web()

Request that your elementary application needs web support

This initializes the Ewebkit library when called and if support exists it returns True, otherwise returns False. This must be called before any other function that deals with elm_web objects or ewk_view instances.

Returns

True if support exists and initialization succeeded.

Return type

bool