2008-09-29 23:58:56 -07:00
|
|
|
/*
|
2009-10-26 03:11:14 -07:00
|
|
|
*
|
2008-09-29 23:58:56 -07:00
|
|
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
|
|
|
*/
|
|
|
|
#ifndef ELEMENTARY_H
|
|
|
|
#define ELEMENTARY_H
|
|
|
|
|
2009-05-19 02:29:20 -07:00
|
|
|
/**
|
|
|
|
* @file Elementary.h
|
|
|
|
* @brief Elementary's API
|
|
|
|
*
|
|
|
|
* Elementary API.
|
|
|
|
*/
|
|
|
|
|
2008-12-18 16:34:56 -08:00
|
|
|
@ELM_UNIX_DEF@ ELM_UNIX
|
|
|
|
@ELM_WIN32_DEF@ ELM_WIN32
|
|
|
|
@ELM_WINCE_DEF@ ELM_WINCE
|
2008-12-18 17:22:11 -08:00
|
|
|
@ELM_EDBUS_DEF@ ELM_EDBUS
|
2009-09-12 02:37:29 -07:00
|
|
|
@ELM_EFREET_DEF@ ELM_EFREET
|
2010-03-15 11:34:04 -07:00
|
|
|
@ELM_ETHUMB_DEF@ ELM_ETHUMB
|
2008-12-18 17:22:11 -08:00
|
|
|
@ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
|
2009-02-05 02:23:04 -08:00
|
|
|
@ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
|
|
|
|
|
2008-09-29 23:58:56 -07:00
|
|
|
/* Standard headers for standard system calls etc. */
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <dlfcn.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <fnmatch.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <dirent.h>
|
|
|
|
#include <pwd.h>
|
|
|
|
#include <errno.h>
|
2008-12-18 17:47:42 -08:00
|
|
|
|
|
|
|
#ifdef ELM_UNIX
|
|
|
|
# include <locale.h>
|
2009-11-29 08:12:00 -08:00
|
|
|
# ifdef ELM_LIBINTL_H
|
|
|
|
# include <libintl.h>
|
|
|
|
# endif
|
2008-12-18 17:47:42 -08:00
|
|
|
# include <signal.h>
|
|
|
|
# include <grp.h>
|
|
|
|
# include <glob.h>
|
|
|
|
#endif
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2008-12-18 17:22:11 -08:00
|
|
|
#ifdef ELM_ALLOCA_H
|
|
|
|
# include <alloca.h>
|
|
|
|
#endif
|
2008-12-18 17:47:42 -08:00
|
|
|
|
|
|
|
#if defined (ELM_WIN32) || defined (ELM_WINCE)
|
|
|
|
# include <malloc.h>
|
|
|
|
# ifndef alloca
|
|
|
|
# define alloca _alloca
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-09-29 23:58:56 -07:00
|
|
|
/* EFL headers */
|
2008-10-17 07:40:54 -07:00
|
|
|
#include <Eina.h>
|
|
|
|
#include <Eet.h>
|
2008-09-29 23:58:56 -07:00
|
|
|
#include <Evas.h>
|
|
|
|
#include <Ecore.h>
|
|
|
|
#include <Ecore_Evas.h>
|
|
|
|
#include <Ecore_File.h>
|
|
|
|
#include <Edje.h>
|
|
|
|
|
2008-12-18 17:22:11 -08:00
|
|
|
#ifdef ELM_EDBUS
|
|
|
|
# include <E_DBus.h>
|
|
|
|
# include <E_Hal.h>
|
|
|
|
#endif
|
2008-12-18 16:34:56 -08:00
|
|
|
|
2009-09-12 02:37:29 -07:00
|
|
|
#ifdef ELM_EFREET
|
|
|
|
# include <Efreet.h>
|
|
|
|
# include <Efreet_Mime.h>
|
|
|
|
# include <Efreet_Trash.h>
|
|
|
|
#endif
|
|
|
|
|
2010-03-15 11:34:04 -07:00
|
|
|
#ifdef ELM_ETHUMB
|
|
|
|
# include <Ethumb_Client.h>
|
|
|
|
#endif
|
|
|
|
|
2008-12-18 16:34:56 -08:00
|
|
|
#ifdef EAPI
|
|
|
|
# undef EAPI
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
# ifdef ELEMENTARY_BUILD
|
|
|
|
# ifdef DLL_EXPORT
|
|
|
|
# define EAPI __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif /* ! DLL_EXPORT */
|
|
|
|
# else
|
|
|
|
# define EAPI __declspec(dllimport)
|
|
|
|
# endif /* ! EFL_EVAS_BUILD */
|
|
|
|
#else
|
|
|
|
# ifdef __GNUC__
|
|
|
|
# if __GNUC__ >= 4
|
|
|
|
# define EAPI __attribute__ ((visibility("default")))
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
#endif /* ! _WIN32 */
|
|
|
|
|
|
|
|
|
2008-09-29 23:58:56 -07:00
|
|
|
/* allow usage from c++ */
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2009-02-25 22:50:36 -08:00
|
|
|
/* handy macros */
|
2009-02-11 03:49:43 -08:00
|
|
|
#define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
|
2009-11-13 07:22:23 -08:00
|
|
|
#define ELM_PI 3.14159265358979323846
|
2009-07-06 23:46:51 -07:00
|
|
|
|
|
|
|
/**************************************************************************/
|
2010-03-15 11:34:04 -07:00
|
|
|
EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
|
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
/* Objects */
|
2008-09-29 23:58:56 -07:00
|
|
|
typedef enum _Elm_Win_Type
|
|
|
|
{
|
|
|
|
ELM_WIN_BASIC,
|
2009-04-10 21:54:12 -07:00
|
|
|
ELM_WIN_DIALOG_BASIC,
|
|
|
|
ELM_WIN_DESKTOP,
|
|
|
|
ELM_WIN_DOCK,
|
|
|
|
ELM_WIN_TOOLBAR,
|
|
|
|
ELM_WIN_MENU,
|
|
|
|
ELM_WIN_UTILITY,
|
|
|
|
ELM_WIN_SPLASH
|
2008-09-29 23:58:56 -07:00
|
|
|
} Elm_Win_Type;
|
2008-11-18 02:11:57 -08:00
|
|
|
|
|
|
|
typedef enum _Elm_Win_Keyboard_Mode
|
|
|
|
{
|
|
|
|
ELM_WIN_KEYBOARD_UNKNOWN,
|
2009-07-06 23:46:51 -07:00
|
|
|
ELM_WIN_KEYBOARD_OFF,
|
|
|
|
ELM_WIN_KEYBOARD_ON,
|
|
|
|
ELM_WIN_KEYBOARD_ALPHA,
|
|
|
|
ELM_WIN_KEYBOARD_NUMERIC,
|
|
|
|
ELM_WIN_KEYBOARD_PIN,
|
|
|
|
ELM_WIN_KEYBOARD_PHONE_NUMBER,
|
|
|
|
ELM_WIN_KEYBOARD_HEX,
|
|
|
|
ELM_WIN_KEYBOARD_TERMINAL,
|
2009-12-14 22:38:32 -08:00
|
|
|
ELM_WIN_KEYBOARD_PASSWORD,
|
|
|
|
ELM_WIN_KEYBOARD_IP,
|
|
|
|
ELM_WIN_KEYBOARD_HOST,
|
|
|
|
ELM_WIN_KEYBOARD_FILE,
|
|
|
|
ELM_WIN_KEYBOARD_URL,
|
|
|
|
ELM_WIN_KEYBOARD_KEYPAD,
|
|
|
|
ELM_WIN_KEYBOARD_J2ME
|
2008-11-18 02:11:57 -08:00
|
|
|
} Elm_Win_Keyboard_Mode;
|
2009-01-09 03:34:55 -08:00
|
|
|
|
2009-12-01 05:50:22 -08:00
|
|
|
/**
|
|
|
|
* Emitted when policy value changed.
|
|
|
|
*/
|
|
|
|
EAPI extern int ELM_EVENT_POLICY_CHANGED;
|
|
|
|
typedef struct _Elm_Event_Policy_Changed
|
|
|
|
{
|
|
|
|
unsigned int policy;
|
|
|
|
int new_value;
|
|
|
|
int old_value;
|
|
|
|
} Elm_Event_Policy_Changed;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Policy identifiers.
|
|
|
|
*
|
|
|
|
* @see elm_policy_set()
|
|
|
|
*/
|
|
|
|
typedef enum _Elm_Policy
|
|
|
|
{
|
|
|
|
ELM_POLICY_QUIT, /**< when should quit application automatically.
|
|
|
|
* @see Elm_Policy_Quit.
|
|
|
|
*/
|
|
|
|
ELM_POLICY_LAST
|
|
|
|
} Elm_Policy;
|
|
|
|
|
|
|
|
typedef enum _Elm_Policy_Quit
|
|
|
|
{
|
|
|
|
ELM_POLICY_QUIT_NONE = 0, /**< never quit application automatically */
|
|
|
|
ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when last window is closed */
|
|
|
|
} Elm_Policy_Quit;
|
|
|
|
|
2010-03-15 11:34:04 -07:00
|
|
|
typedef enum _Elm_Thumb_Animation_Setting
|
|
|
|
{
|
|
|
|
ELM_THUMB_ANIMATION_START = 0, /* Play animation once */
|
|
|
|
ELM_THUMB_ANIMATION_LOOP, /* Keep playing animation until stop is requested */
|
|
|
|
ELM_THUMB_ANIMATION_STOP
|
|
|
|
} Elm_Thumb_Animation_Setting;
|
|
|
|
|
2009-07-06 23:46:51 -07:00
|
|
|
#ifndef ELM_LIB_QUICKLAUNCH
|
2009-01-09 03:34:55 -08:00
|
|
|
#define ELM_MAIN() int main(int argc, char **argv) {elm_init(argc, argv); return elm_main(argc, argv);}
|
2009-02-25 03:00:07 -08:00
|
|
|
#else
|
|
|
|
#define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);}
|
|
|
|
#endif
|
2009-07-06 23:46:51 -07:00
|
|
|
|
|
|
|
/**************************************************************************/
|
2008-09-29 23:58:56 -07:00
|
|
|
/* General calls */
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_init(int argc, char **argv);
|
|
|
|
EAPI void elm_shutdown(void);
|
|
|
|
EAPI void elm_run(void);
|
|
|
|
EAPI void elm_exit(void);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-25 03:00:07 -08:00
|
|
|
EAPI void elm_quicklaunch_init(int argc, char **argv);
|
|
|
|
EAPI void elm_quicklaunch_sub_init(int argc, char **argv);
|
|
|
|
EAPI void elm_quicklaunch_sub_shutdown(void);
|
|
|
|
EAPI void elm_quicklaunch_shutdown(void);
|
|
|
|
EAPI void elm_quicklaunch_seed(void);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI Eina_Bool elm_quicklaunch_prepare(int argc, char **argv);
|
|
|
|
EAPI Eina_Bool elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
|
2009-02-25 03:00:07 -08:00
|
|
|
EAPI void elm_quicklaunch_cleanup(void);
|
|
|
|
EAPI int elm_quicklaunch_fallback(int argc, char **argv);
|
|
|
|
EAPI char *elm_quicklaunch_exe_path_get(const char *exe);
|
2009-09-23 04:15:55 -07:00
|
|
|
|
2009-09-12 02:37:29 -07:00
|
|
|
EAPI void elm_need_efreet(void);
|
|
|
|
EAPI void elm_need_e_dbus(void);
|
2010-03-15 11:34:04 -07:00
|
|
|
EAPI void elm_need_ethumb(void);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-12-01 05:50:22 -08:00
|
|
|
EAPI Eina_Bool elm_policy_set(unsigned int policy, int value);
|
|
|
|
EAPI int elm_policy_get(unsigned int policy);
|
|
|
|
|
2009-02-02 21:09:03 -08:00
|
|
|
EAPI void elm_object_scale_set(Evas_Object *obj, double scale);
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI double elm_object_scale_get(const Evas_Object *obj);
|
2009-04-22 21:03:27 -07:00
|
|
|
EAPI void elm_object_style_set(Evas_Object *obj, const char *style);
|
|
|
|
EAPI const char *elm_object_style_get(const Evas_Object *obj);
|
2009-08-16 04:35:55 -07:00
|
|
|
EAPI void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled);
|
|
|
|
EAPI Eina_Bool elm_object_disabled_get(const Evas_Object *obj);
|
2009-04-22 21:03:27 -07:00
|
|
|
|
2010-03-22 14:36:59 -07:00
|
|
|
EAPI Eina_Bool elm_object_widget_check(const Evas_Object *obj);
|
|
|
|
EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj);
|
|
|
|
|
2009-03-12 22:50:38 -07:00
|
|
|
EAPI double elm_scale_get(void);
|
|
|
|
EAPI void elm_scale_set(double scale);
|
2010-01-15 01:32:43 -08:00
|
|
|
EAPI void elm_scale_all_set(double scale);
|
2009-03-12 22:50:38 -07:00
|
|
|
EAPI Evas_Coord elm_finger_size_get(void);
|
|
|
|
EAPI void elm_finger_size_set(Evas_Coord size);
|
2010-01-15 01:32:43 -08:00
|
|
|
EAPI void elm_finger_size_all_set(Evas_Coord size);
|
|
|
|
|
2009-02-02 21:09:03 -08:00
|
|
|
EAPI void elm_object_focus(Evas_Object *obj);
|
2010-01-09 18:18:50 -08:00
|
|
|
EAPI void elm_object_unfocus(Evas_Object *obj);
|
2009-10-22 01:04:34 -07:00
|
|
|
EAPI void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_object_focus_allow_get(const Evas_Object *obj);
|
2009-11-13 07:22:23 -08:00
|
|
|
|
2009-09-07 21:40:27 -07:00
|
|
|
EAPI void elm_object_scroll_hold_push(Evas_Object *obj);
|
|
|
|
EAPI void elm_object_scroll_hold_pop(Evas_Object *obj);
|
|
|
|
EAPI void elm_object_scroll_freeze_push(Evas_Object *obj);
|
|
|
|
EAPI void elm_object_scroll_freeze_pop(Evas_Object *obj);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-11 03:49:43 -08:00
|
|
|
EAPI void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-23 00:40:58 -08:00
|
|
|
EAPI void elm_theme_overlay_add(const char *item);
|
2009-10-23 07:42:39 -07:00
|
|
|
EAPI void elm_theme_overlay_del(const char *item);
|
2009-02-23 00:40:58 -08:00
|
|
|
EAPI void elm_theme_extension_add(const char *item);
|
2009-10-23 07:42:39 -07:00
|
|
|
EAPI void elm_theme_extension_del(const char *item);
|
|
|
|
EAPI void elm_theme_flush(void);
|
2010-01-15 01:32:43 -08:00
|
|
|
EAPI void elm_theme_all_set(const char *theme);
|
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
|
|
|
|
EAPI void elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj);
|
|
|
|
EAPI void elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj);
|
|
|
|
EAPI void elm_win_title_set(Evas_Object *obj, const char *title);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel);
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_win_activate(Evas_Object *obj);
|
2009-04-03 14:52:01 -07:00
|
|
|
EAPI void elm_win_lower(Evas_Object *obj);
|
|
|
|
EAPI void elm_win_raise(Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_borderless_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_shaped_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
|
2010-02-11 21:31:26 -08:00
|
|
|
EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_fullscreen_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_maximized_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_iconified_get(const Evas_Object *obj);
|
2009-03-12 22:50:38 -07:00
|
|
|
EAPI void elm_win_layer_set(Evas_Object *obj, int layer);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI int elm_win_layer_get(const Evas_Object *obj);
|
2009-03-14 11:03:19 -07:00
|
|
|
EAPI void elm_win_rotation_set(Evas_Object *obj, int rotation);
|
2010-02-10 06:38:08 -08:00
|
|
|
EAPI void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI int elm_win_rotation_get(const Evas_Object *obj);
|
2009-04-03 14:52:01 -07:00
|
|
|
EAPI void elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_sticky_get(const Evas_Object *obj);
|
2010-01-14 21:17:54 -08:00
|
|
|
EAPI void elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_conformant_get(const Evas_Object *obj);
|
2010-01-24 02:12:57 -08:00
|
|
|
EAPI void elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_win_quickpanel_get(const Evas_Object *obj);
|
2010-01-24 02:21:54 -08:00
|
|
|
EAPI void elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI int elm_win_quickpanel_priority_major_get(const Evas_Object *obj);
|
2010-01-24 02:21:54 -08:00
|
|
|
EAPI void elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI int elm_win_quickpanel_priority_minor_get(const Evas_Object *obj);
|
2010-01-24 12:05:09 -08:00
|
|
|
EAPI void elm_win_quickpanel_zone_set(Evas_Object *obj, int zone);
|
2009-04-03 14:52:01 -07:00
|
|
|
|
2009-03-12 22:50:38 -07:00
|
|
|
/*...
|
|
|
|
* ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
|
|
|
|
* ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
|
|
|
|
* ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
|
|
|
|
* ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
|
|
|
|
* ecore_x_icccm_window_role_set -> role (add to ecore_evas)
|
|
|
|
* ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
|
|
|
|
* ecore_x_netwm_window_type_set -> type (add to ecore_evas)
|
2009-07-06 23:46:51 -07:00
|
|
|
*
|
2009-03-12 22:50:38 -07:00
|
|
|
* (add to ecore_x) set netwm argb icon! (add to ecore_evas)
|
|
|
|
* (blank mouse, private mouse obj, defaultmouse)
|
|
|
|
*
|
|
|
|
*/
|
2008-11-18 02:11:57 -08:00
|
|
|
EAPI void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard);
|
2009-12-01 03:03:14 -08:00
|
|
|
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y);
|
2009-12-01 03:03:14 -08:00
|
|
|
|
2008-12-30 08:19:46 -08:00
|
|
|
EAPI Evas_Object *elm_win_inwin_add(Evas_Object *obj);
|
|
|
|
EAPI void elm_win_inwin_activate(Evas_Object *obj);
|
2009-02-23 00:05:05 -08:00
|
|
|
EAPI void elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content);
|
2009-07-06 23:46:51 -07:00
|
|
|
/* available styles:
|
2009-01-15 18:49:18 -08:00
|
|
|
* default
|
2009-01-27 16:28:20 -08:00
|
|
|
* minimal
|
|
|
|
* minimal_vertical
|
2009-01-15 18:49:18 -08:00
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-11-18 22:23:08 -08:00
|
|
|
/* X specific calls - won't work on non-x engines (return 0) */
|
2009-07-06 23:46:51 -07:00
|
|
|
EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2009-10-14 02:22:20 -07:00
|
|
|
* "delete,request" - the user requested to delete the window
|
2009-12-17 17:22:22 -08:00
|
|
|
* "focus,in" - window got focus
|
2009-10-14 02:22:20 -07:00
|
|
|
* "focus,out" - window lost focus
|
2009-12-01 03:03:14 -08:00
|
|
|
* "moved" - window that holds the canvas was moved
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_bg_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_bg_file_set(Evas_Object *obj, const char *file, const char *group);
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_icon_add(Evas_Object *parent);
|
2009-04-03 14:52:01 -07:00
|
|
|
EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char *file, const char *group);
|
2009-12-19 16:27:19 -08:00
|
|
|
EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth);
|
|
|
|
EAPI void elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
|
|
|
|
EAPI void elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
|
|
|
|
EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
|
2009-03-12 22:50:38 -07:00
|
|
|
EAPI void elm_icon_prescale_set(Evas_Object *obj, int size);
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-08 02:33:05 -07:00
|
|
|
* "clicked" - the user clicked the icon
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2009-04-22 20:48:41 -07:00
|
|
|
typedef enum _Elm_Image_Orient
|
|
|
|
{
|
|
|
|
ELM_IMAGE_ORIENT_NONE,
|
|
|
|
ELM_IMAGE_ROTATE_90_CW,
|
|
|
|
ELM_IMAGE_ROTATE_180_CW,
|
|
|
|
ELM_IMAGE_ROTATE_90_CCW,
|
|
|
|
ELM_IMAGE_FLIP_HORIZONTAL,
|
|
|
|
ELM_IMAGE_FLIP_VERTICAL,
|
|
|
|
ELM_IMAGE_FLIP_TRANSPOSE,
|
|
|
|
ELM_IMAGE_FLIP_TRANSVERSE
|
|
|
|
} Elm_Image_Orient;
|
|
|
|
|
|
|
|
EAPI Evas_Object *elm_image_add(Evas_Object *parent);
|
|
|
|
EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth);
|
2009-09-07 21:28:05 -07:00
|
|
|
EAPI void elm_image_object_size_get(const Evas_Object *obj, int *w, int *h);
|
2010-01-09 17:15:32 -08:00
|
|
|
EAPI void elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
|
|
|
|
EAPI void elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
|
2009-04-22 20:48:41 -07:00
|
|
|
EAPI void elm_image_prescale_set(Evas_Object *obj, int size);
|
|
|
|
EAPI void elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient);
|
|
|
|
/* smart callbacks called:
|
|
|
|
* "clicked" - the user clicked the image
|
|
|
|
*/
|
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_box_add(Evas_Object *parent);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
|
|
|
EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj);
|
|
|
|
EAPI void elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj);
|
|
|
|
EAPI void elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before);
|
|
|
|
EAPI void elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after);
|
2009-09-11 06:43:02 -07:00
|
|
|
EAPI void elm_box_clear(Evas_Object *obj);
|
2009-09-21 11:09:51 -07:00
|
|
|
EAPI void elm_box_unpack(Evas_Object *obj, Evas_Object *subobj);
|
|
|
|
EAPI void elm_box_unpack_all(Evas_Object *obj);
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_button_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_button_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_button_label_get(const Evas_Object *obj);
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
|
2010-01-23 01:07:20 -08:00
|
|
|
EAPI void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on);
|
2010-03-14 15:33:52 -07:00
|
|
|
EAPI void elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t);
|
2010-01-23 01:07:20 -08:00
|
|
|
EAPI void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t);
|
2009-07-06 23:46:51 -07:00
|
|
|
/* available styles:
|
|
|
|
* default
|
2009-10-06 08:08:41 -07:00
|
|
|
* anchor
|
2009-07-06 23:46:51 -07:00
|
|
|
* hoversel_vertical
|
2009-01-15 18:49:18 -08:00
|
|
|
* hoversel_vertical_entry
|
|
|
|
*/
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-06 18:23:49 -07:00
|
|
|
* "clicked" - the user clicked the button
|
2010-01-23 01:07:20 -08:00
|
|
|
* "repeated" - the user pressed the button without releasing it
|
Proxy Elementary widget signals to Edje.
Add support to automatic proxy events from Elementary to Edje using
callbacks described with Evas_Smart_Cb_Description and set to
Evas_Smart_Class or per-instance with
evas_object_smart_callbacks_descriptions_set().
Right now elm_widget is not subclassable, so there is no way to define
class signals, just instance signals.
Just doing it for button, lots of widgets to do... If you can help,
please follow the process:
* see example at src/lib/elm_button.c, copy it.
* read your widget documentation at Elementary.h
* grep for evas_object_smart_callback_call(), see if they are all
documented in Elementary.h, or if there are some missing. Fix Elementary.h
* paste and change based on fixed Elementary.h My recommendation is
to create "static const char []" variables and replace all
evas_object_smart_callback_call() with that, to force sync.
With callback descriptions pre-defined and using the same pointer with
a custom variation evas_object_smart_callback_call_ptr() we may later
optimize signal calling heavily, removing the requirement to call
eina_stringshare_add()/eina_stringshare_del() and also not mixing all
the callbacks in teh same list, instead having an array for defined
signals, and a list from there. These optimizations are not in, but
they are easily added later without breaking the API/ABI.
SVN revision: 47461
2010-03-25 17:58:14 -07:00
|
|
|
* "unpressed" - when the button is unpressed (released)
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2009-04-23 05:58:34 -07:00
|
|
|
|
|
|
|
typedef enum _Elm_Scroller_Policy
|
|
|
|
{
|
2009-07-06 23:46:51 -07:00
|
|
|
ELM_SCROLLER_POLICY_AUTO,
|
|
|
|
ELM_SCROLLER_POLICY_ON,
|
|
|
|
ELM_SCROLLER_POLICY_OFF
|
2009-04-23 05:58:34 -07:00
|
|
|
}
|
|
|
|
Elm_Scroller_Policy;
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_scroller_add(Evas_Object *parent);
|
2008-10-06 23:55:11 -07:00
|
|
|
EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
|
2010-03-22 21:46:53 -07:00
|
|
|
EAPI void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h);
|
2009-01-08 23:35:52 -08:00
|
|
|
EAPI void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
|
2009-04-23 05:58:34 -07:00
|
|
|
EAPI void elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI void elm_scroller_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
|
|
|
EAPI void elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
2009-09-01 03:45:27 -07:00
|
|
|
EAPI void elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
|
|
|
|
EAPI void elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
|
2009-09-03 05:36:39 -07:00
|
|
|
EAPI void elm_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2009-10-14 02:22:20 -07:00
|
|
|
* "edge,left"
|
|
|
|
* "edge,right"
|
|
|
|
* "edge,top"
|
|
|
|
* "edge,bottom"
|
2009-05-08 04:27:32 -07:00
|
|
|
* "scroll"
|
2009-10-14 02:22:20 -07:00
|
|
|
* "scroll,anim,start"
|
|
|
|
* "scroll,anim,stop"
|
|
|
|
* "scroll,drag,start"
|
|
|
|
* "scroll,drag,stop"
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2008-09-29 23:58:56 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_label_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_label_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_label_label_get(const Evas_Object *obj);
|
2009-10-10 22:57:05 -07:00
|
|
|
EAPI void elm_label_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
|
2010-01-26 00:42:37 -08:00
|
|
|
EAPI Eina_Bool elm_label_line_wrap_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w);
|
|
|
|
EAPI Evas_Coord elm_label_wrap_width_get(const Evas_Object *obj);
|
|
|
|
/* available styles:
|
2010-01-25 01:07:10 -08:00
|
|
|
* default
|
|
|
|
* marker
|
|
|
|
*/
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_toggle_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_toggle_label_get(const Evas_Object *obj);
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
|
|
|
|
EAPI Eina_Bool elm_toggle_state_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-06 18:23:49 -07:00
|
|
|
* "changed" - the user toggled the state
|
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_frame_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_frame_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_frame_label_get(const Evas_Object *obj);
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
|
2009-01-15 18:49:18 -08:00
|
|
|
/* available styles:
|
|
|
|
* default
|
|
|
|
* pad_small
|
|
|
|
* pad_medium
|
|
|
|
* pad_large
|
|
|
|
* pad_huge
|
|
|
|
* outdent_top
|
|
|
|
* outdent_bottom
|
|
|
|
*/
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-06 18:23:49 -07:00
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_table_add(Evas_Object *parent);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
|
2009-10-22 15:10:23 -07:00
|
|
|
EAPI void elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-06 18:23:49 -07:00
|
|
|
EAPI Evas_Object *elm_clock_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec);
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI void elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit);
|
|
|
|
EAPI void elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
|
|
|
|
EAPI void elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-06 18:23:49 -07:00
|
|
|
* "changed" - the user changed the time
|
|
|
|
*/
|
2008-10-02 05:45:23 -07:00
|
|
|
|
2008-10-07 00:45:49 -07:00
|
|
|
EAPI Evas_Object *elm_layout_add(Evas_Object *parent);
|
2009-04-03 14:52:01 -07:00
|
|
|
EAPI Eina_Bool elm_layout_file_set(Evas_Object *obj, const char *file, const char *group);
|
2009-12-20 08:34:45 -08:00
|
|
|
EAPI Eina_Bool elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style);
|
2008-10-07 00:45:49 -07:00
|
|
|
EAPI void elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI Evas_Object *elm_layout_edje_get(const Evas_Object *obj);
|
2010-02-04 01:08:02 -08:00
|
|
|
EAPI void elm_layout_sizing_eval(Evas_Object *obj);
|
|
|
|
/* smart callbacks called:
|
2008-10-07 00:45:49 -07:00
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-09-23 04:15:55 -07:00
|
|
|
typedef enum _Elm_Notify_Orient
|
|
|
|
{
|
|
|
|
ELM_NOTIFY_ORIENT_TOP,
|
2010-01-18 22:57:25 -08:00
|
|
|
ELM_NOTIFY_ORIENT_CENTER,
|
2009-09-23 04:15:55 -07:00
|
|
|
ELM_NOTIFY_ORIENT_BOTTOM,
|
|
|
|
ELM_NOTIFY_ORIENT_LEFT,
|
|
|
|
ELM_NOTIFY_ORIENT_RIGHT,
|
|
|
|
ELM_NOTIFY_ORIENT_TOP_LEFT,
|
|
|
|
ELM_NOTIFY_ORIENT_TOP_RIGHT,
|
|
|
|
ELM_NOTIFY_ORIENT_BOTTOM_LEFT,
|
|
|
|
ELM_NOTIFY_ORIENT_BOTTOM_RIGHT
|
|
|
|
} Elm_Notify_Orient;
|
|
|
|
EAPI Evas_Object *elm_notify_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
|
2010-01-09 17:15:32 -08:00
|
|
|
EAPI void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent);
|
2009-09-23 04:15:55 -07:00
|
|
|
EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient);
|
|
|
|
EAPI void elm_notify_timeout_set(Evas_Object *obj, int timeout);
|
2009-09-23 06:05:00 -07:00
|
|
|
EAPI void elm_notify_timer_init(Evas_Object *obj);
|
2009-10-22 15:10:23 -07:00
|
|
|
EAPI void elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat);
|
2009-09-23 04:15:55 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
*/
|
2010-02-04 01:08:02 -08:00
|
|
|
|
2008-11-26 21:41:13 -08:00
|
|
|
typedef enum _Elm_Hover_Axis
|
|
|
|
{
|
|
|
|
ELM_HOVER_AXIS_NONE,
|
2009-07-06 23:46:51 -07:00
|
|
|
ELM_HOVER_AXIS_HORIZONTAL,
|
|
|
|
ELM_HOVER_AXIS_VERTICAL,
|
|
|
|
ELM_HOVER_AXIS_BOTH
|
2008-11-26 21:41:13 -08:00
|
|
|
} Elm_Hover_Axis;
|
2008-10-07 23:38:20 -07:00
|
|
|
EAPI Evas_Object *elm_hover_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target);
|
|
|
|
EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
|
2008-10-08 01:48:09 -07:00
|
|
|
EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
|
2009-04-23 08:59:08 -07:00
|
|
|
EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis);
|
2009-07-06 23:46:51 -07:00
|
|
|
/* available styles:
|
2009-01-15 18:49:18 -08:00
|
|
|
* default
|
|
|
|
* popout
|
2009-10-06 08:08:41 -07:00
|
|
|
* menu
|
2009-01-15 18:49:18 -08:00
|
|
|
* hoversel_vertical
|
|
|
|
*/
|
2008-10-08 08:09:00 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-24 19:11:06 -07:00
|
|
|
* "clicked" - the user clicked the empty space in the hover to dismiss
|
2008-10-07 23:38:20 -07:00
|
|
|
*/
|
2008-10-14 01:05:30 -07:00
|
|
|
|
2008-10-24 19:11:06 -07:00
|
|
|
typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
|
|
|
|
struct _Elm_Entry_Anchor_Info
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
int button;
|
|
|
|
Evas_Coord x, y, w, h;
|
|
|
|
};
|
2009-09-02 05:48:00 -07:00
|
|
|
typedef enum _Elm_Icon_Type
|
|
|
|
{
|
|
|
|
ELM_ICON_NONE,
|
|
|
|
ELM_ICON_FILE,
|
|
|
|
ELM_ICON_STANDARD
|
|
|
|
} Elm_Icon_Type;
|
|
|
|
typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item;
|
2008-10-14 01:05:30 -07:00
|
|
|
EAPI Evas_Object *elm_entry_add(Evas_Object *parent);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_entry_single_line_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_entry_password_set(Evas_Object *obj, Eina_Bool password);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_entry_password_get(const Evas_Object *obj);
|
2008-10-16 02:17:57 -07:00
|
|
|
EAPI void elm_entry_entry_set(Evas_Object *obj, const char *entry);
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI const char *elm_entry_entry_get(const Evas_Object *obj);
|
|
|
|
EAPI const char *elm_entry_selection_get(const Evas_Object *obj);
|
2008-10-16 02:17:57 -07:00
|
|
|
EAPI void elm_entry_entry_insert(Evas_Object *obj, const char *entry);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
|
2009-10-22 15:10:23 -07:00
|
|
|
EAPI void elm_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_entry_editable_get(const Evas_Object *obj);
|
2008-11-18 00:45:38 -08:00
|
|
|
EAPI void elm_entry_select_none(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_select_all(Evas_Object *obj);
|
2009-12-01 03:03:14 -08:00
|
|
|
EAPI Eina_Bool elm_entry_cursor_next(Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_entry_cursor_prev(Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_entry_cursor_up(Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_entry_cursor_down(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_cursor_begin_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_cursor_end_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_cursor_line_begin_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_cursor_line_end_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_cursor_selection_begin(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_cursor_selection_end(Evas_Object *obj);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_entry_cursor_is_format_get(const Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object *obj);
|
|
|
|
EAPI const char *elm_entry_cursor_content_get(const Evas_Object *obj);
|
2009-12-01 03:03:14 -08:00
|
|
|
EAPI void elm_entry_selection_cut(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_selection_copy(Evas_Object *obj);
|
|
|
|
EAPI void elm_entry_selection_paste(Evas_Object *obj);
|
2009-09-02 05:48:00 -07:00
|
|
|
EAPI void elm_entry_context_menu_clear(Evas_Object *obj);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI void elm_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
|
2009-10-10 22:48:24 -07:00
|
|
|
EAPI void elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_entry_context_menu_disabled_get(const Evas_Object *obj);
|
2009-01-26 16:44:29 -08:00
|
|
|
EAPI char *elm_entry_markup_to_utf8(const char *s);
|
|
|
|
EAPI char *elm_entry_utf8_to_markup(const char *s);
|
2008-10-16 02:17:57 -07:00
|
|
|
/* smart callbacks called:
|
2008-10-17 20:55:44 -07:00
|
|
|
* "changed" - the text content changed
|
2008-10-20 22:40:01 -07:00
|
|
|
* "selection,start" - the user started selecting text
|
|
|
|
* "selection,changed" - the user modified the selection size/location
|
|
|
|
* "selection,cleared" - the user cleared the selection
|
|
|
|
* "selection,paste" - the user rrequested a paste of text
|
|
|
|
* "selection,copy" - the user copied the text
|
|
|
|
* "selection,cut" - the user cut the text
|
|
|
|
* "cursor,changed" - the cursor changed position
|
2008-10-24 19:11:06 -07:00
|
|
|
* "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchor_Info
|
2008-10-22 01:58:56 -07:00
|
|
|
* "activated" - when the enter key is pressed (useful for single line)
|
2009-12-01 03:03:14 -08:00
|
|
|
* "press" - when finger/mouse is pressed down
|
|
|
|
* "clicked" - when finger/mouse is pressed and released (without a drag etc.)
|
|
|
|
* "clicked,double" - when finger/mouse is double-pressed
|
|
|
|
* "longpressed" - the entry has been longpressed
|
2008-10-16 02:17:57 -07:00
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-21 05:01:00 -07:00
|
|
|
/* composite widgets - these basically put together basic widgets above
|
|
|
|
* in convenient packages that do more than basic stuff */
|
|
|
|
typedef enum _Elm_Text_Format
|
|
|
|
{
|
|
|
|
ELM_TEXT_FORMAT_PLAIN_UTF8,
|
|
|
|
ELM_TEXT_FORMAT_MARKUP_UTF8
|
|
|
|
} Elm_Text_Format;
|
|
|
|
EAPI Evas_Object *elm_notepad_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_notepad_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
|
2009-12-17 18:30:01 -08:00
|
|
|
EAPI void elm_notepad_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
2008-10-21 05:01:00 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
*/
|
2008-10-24 19:11:06 -07:00
|
|
|
|
|
|
|
typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
|
|
|
|
struct _Elm_Entry_Anchorview_Info
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
int button;
|
|
|
|
Evas_Object *hover;
|
2009-10-15 04:16:05 -07:00
|
|
|
struct
|
2009-10-12 14:06:28 -07:00
|
|
|
{
|
|
|
|
Evas_Coord x, y, w, h;
|
|
|
|
} anchor, hover_parent;
|
2009-06-17 08:35:19 -07:00
|
|
|
Eina_Bool hover_left : 1;
|
|
|
|
Eina_Bool hover_right : 1;
|
|
|
|
Eina_Bool hover_top : 1;
|
|
|
|
Eina_Bool hover_bottom : 1;
|
2008-10-24 19:11:06 -07:00
|
|
|
};
|
|
|
|
EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_anchorview_text_set(Evas_Object *obj, const char *text);
|
2008-11-15 05:58:50 -08:00
|
|
|
EAPI void elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
|
2008-10-24 19:11:06 -07:00
|
|
|
EAPI void elm_anchorview_hover_style_set(Evas_Object *obj, const char *style);
|
|
|
|
EAPI void elm_anchorview_hover_end(Evas_Object *obj);
|
2009-12-17 18:30:01 -08:00
|
|
|
EAPI void elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
2008-10-24 19:11:06 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
* "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorview_Info
|
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-24 19:11:06 -07:00
|
|
|
typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
|
|
|
|
struct _Elm_Entry_Anchorblock_Info
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
int button;
|
|
|
|
Evas_Object *hover;
|
2009-10-15 04:16:05 -07:00
|
|
|
struct
|
2009-10-12 14:06:28 -07:00
|
|
|
{
|
|
|
|
Evas_Coord x, y, w, h;
|
|
|
|
} anchor, hover_parent;
|
2009-06-17 08:35:19 -07:00
|
|
|
Eina_Bool hover_left : 1;
|
|
|
|
Eina_Bool hover_right : 1;
|
|
|
|
Eina_Bool hover_top : 1;
|
|
|
|
Eina_Bool hover_bottom : 1;
|
2008-10-24 19:11:06 -07:00
|
|
|
};
|
|
|
|
EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_anchorblock_text_set(Evas_Object *obj, const char *text);
|
2008-11-15 05:58:50 -08:00
|
|
|
EAPI void elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
|
2008-10-24 19:11:06 -07:00
|
|
|
EAPI void elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style);
|
|
|
|
EAPI void elm_anchorblock_hover_end(Evas_Object *obj);
|
|
|
|
/* smart callbacks called:
|
|
|
|
* "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorblock_Info
|
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-10-28 18:51:45 -07:00
|
|
|
EAPI Evas_Object *elm_bubble_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_bubble_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_bubble_label_get(const Evas_Object *obj);
|
2008-11-15 05:58:50 -08:00
|
|
|
EAPI void elm_bubble_info_set(Evas_Object *obj, const char *info);
|
2008-10-28 18:51:45 -07:00
|
|
|
EAPI void elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
|
|
|
|
EAPI void elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
|
2008-12-04 23:42:14 -08:00
|
|
|
EAPI void elm_bubble_corner_set(Evas_Object *obj, const char *corner);
|
2008-10-28 18:51:45 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
*/
|
2008-11-17 17:41:49 -08:00
|
|
|
|
2008-12-04 23:42:14 -08:00
|
|
|
EAPI Evas_Object *elm_photo_add(Evas_Object *parent);
|
2009-04-03 14:52:01 -07:00
|
|
|
EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file);
|
2008-12-04 23:42:14 -08:00
|
|
|
EAPI void elm_photo_size_set(Evas_Object *obj, int size);
|
|
|
|
/* smart callbacks called:
|
|
|
|
* "clicked" - the user clicked the icon
|
|
|
|
*/
|
|
|
|
|
2010-03-15 11:34:04 -07:00
|
|
|
EAPI Evas_Object *elm_thumb_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI void elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key);
|
2010-03-15 11:34:04 -07:00
|
|
|
EAPI void elm_thumb_keep_aspect_set(Evas_Object *obj, Eina_Bool setting);
|
|
|
|
EAPI void elm_thumb_align_set(Evas_Object *obj, float x_align, float y_align);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI void elm_thumb_align_get(const Evas_Object *obj, float *x, float *y);
|
2010-03-15 11:34:04 -07:00
|
|
|
EAPI void elm_thumb_animate(Evas_Object *obj, Elm_Thumb_Animation_Setting s);
|
|
|
|
EAPI Eina_Bool elm_thumb_ethumb_client_connected(void);
|
|
|
|
#ifdef ELM_ETHUMB
|
|
|
|
EAPI Ethumb_Client *elm_thumb_ethumb_client_get(void);
|
|
|
|
#else
|
|
|
|
EAPI void *elm_thumb_ethumb_client_get(void);
|
|
|
|
#endif
|
|
|
|
/* smart callbacks called:
|
|
|
|
* "clicked" - the user clicked the thumb
|
|
|
|
* "clicked,double" - the user double clicked the thumb
|
|
|
|
* "press" - the user pressed the thumb
|
|
|
|
* "generate,start" - the thumbnail generation started
|
|
|
|
* "generate,stop" - the thumbnail generation stopped
|
|
|
|
* "generate,error" - the thumbnail generation failed
|
|
|
|
* "load,error" - the thumbnail image loading failed
|
|
|
|
*/
|
|
|
|
|
2008-12-15 16:15:34 -08:00
|
|
|
EAPI Evas_Object *elm_hoversel_add(Evas_Object *parent);
|
2010-01-13 19:47:28 -08:00
|
|
|
EAPI void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
2008-12-15 16:15:34 -08:00
|
|
|
EAPI void elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
|
|
|
|
EAPI void elm_hoversel_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_hoversel_label_get(const Evas_Object *obj);
|
2008-12-15 16:15:34 -08:00
|
|
|
EAPI void elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
|
2009-03-19 06:36:46 -07:00
|
|
|
EAPI void elm_hoversel_hover_begin(Evas_Object *obj);
|
2008-12-15 16:15:34 -08:00
|
|
|
EAPI void elm_hoversel_hover_end(Evas_Object *obj);
|
2009-08-14 04:17:06 -07:00
|
|
|
EAPI void elm_hoversel_clear(Evas_Object *obj);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const Eina_List * elm_hoversel_items_get(const Evas_Object *obj);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI Elm_Hoversel_Item *elm_hoversel_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
|
2008-12-15 16:15:34 -08:00
|
|
|
EAPI void elm_hoversel_item_del(Elm_Hoversel_Item *item);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI void elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func);
|
2009-03-31 04:58:56 -07:00
|
|
|
EAPI void *elm_hoversel_item_data_get(Elm_Hoversel_Item *it);
|
2009-08-12 04:18:08 -07:00
|
|
|
EAPI const char *elm_hoversel_item_label_get(Elm_Hoversel_Item *it);
|
2009-08-14 04:17:06 -07:00
|
|
|
EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type);
|
2009-09-16 12:13:55 -07:00
|
|
|
EAPI void elm_hoversel_item_icon_get(Elm_Hoversel_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type);
|
2008-12-18 16:34:56 -08:00
|
|
|
/* smart callbacks called:
|
2008-12-18 20:26:24 -08:00
|
|
|
* "clicked" - the user clicked the hoversel button and popped up the sel
|
|
|
|
* "selected" - an item in the hoversel list is selected
|
|
|
|
* "dismissed" - the hover is dismissed
|
2008-12-18 16:34:56 -08:00
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2008-12-18 05:38:58 -08:00
|
|
|
typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item;
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI int elm_toolbar_icon_size_get(const Evas_Object *obj);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI Elm_Toolbar_Item *elm_toolbar_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI Evas_Object *elm_toolbar_item_icon_get(Elm_Toolbar_Item *item);
|
|
|
|
EAPI const char *elm_toolbar_item_label_get(Elm_Toolbar_Item *item);
|
|
|
|
EAPI void elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label);
|
|
|
|
EAPI void elm_toolbar_item_del(Elm_Toolbar_Item *item);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI void elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *it, Evas_Smart_Cb func);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_toolbar_item_select(Elm_Toolbar_Item *item);
|
|
|
|
EAPI Eina_Bool elm_toolbar_item_disabled_get(Elm_Toolbar_Item *item);
|
|
|
|
EAPI void elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled);
|
|
|
|
EAPI void elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator);
|
|
|
|
EAPI Eina_Bool elm_toolbar_item_separator_get(Elm_Toolbar_Item *item);
|
|
|
|
EAPI void elm_toolbar_scrollable_set(Evas_Object *obj, Eina_Bool scrollable);
|
|
|
|
EAPI void elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
|
2010-01-09 17:15:32 -08:00
|
|
|
EAPI void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
|
|
|
|
EAPI void elm_toolbar_item_unselect_all(Evas_Object *obj);
|
|
|
|
EAPI void elm_toolbar_align_set(Evas_Object *obj, double align);
|
|
|
|
EAPI void elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu);
|
|
|
|
EAPI Evas_Object *elm_toolbar_item_menu_get(Elm_Toolbar_Item *item);
|
2008-12-18 16:34:56 -08:00
|
|
|
/* smart callbacks called:
|
2008-12-18 20:26:24 -08:00
|
|
|
* "clicked" - when the user clicks on a toolbar item and becomes selected
|
2008-12-18 16:34:56 -08:00
|
|
|
*/
|
2008-12-18 05:38:58 -08:00
|
|
|
|
2009-10-07 10:11:41 -07:00
|
|
|
typedef struct _Menu_Item Elm_Menu_Item;
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI Evas_Object *elm_menu_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
|
2010-01-09 17:15:32 -08:00
|
|
|
EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y);
|
|
|
|
EAPI Evas_Object *elm_menu_object_get(const Elm_Menu_Item *it);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI Elm_Menu_Item *elm_menu_item_add(Evas_Object *obj, Elm_Menu_Item *parent, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_menu_item_label_set(Elm_Menu_Item *item, const char *label);
|
|
|
|
EAPI const char *elm_menu_item_label_get(Elm_Menu_Item *item);
|
|
|
|
EAPI void elm_menu_item_icon_set(Elm_Menu_Item *item, Evas_Object *icon);
|
|
|
|
EAPI void elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled);
|
2010-01-09 17:15:32 -08:00
|
|
|
EAPI Elm_Menu_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_menu_item_del(Elm_Menu_Item *item);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI void elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func);
|
2010-01-17 02:33:45 -08:00
|
|
|
EAPI void *elm_menu_item_data_get(const Elm_Menu_Item *it);
|
2010-01-17 02:36:19 -08:00
|
|
|
EAPI void elm_menu_item_data_set(Elm_Menu_Item *item, const void *data);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI const Eina_List *elm_menu_item_subitems_get(Elm_Menu_Item *item);
|
2009-10-07 10:11:41 -07:00
|
|
|
/* smart callbacks called:
|
2009-10-22 15:10:23 -07:00
|
|
|
* "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL.
|
2009-10-07 10:11:41 -07:00
|
|
|
*/
|
|
|
|
|
2009-03-14 20:03:54 -07:00
|
|
|
typedef enum _Elm_List_Mode
|
2009-01-07 05:49:08 -08:00
|
|
|
{
|
2009-07-06 23:46:51 -07:00
|
|
|
ELM_LIST_COMPRESS,
|
|
|
|
ELM_LIST_SCROLL,
|
|
|
|
ELM_LIST_LIMIT
|
2009-03-14 20:03:54 -07:00
|
|
|
} Elm_List_Mode;
|
2009-01-07 05:49:08 -08:00
|
|
|
typedef struct _Elm_List_Item Elm_List_Item;
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI Evas_Object *elm_list_add(Evas_Object *parent);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI Elm_List_Item *elm_list_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
|
|
|
|
EAPI Elm_List_Item *elm_list_item_prepend(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
|
|
|
|
EAPI Elm_List_Item *elm_list_item_insert_before(Evas_Object *obj, Elm_List_Item *before, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
|
|
|
|
EAPI Elm_List_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_List_Item *after, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_list_clear(Evas_Object *obj);
|
|
|
|
EAPI void elm_list_go(Evas_Object *obj);
|
|
|
|
EAPI void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_list_multi_select_get(const Evas_Object *obj);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_list_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Elm_List_Mode elm_list_horizontal_mode_get(const Evas_Object *obj);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
|
|
|
|
EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj);
|
|
|
|
EAPI Elm_List_Item *elm_list_selected_item_get(const Evas_Object *obj);
|
|
|
|
EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected);
|
2010-01-07 08:34:19 -08:00
|
|
|
EAPI Eina_Bool elm_list_item_selected_get(Elm_List_Item *item);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_list_item_show(Elm_List_Item *item);
|
|
|
|
EAPI void elm_list_item_del(Elm_List_Item *item);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI void elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void *elm_list_item_data_get(const Elm_List_Item *item);
|
|
|
|
EAPI Evas_Object *elm_list_item_icon_get(const Elm_List_Item *item);
|
|
|
|
EAPI void elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon);
|
|
|
|
EAPI Evas_Object *elm_list_item_end_get(const Elm_List_Item *item);
|
|
|
|
EAPI void elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end);
|
|
|
|
EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item);
|
|
|
|
EAPI const char *elm_list_item_label_get(const Elm_List_Item *item);
|
|
|
|
EAPI void elm_list_item_label_set(Elm_List_Item *item, const char *text);
|
|
|
|
EAPI Elm_List_Item *elm_list_item_prev(const Elm_List_Item *it);
|
|
|
|
EAPI Elm_List_Item *elm_list_item_next(const Elm_List_Item *it);
|
2009-12-17 18:30:01 -08:00
|
|
|
EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
2010-01-19 10:46:48 -08:00
|
|
|
EAPI void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
|
2009-01-07 05:49:08 -08:00
|
|
|
/* smart callbacks called:
|
|
|
|
* "clicked" - when the user double-clicked an item
|
2009-01-08 23:35:52 -08:00
|
|
|
* "selected" - when the user selected an item
|
|
|
|
* "unselected" - when the user selected an item
|
2009-09-01 03:42:52 -07:00
|
|
|
* "longpressed" - an item in the hoversel list is long-pressed
|
2009-01-07 05:49:08 -08:00
|
|
|
*/
|
2009-01-13 01:20:53 -08:00
|
|
|
|
2009-11-25 22:16:07 -08:00
|
|
|
// FIXME: incomplete - carousel. don't use this until this comment is removed
|
2009-01-13 01:20:53 -08:00
|
|
|
typedef struct _Elm_Carousel_Item Elm_Carousel_Item;
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI Evas_Object *elm_carousel_add(Evas_Object *parent);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI Elm_Carousel_Item *elm_carousel_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
2009-10-12 14:06:28 -07:00
|
|
|
EAPI void elm_carousel_item_del(Elm_Carousel_Item *item);
|
|
|
|
EAPI void elm_carousel_item_select(Elm_Carousel_Item *item);
|
2009-01-13 01:20:53 -08:00
|
|
|
/* smart callbacks called:
|
|
|
|
* "clicked" - when the user clicks on a carousel item and becomes selected
|
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-08 04:34:58 -08:00
|
|
|
EAPI Evas_Object *elm_slider_add(Evas_Object *parent);
|
2009-02-09 03:23:59 -08:00
|
|
|
EAPI void elm_slider_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_slider_label_get(const Evas_Object *obj);
|
2009-02-09 03:23:59 -08:00
|
|
|
EAPI void elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
|
2009-02-09 03:23:59 -08:00
|
|
|
EAPI void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI int elm_slider_span_size_get(const Evas_Object *obj);
|
2009-02-09 03:23:59 -08:00
|
|
|
EAPI void elm_slider_unit_format_set(Evas_Object *obj, const char *format);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI const char *elm_slider_unit_format_get(const Evas_Object *obj);
|
2009-02-09 03:23:59 -08:00
|
|
|
EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI const char *elm_slider_indicator_format_get(const Evas_Object *obj);
|
2009-12-22 04:11:21 -08:00
|
|
|
EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, const char *(*func)(double val));
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_slider_horizontal_get(const Evas_Object *obj);
|
2009-02-09 03:23:59 -08:00
|
|
|
EAPI void elm_slider_min_max_set(Evas_Object *obj, double min, double max);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI void elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max);
|
2009-02-09 03:23:59 -08:00
|
|
|
EAPI void elm_slider_value_set(Evas_Object *obj, double val);
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI double elm_slider_value_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_slider_inverted_get(const Evas_Object *obj);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-09 03:23:59 -08:00
|
|
|
typedef enum _Elm_Genlist_Item_Flags
|
|
|
|
{
|
2009-07-06 23:46:51 -07:00
|
|
|
ELM_GENLIST_ITEM_NONE = 0,
|
|
|
|
ELM_GENLIST_ITEM_SUBITEMS = (1 << 0)
|
2009-02-09 03:23:59 -08:00
|
|
|
} Elm_Genlist_Item_Flags;
|
|
|
|
typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;
|
|
|
|
typedef struct _Elm_Genlist_Item Elm_Genlist_Item;
|
2009-03-14 20:03:54 -07:00
|
|
|
typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func;
|
|
|
|
typedef char *(*GenlistItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part);
|
|
|
|
typedef Evas_Object *(*GenlistItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part);
|
2009-06-17 08:35:19 -07:00
|
|
|
typedef Eina_Bool (*GenlistItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part);
|
2009-03-14 21:13:08 -07:00
|
|
|
typedef void (*GenlistItemDelFunc) (const void *data, Evas_Object *obj);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-09 03:23:59 -08:00
|
|
|
struct _Elm_Genlist_Item_Class
|
|
|
|
{
|
2009-07-06 23:46:51 -07:00
|
|
|
const char *item_style;
|
2009-10-15 04:16:05 -07:00
|
|
|
struct _Elm_Genlist_Item_Class_Func
|
2009-10-12 14:06:28 -07:00
|
|
|
{
|
|
|
|
GenlistItemLabelGetFunc label_get;
|
|
|
|
GenlistItemIconGetFunc icon_get;
|
|
|
|
GenlistItemStateGetFunc state_get;
|
|
|
|
GenlistItemDelFunc del;
|
|
|
|
} func;
|
2009-02-09 03:23:59 -08:00
|
|
|
};
|
2009-01-20 16:05:38 -08:00
|
|
|
|
2009-02-18 05:42:56 -08:00
|
|
|
EAPI Evas_Object *elm_genlist_add(Evas_Object *parent);
|
2010-03-16 08:43:49 -07:00
|
|
|
EAPI void elm_genlist_clear(Evas_Object *obj);
|
|
|
|
// TODO: add getters for all functions below:
|
|
|
|
EAPI void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi);
|
|
|
|
EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
|
|
|
|
EAPI void elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
|
|
|
|
EAPI void elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
|
|
|
|
EAPI void elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress);
|
|
|
|
EAPI void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
|
|
|
EAPI void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous);
|
|
|
|
EAPI void elm_genlist_block_count_set(Evas_Object *obj, int n);
|
|
|
|
/* operations to add items */
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
|
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
|
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *before, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
|
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *after, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
|
2010-03-16 08:43:49 -07:00
|
|
|
/* operations to retrieve existing items */
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj);
|
|
|
|
EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj);
|
2010-01-24 21:54:31 -08:00
|
|
|
EAPI Eina_List *elm_genlist_realized_items_get(const Evas_Object *obj);
|
2009-09-22 20:22:07 -07:00
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret);
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj);
|
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj);
|
2010-03-16 08:43:49 -07:00
|
|
|
/* available item styles:
|
|
|
|
* default
|
|
|
|
* default_style - The text part is a textblock
|
|
|
|
* double_label
|
|
|
|
* icon_top_text_bottom
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Genlist Item operation */
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_item_next_get(const Elm_Genlist_Item *item);
|
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_item_prev_get(const Elm_Genlist_Item *item);
|
2009-03-12 22:50:38 -07:00
|
|
|
EAPI Evas_Object *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item);
|
|
|
|
EAPI Elm_Genlist_Item *elm_genlist_item_parent_get(const Elm_Genlist_Item *it);
|
|
|
|
EAPI void elm_genlist_item_subitems_clear(Elm_Genlist_Item *item);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected);
|
|
|
|
EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item);
|
|
|
|
EAPI void elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded);
|
|
|
|
EAPI Eina_Bool elm_genlist_item_expanded_get(const Elm_Genlist_Item *item);
|
|
|
|
EAPI void elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled);
|
|
|
|
EAPI Eina_Bool elm_genlist_item_disabled_get(const Elm_Genlist_Item *item);
|
2010-02-04 00:06:41 -08:00
|
|
|
EAPI void elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only);
|
|
|
|
EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_Genlist_Item *it);
|
2009-02-18 05:42:56 -08:00
|
|
|
EAPI void elm_genlist_item_show(Elm_Genlist_Item *item);
|
2009-09-10 02:25:11 -07:00
|
|
|
EAPI void elm_genlist_item_bring_in(Elm_Genlist_Item *item);
|
|
|
|
EAPI void elm_genlist_item_top_show(Elm_Genlist_Item *item);
|
|
|
|
EAPI void elm_genlist_item_top_bring_in(Elm_Genlist_Item *item);
|
2009-10-14 14:57:46 -07:00
|
|
|
EAPI void elm_genlist_item_middle_show(Elm_Genlist_Item *it);
|
|
|
|
EAPI void elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it);
|
2009-02-18 05:42:56 -08:00
|
|
|
EAPI void elm_genlist_item_del(Elm_Genlist_Item *item);
|
2009-09-07 19:09:13 -07:00
|
|
|
EAPI const void *elm_genlist_item_data_get(const Elm_Genlist_Item *item);
|
|
|
|
EAPI void elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data);
|
|
|
|
EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it);
|
2009-02-18 05:42:56 -08:00
|
|
|
EAPI void elm_genlist_item_update(Elm_Genlist_Item *item);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-23 00:05:05 -08:00
|
|
|
EAPI Evas_Object *elm_check_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_check_label_get(const Evas_Object *obj);
|
2009-02-23 00:05:05 -08:00
|
|
|
EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
|
2009-06-17 08:35:19 -07:00
|
|
|
EAPI void elm_check_state_set(Evas_Object *obj, Eina_Bool state);
|
|
|
|
EAPI Eina_Bool elm_check_state_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-24 01:23:51 -08:00
|
|
|
EAPI Evas_Object *elm_radio_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_radio_label_set(Evas_Object *obj, const char *label);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_radio_label_get(const Evas_Object *obj);
|
2009-02-24 01:23:51 -08:00
|
|
|
EAPI void elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
|
2009-02-24 01:23:51 -08:00
|
|
|
EAPI void elm_radio_group_add(Evas_Object *obj, Evas_Object *group);
|
|
|
|
EAPI void elm_radio_state_value_set(Evas_Object *obj, int value);
|
|
|
|
EAPI void elm_radio_value_set(Evas_Object *obj, int value);
|
2009-02-25 07:54:26 -08:00
|
|
|
EAPI int elm_radio_value_get(const Evas_Object *obj);
|
2009-02-24 01:23:51 -08:00
|
|
|
EAPI void elm_radio_value_pointer_set(Evas_Object *obj, int *valuep);
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-02-26 00:25:22 -08:00
|
|
|
EAPI Evas_Object *elm_pager_add(Evas_Object *parent);
|
2009-03-02 01:42:58 -08:00
|
|
|
EAPI void elm_pager_content_push(Evas_Object *obj, Evas_Object *content);
|
|
|
|
EAPI void elm_pager_content_pop(Evas_Object *obj);
|
|
|
|
EAPI void elm_pager_content_promote(Evas_Object *obj, Evas_Object *content);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj);
|
|
|
|
EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj);
|
2009-10-15 04:16:05 -07:00
|
|
|
/* available item styles:
|
|
|
|
* default
|
|
|
|
* fade
|
2009-10-30 05:00:18 -07:00
|
|
|
* fade_translucide
|
2009-10-15 04:16:05 -07:00
|
|
|
*/
|
2009-08-16 04:14:39 -07:00
|
|
|
|
2009-10-12 15:00:14 -07:00
|
|
|
typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class;
|
|
|
|
typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func;
|
|
|
|
typedef struct _Elm_Slideshow_Item Elm_Slideshow_Item;
|
|
|
|
typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj);
|
|
|
|
typedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj);
|
|
|
|
|
|
|
|
struct _Elm_Slideshow_Item_Class
|
|
|
|
{
|
|
|
|
struct _Elm_Slideshow_Item_Class_Func {
|
|
|
|
SlideshowItemGetFunc get;
|
|
|
|
SlideshowItemDelFunc del;
|
|
|
|
} func;
|
|
|
|
};
|
|
|
|
|
|
|
|
EAPI Evas_Object * elm_slideshow_add(Evas_Object *parent);
|
|
|
|
EAPI Elm_Slideshow_Item* elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data);
|
|
|
|
EAPI void elm_slideshow_show(Elm_Slideshow_Item *item);
|
|
|
|
EAPI void elm_slideshow_next(Evas_Object *obj);
|
|
|
|
EAPI void elm_slideshow_previous(Evas_Object *obj);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const Eina_List *elm_slideshow_transitions_get(const Evas_Object *obj);
|
2009-10-12 15:00:14 -07:00
|
|
|
EAPI void elm_slideshow_transition_set(Evas_Object *obj, const char *);
|
|
|
|
EAPI void elm_slideshow_timeout_set(Evas_Object *obj ,int timeout);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI int elm_slideshow_timeout_get(const Evas_Object *obj);
|
2009-10-12 15:00:14 -07:00
|
|
|
EAPI void elm_slideshow_loop_set(Evas_Object *obj, int loop);
|
|
|
|
EAPI void elm_slideshow_clear(Evas_Object *obj);
|
2009-10-29 10:26:52 -07:00
|
|
|
EAPI const Eina_List *elm_slideshow_items_get(const Evas_Object *obj);
|
2009-10-12 15:00:14 -07:00
|
|
|
EAPI void elm_slideshow_item_del(Elm_Slideshow_Item *item);
|
2009-12-23 09:10:18 -08:00
|
|
|
EAPI void * elm_slideshow_item_data_get(Elm_Slideshow_Item *item);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Elm_Slideshow_Item* elm_slideshow_item_current_get(const Evas_Object *obj);
|
2009-10-12 15:00:14 -07:00
|
|
|
EAPI Evas_Object* elm_slideshow_item_object_get(Elm_Slideshow_Item* item);
|
2009-09-23 15:56:47 -07:00
|
|
|
|
|
|
|
|
2009-08-12 09:08:53 -07:00
|
|
|
EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
|
2009-09-06 17:00:33 -07:00
|
|
|
EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
|
2009-10-22 15:10:23 -07:00
|
|
|
EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
|
2009-10-22 15:10:23 -07:00
|
|
|
EAPI void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj);
|
2009-08-12 09:08:53 -07:00
|
|
|
EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand);
|
2009-09-06 17:00:33 -07:00
|
|
|
EAPI void elm_fileselector_path_set(Evas_Object *obj, const char *path);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_fileselector_path_get(const Evas_Object *obj);
|
|
|
|
EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj);
|
2009-08-12 09:08:53 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
* "selected" - the user click on a file
|
2009-11-13 07:22:23 -08:00
|
|
|
* "directory,open" - the list is populate with a new content. event_info is a directory.
|
2009-08-12 09:08:53 -07:00
|
|
|
* "done" - the user click on the ok or cancel buttons
|
|
|
|
*/
|
2009-07-06 23:46:51 -07:00
|
|
|
|
2009-08-12 09:16:31 -07:00
|
|
|
EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent);
|
2010-01-09 17:15:32 -08:00
|
|
|
EAPI void elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse);
|
|
|
|
EAPI void elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state);
|
|
|
|
EAPI void elm_progressbar_value_set(Evas_Object *obj, double val);
|
|
|
|
EAPI double elm_progressbar_value_get(const Evas_Object *obj);
|
2009-08-12 09:16:31 -07:00
|
|
|
EAPI void elm_progressbar_label_set(Evas_Object *obj, const char *label);
|
|
|
|
EAPI void elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
|
|
|
|
EAPI void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size);
|
2010-01-09 17:15:32 -08:00
|
|
|
EAPI void elm_progressbar_unit_format_set(Evas_Object *obj, const char *format);
|
2009-08-12 09:16:31 -07:00
|
|
|
EAPI void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
|
|
|
EAPI void elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted);
|
2009-09-08 04:18:02 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
*/
|
2009-10-05 06:58:13 -07:00
|
|
|
/* available item styles:
|
|
|
|
* default
|
|
|
|
* wheel (simple style, no text, no progression, only pulse is available)
|
|
|
|
*/
|
2009-08-12 09:16:31 -07:00
|
|
|
|
2009-08-21 05:25:50 -07:00
|
|
|
EAPI Evas_Object *elm_separator_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj);
|
2009-09-08 04:18:02 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
*/
|
2009-08-21 05:25:50 -07:00
|
|
|
|
2009-09-03 05:36:39 -07:00
|
|
|
EAPI Evas_Object *elm_spinner_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_spinner_label_format_set(Evas_Object *obj, const char *fmt);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char *elm_spinner_label_format_get(const Evas_Object *obj);
|
2009-09-03 05:36:39 -07:00
|
|
|
EAPI void elm_spinner_min_max_set(Evas_Object *obj, double min, double max);
|
|
|
|
EAPI void elm_spinner_step_set(Evas_Object *obj, double step);
|
|
|
|
EAPI void elm_spinner_value_set(Evas_Object *obj, double val);
|
|
|
|
EAPI double elm_spinner_value_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap);
|
|
|
|
/* smart callbacks called:
|
|
|
|
* "changed" - when the spinner value changes
|
|
|
|
* "delay,changed" - when the spinner value changed, but a small time after a change (use this if you only want to respond to a change once the spinner is held still for a short while).
|
|
|
|
*/
|
2009-11-13 14:27:06 -08:00
|
|
|
/* available item styles:
|
|
|
|
* default
|
|
|
|
* vertical (two up/down buttons at the right side and text left aligned)
|
|
|
|
*/
|
2009-09-23 04:15:55 -07:00
|
|
|
|
2009-09-08 04:18:02 -07:00
|
|
|
EAPI Evas_Object *elm_index_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active);
|
|
|
|
EAPI void elm_index_item_level_set(Evas_Object *obj, int level);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI int elm_index_item_level_get(const Evas_Object *obj);
|
|
|
|
EAPI const void *elm_index_item_selected_get(const Evas_Object *obj, int level);
|
2009-09-08 04:18:02 -07:00
|
|
|
EAPI void elm_index_item_append(Evas_Object *obj, const char *letter, const void *item);
|
|
|
|
EAPI void elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item);
|
|
|
|
EAPI void elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
|
|
|
|
EAPI void elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
|
|
|
|
EAPI void elm_index_item_del(Evas_Object *obj, const void *item);
|
2009-09-10 02:25:11 -07:00
|
|
|
EAPI void elm_index_item_clear(Evas_Object *obj);
|
|
|
|
EAPI void elm_index_item_go(Evas_Object *obj, int level);
|
2009-09-08 04:18:02 -07:00
|
|
|
/* smart callbacks called:
|
2009-09-11 06:43:02 -07:00
|
|
|
* "changed" - when the selected index item changes
|
|
|
|
* "delay,changed" - when the selected index item changes, but after some small idle period
|
|
|
|
* "selected" - when the user releases heir finger and selects an item
|
2009-09-08 04:18:02 -07:00
|
|
|
*/
|
2009-09-11 07:01:54 -07:00
|
|
|
|
2009-09-22 07:04:09 -07:00
|
|
|
typedef enum _Elm_Photocam_Zoom_Mode
|
|
|
|
{
|
|
|
|
ELM_PHOTOCAM_ZOOM_MODE_MANUAL,
|
|
|
|
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT,
|
|
|
|
ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL
|
|
|
|
} Elm_Photocam_Zoom_Mode;
|
2009-09-11 07:01:54 -07:00
|
|
|
EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
|
2009-09-24 06:57:04 -07:00
|
|
|
EAPI int elm_photocam_file_set(Evas_Object *obj, const char *file);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI const char * elm_photocam_file_get(const Evas_Object *obj);
|
2009-10-13 20:23:03 -07:00
|
|
|
EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI double elm_photocam_zoom_get(const Evas_Object *obj);
|
2009-09-22 07:04:09 -07:00
|
|
|
EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h);
|
|
|
|
EAPI void elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
|
2009-09-25 02:26:04 -07:00
|
|
|
EAPI void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h);
|
|
|
|
EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
|
2009-10-14 07:03:42 -07:00
|
|
|
EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);
|
2010-01-19 00:24:07 -08:00
|
|
|
EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
|
|
|
|
|
2009-09-25 02:26:04 -07:00
|
|
|
/* smart callbacks called:
|
|
|
|
* "clicked" - when image clicked
|
|
|
|
* "press" - when mouse/finger held down initially on image
|
|
|
|
* "longpressed" - when mouse/finger held for long time on image
|
|
|
|
* "clicked,double" - when mouse/finger double-clicked
|
|
|
|
* "load" - when photo load begins
|
|
|
|
* "loaded" - when photo load done
|
|
|
|
* "load,details" - when detailed image load begins
|
|
|
|
* "loaded,details" - when detailed image load done
|
|
|
|
* "zoom,start" - when zooming started
|
|
|
|
* "zoom,stop" - when zooming stopped
|
|
|
|
* "zoom,change" - when auto zoom mode changed zoom level
|
2009-10-14 02:22:20 -07:00
|
|
|
* "scroll - the content has been scrolled (moved)
|
|
|
|
* "scroll,anim,start" - scrolling animation has started
|
|
|
|
* "scroll,anim,stop" - scrolling animation has stopped
|
|
|
|
* "scroll,drag,start" - dragging the contents around has started
|
|
|
|
* "scroll,drag,stop" - dragging the contents around has stopped
|
2009-09-25 02:26:04 -07:00
|
|
|
*/
|
2009-10-12 14:06:28 -07:00
|
|
|
|
2009-11-13 07:22:23 -08:00
|
|
|
typedef enum _Elm_Map_Zoom_Mode
|
|
|
|
{
|
|
|
|
ELM_MAP_ZOOM_MODE_MANUAL,
|
|
|
|
ELM_MAP_ZOOM_MODE_AUTO_FIT,
|
|
|
|
ELM_MAP_ZOOM_MODE_AUTO_FILL
|
|
|
|
} Elm_Map_Zoom_Mode;
|
2009-12-22 14:47:17 -08:00
|
|
|
typedef enum _Elm_Map_Sources
|
|
|
|
{
|
|
|
|
ELM_MAP_SOURCE_MAPNIK,
|
|
|
|
ELM_MAP_SOURCE_OSMARENDER,
|
|
|
|
ELM_MAP_SOURCE_CYCLEMAP,
|
2009-12-23 01:53:39 -08:00
|
|
|
ELM_MAP_SOURCE_MAPLINT,
|
|
|
|
ELM_MAP_SOURCE_CUSTOM_1,
|
|
|
|
ELM_MAP_SOURCE_CUSTOM_2,
|
|
|
|
ELM_MAP_SOURCE_CUSTOM_3,
|
|
|
|
ELM_MAP_SOURCE_CUSTOM_4,
|
|
|
|
ELM_MAP_SOURCE_CUSTOM_5,
|
|
|
|
ELM_MAP_SOURCE_CUSTOM_6,
|
|
|
|
ELM_MAP_SOURCE_CUSTOM_7
|
2009-12-22 14:47:17 -08:00
|
|
|
} Elm_Map_Sources;
|
2009-11-15 07:53:37 -08:00
|
|
|
typedef struct _Elm_Map_Marker Elm_Map_Marker;
|
|
|
|
typedef struct _Elm_Map_Marker_Class Elm_Map_Marker_Class;
|
2009-12-20 08:34:45 -08:00
|
|
|
typedef struct _Elm_Map_Group_Class Elm_Map_Group_Class;
|
2009-11-15 07:53:37 -08:00
|
|
|
typedef Evas_Object *(*ElmMapMarkerGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
|
|
|
|
typedef void (*ElmMapMarkerDelFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o);
|
2009-12-20 08:34:45 -08:00
|
|
|
typedef Evas_Object *(*ElmMapMarkerIconGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
|
|
|
|
typedef Evas_Object *(*ElmMapGroupIconGetFunc) (Evas_Object *obj, void *data);
|
2009-12-23 01:53:39 -08:00
|
|
|
typedef char *(*ElmMapSourceURLFunc) (int x, int y, int zoom);
|
2009-12-20 08:34:45 -08:00
|
|
|
|
2009-11-13 07:22:23 -08:00
|
|
|
EAPI Evas_Object *elm_map_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_map_zoom_set(Evas_Object *obj, int zoom);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI double elm_map_zoom_get(const Evas_Object *obj);
|
2009-11-13 07:22:23 -08:00
|
|
|
EAPI void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat);
|
2009-11-15 07:53:37 -08:00
|
|
|
EAPI void elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat);
|
|
|
|
EAPI void elm_map_geo_region_show(Evas_Object *obj, double lon, double lat);
|
2009-11-13 07:22:23 -08:00
|
|
|
EAPI void elm_map_paused_set(Evas_Object *obj, Eina_Bool paused);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_map_paused_get(const Evas_Object *obj);
|
2009-12-18 13:28:06 -08:00
|
|
|
EAPI void elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_map_paused_markers_get(const Evas_Object *obj);
|
2009-11-15 07:53:37 -08:00
|
|
|
EAPI void elm_map_utils_convert_coord_into_geo(int x, int y, int size, double *lon, double *lat);
|
|
|
|
EAPI void elm_map_utils_convert_geo_into_coord(double lon, double lat, int size, int *x, int *y);
|
2009-12-20 08:34:45 -08:00
|
|
|
EAPI Elm_Map_Marker *elm_map_marker_add(Evas_Object *obj, double lon, double lat, Elm_Map_Marker_Class *clas, Elm_Map_Group_Class *clas_group, void *data);
|
2009-11-18 13:07:01 -08:00
|
|
|
EAPI void elm_map_max_marker_per_group_set(Evas_Object *obj, int max);
|
|
|
|
EAPI void elm_map_marker_remove(Elm_Map_Marker *marker);
|
|
|
|
EAPI void elm_map_marker_bring_in(Elm_Map_Marker *marker);
|
|
|
|
EAPI void elm_map_marker_show(Elm_Map_Marker *marker);
|
|
|
|
EAPI void elm_map_markers_list_show(Eina_List *markers);
|
|
|
|
EAPI Evas_Object *elm_map_marker_object_get(Elm_Map_Marker *marker);
|
|
|
|
EAPI void elm_map_marker_update(Elm_Map_Marker *marker);
|
2009-11-21 14:38:07 -08:00
|
|
|
EAPI void elm_map_bubbles_close(Evas_Object *obj);
|
2009-12-20 08:34:45 -08:00
|
|
|
|
|
|
|
EAPI Elm_Map_Group_Class * elm_map_group_class_new(Evas_Object *obj);
|
|
|
|
EAPI void elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style);
|
|
|
|
EAPI void elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get);
|
|
|
|
EAPI void elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data);
|
|
|
|
EAPI void elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom);
|
2009-12-20 10:48:31 -08:00
|
|
|
EAPI void elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom);
|
2009-12-20 12:40:55 -08:00
|
|
|
EAPI void elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide);
|
2009-12-20 08:34:45 -08:00
|
|
|
|
|
|
|
EAPI Elm_Map_Marker_Class * elm_map_marker_class_new(Evas_Object *obj);
|
|
|
|
EAPI void elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style);
|
|
|
|
EAPI void elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get);
|
|
|
|
EAPI void elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get);
|
|
|
|
EAPI void elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del);
|
2009-12-22 14:47:17 -08:00
|
|
|
|
|
|
|
EAPI void elm_map_source_set(Evas_Object *obj, Elm_Map_Sources source);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Elm_Map_Sources elm_map_source_get(const Evas_Object *obj);
|
2009-12-23 01:53:39 -08:00
|
|
|
EAPI void elm_map_source_custom_api_set(Elm_Map_Sources source, const char *label,
|
|
|
|
int zoom_min, int zoom_max, ElmMapSourceURLFunc url_cb);
|
2009-12-22 14:47:17 -08:00
|
|
|
EAPI int elm_map_source_zoom_min_get(Elm_Map_Sources source);
|
|
|
|
EAPI int elm_map_source_zoom_max_get(Elm_Map_Sources source);
|
|
|
|
EAPI const char * elm_map_source_name_get(Elm_Map_Sources source);
|
2009-11-13 07:22:23 -08:00
|
|
|
/* smart callbacks called:
|
|
|
|
* "clicked" - when image clicked
|
|
|
|
* "press" - when mouse/finger held down initially on image
|
|
|
|
* "longpressed" - when mouse/finger held for long time on image
|
|
|
|
* "clicked,double" - when mouse/finger double-clicked
|
|
|
|
* "load,details" - when detailed image load begins
|
|
|
|
* "loaded,details" - when detailed image load done
|
|
|
|
* "zoom,start" - when zooming started
|
|
|
|
* "zoom,stop" - when zooming stopped
|
|
|
|
* "zoom,change" - when auto zoom mode changed zoom level
|
|
|
|
* "scroll - the content has been scrolled (moved)
|
|
|
|
* "scroll,anim,start" - scrolling animation has started
|
|
|
|
* "scroll,anim,stop" - scrolling animation has stopped
|
|
|
|
* "scroll,drag,start" - dragging the contents around has started
|
|
|
|
* "scroll,drag,stop" - dragging the contents around has stopped
|
|
|
|
*/
|
|
|
|
|
2009-10-15 13:34:11 -07:00
|
|
|
typedef enum _Elm_Panel_Orient
|
|
|
|
{
|
2009-12-01 23:22:35 -08:00
|
|
|
ELM_PANEL_ORIENT_TOP,
|
|
|
|
ELM_PANEL_ORIENT_BOTTOM,
|
|
|
|
ELM_PANEL_ORIENT_LEFT,
|
|
|
|
ELM_PANEL_ORIENT_RIGHT,
|
2009-10-15 13:34:11 -07:00
|
|
|
} Elm_Panel_Orient;
|
2009-12-01 23:22:35 -08:00
|
|
|
EAPI Evas_Object *elm_panel_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient);
|
|
|
|
EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
|
|
|
|
|
2009-12-11 00:12:58 -08:00
|
|
|
#if 1 // working on it
|
2009-12-01 23:22:35 -08:00
|
|
|
// flip types:
|
|
|
|
// rotate around y axis 180 degrees
|
|
|
|
// rotate around x axis 180 degrees
|
|
|
|
//
|
|
|
|
// properties
|
|
|
|
// perspective focal dist, x, y
|
|
|
|
//
|
|
|
|
// FIXME:
|
|
|
|
// custom value
|
|
|
|
// map 1/0
|
|
|
|
//
|
|
|
|
// center x, y, z
|
|
|
|
// angle x, y, z
|
|
|
|
//
|
|
|
|
// light 1/0
|
|
|
|
// light rgb
|
|
|
|
// light ambient rgb
|
|
|
|
// light x, y, z
|
|
|
|
typedef enum _Elm_Flip_Mode
|
|
|
|
{
|
2009-12-11 00:12:58 -08:00
|
|
|
ELM_FLIP_ROTATE_Y_CENTER_AXIS,
|
|
|
|
ELM_FLIP_ROTATE_X_CENTER_AXIS,
|
|
|
|
ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
|
|
|
|
ELM_FLIP_ROTATE_YZ_CENTER_AXIS
|
2009-12-01 23:22:35 -08:00
|
|
|
} Elm_Flip_Mode;
|
|
|
|
|
|
|
|
EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content);
|
|
|
|
EAPI void elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_flip_front_get(const Evas_Object *obj);
|
2009-12-01 23:22:35 -08:00
|
|
|
EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
|
|
|
|
EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode);
|
|
|
|
/* smart callbacks called:
|
|
|
|
* "animate,done" - when a flip animation is finished
|
|
|
|
*/
|
|
|
|
#endif
|
|
|
|
|
2009-12-10 21:57:53 -08:00
|
|
|
EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
|
2009-12-10 21:57:53 -08:00
|
|
|
EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
|
2009-12-10 21:57:53 -08:00
|
|
|
EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
|
|
|
|
EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
|
|
|
|
EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
|
|
|
|
EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
|
|
|
|
EAPI void elm_scrolled_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
|
|
|
|
EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
|
2010-03-25 10:27:00 -07:00
|
|
|
EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
|
2009-12-10 21:57:53 -08:00
|
|
|
EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
|
|
|
|
EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
|
|
|
|
EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
|
2009-12-10 21:57:53 -08:00
|
|
|
EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
|
|
|
|
EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
|
2010-03-16 08:31:38 -07:00
|
|
|
EAPI void elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
|
2009-12-10 21:57:53 -08:00
|
|
|
EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
|
2010-03-23 20:06:00 -07:00
|
|
|
EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
|
2009-12-10 21:57:53 -08:00
|
|
|
EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
|
2010-02-09 07:43:17 -08:00
|
|
|
EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
|
2009-12-10 21:57:53 -08:00
|
|
|
|
2010-01-08 09:54:26 -08:00
|
|
|
EAPI Evas_Object *elm_conformant_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
|
|
|
|
|
2010-01-26 00:17:26 -08:00
|
|
|
EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent);
|
|
|
|
EAPI void elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
|
|
|
|
EAPI void elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled);
|
|
|
|
EAPI Eina_Bool elm_mapbuf_enabled_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth);
|
|
|
|
EAPI Eina_Bool elm_mapbuf_smooth_get(const Evas_Object *obj);
|
|
|
|
EAPI void elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha);
|
|
|
|
EAPI Eina_Bool elm_mapbuf_alpha_get(const Evas_Object *obj);
|
|
|
|
|
2009-01-20 16:05:38 -08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2008-09-29 23:58:56 -07:00
|
|
|
#endif
|