Elementary Engine

These are functions setting and querying which rendering engine Elementary will use for drawing its windows' pixels. More...

Functions

const char * elm_config_engine_get (void)
 Get Elementary's rendering engine in use.
void elm_config_engine_set (const char *engine)
 Set Elementary's rendering engine for use.
const char * elm_config_preferred_engine_get (void)
 Get Elementary's preferred engine to use.
void elm_config_preferred_engine_set (const char *engine)
 Set Elementary's preferred rendering engine for use.
Eina_Bool elm_config_access_get (void)
 Get access mode.
void elm_config_access_set (Eina_Bool is_access)
 Set access mode.
Eina_Bool elm_config_mirrored_get (void)
 Get the system mirrored mode.
void elm_config_mirrored_set (Eina_Bool mirrored)
 Set the system mirrored mode.

Detailed Description

These are functions setting and querying which rendering engine Elementary will use for drawing its windows' pixels.

The following are the available engines:

  • "software_x11"
  • "fb"
  • "directfb"
  • "software_16_x11"
  • "software_8_x11"
  • "xrender_x11"
  • "opengl_x11"
  • "software_gdi"
  • "software_16_wince_gdi"
  • "sdl"
  • "software_16_sdl"
  • "opengl_sdl"
  • "buffer"
  • "ews"
  • "opengl_cocoa"
  • "psl1ght"

Function Documentation

Eina_Bool elm_config_access_get ( void  )

Get access mode.

Returns:
the access mode bouncing state
Since:
1.7
See also:
elm_config_access_set()
void elm_config_access_set ( Eina_Bool  is_access)

Set access mode.

Parameters:
is_accesssIf EINA_TRUE enables access mode
Note:
Elementary objects may have information (e.g. label on the elm_button) to be read. This information is read by access module when an object receives EVAS_CALLBACK_MOUSE_IN event
Since:
1.7
See also:
elm_config_access_get()
const char* elm_config_engine_get ( void  )

Get Elementary's rendering engine in use.

Returns:
The rendering engine's name
Note:
there's no need to free the returned string, here.

This gets the global rendering engine that is applied to all Elementary applications.

See also:
elm_config_engine_set()
void elm_config_engine_set ( const char *  engine)

Set Elementary's rendering engine for use.

Parameters:
engineThe rendering engine's name

Note that it will take effect only to Elementary windows created after this is called.

See also:
elm_win_add()
Eina_Bool elm_config_mirrored_get ( void  )

Get the system mirrored mode.

This determines the default mirrored mode of widgets.

Returns:
EINA_TRUE if mirrored is set, EINA_FALSE otherwise
void elm_config_mirrored_set ( Eina_Bool  mirrored)

Set the system mirrored mode.

This determines the default mirrored mode of widgets.

Parameters:
mirroredEINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
const char* elm_config_preferred_engine_get ( void  )

Get Elementary's preferred engine to use.

Returns:
The rendering engine's name
Note:
there's no need to free the returned string, here.

This gets the global rendering engine that is applied to all Elementary applications and is PREFERRED by the application. This can (and will) override the engine configured for all applications which.

See also:
elm_config_preferred_engine_set()
void elm_config_preferred_engine_set ( const char *  engine)

Set Elementary's preferred rendering engine for use.

Parameters:
engineThe rendering engine's name

Note that it will take effect only to Elementary windows created after this is called. This overrides the engine set by configuration at application startup. Note that it is a hint and may not be honored.

See also:
elm_win_add()