2015-01-02 11:03:53 -08:00
# Copyright (C) 2007-2015 various contributors (see AUTHORS)
2013-02-14 12:54:53 -08:00
#
# This file is part of Python-EFL.
#
# Python-EFL is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
2013-12-07 08:54:58 -08:00
# version 3 of the License, or (at your option) any later version.
2013-02-14 12:54:53 -08:00
#
# Python-EFL is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
2015-03-11 06:37:06 -07:00
from cpython cimport PyObject
2013-09-29 21:26:35 -07:00
from efl.eina cimport *
2013-02-14 12:54:53 -08:00
from efl.eo cimport Eo
2014-04-04 17:13:15 -07:00
from efl.c_eo cimport Eo as cEo , Eo_Class
2015-01-04 11:44:45 -08:00
2013-02-14 12:54:53 -08:00
cdef extern from " Evas.h " :
2015-01-04 11:44:45 -08:00
2013-02-14 12:54:53 -08:00
####################################################################
# Basic Types
#
ctypedef int Evas_Coord
ctypedef int Evas_Angle
ctypedef int Evas_Font_Size
2013-04-13 17:14:52 -07:00
ctypedef unsigned long long Evas_Modifier_Mask
2013-02-14 12:54:53 -08:00
2015-01-04 11:44:45 -08:00
####################################################################
2015-01-05 03:24:19 -08:00
# #define (this works only for integer define)
2015-01-04 11:44:45 -08:00
#
cpdef enum :
EVAS_LAYER_MIN
EVAS_LAYER_MAX
EVAS_COLOR_SPACE_ARGB
EVAS_COLOR_SPACE_AHSV
EVAS_TEXT_INVALID
EVAS_TEXT_SPECIAL
EVAS_SMART_CLASS_VERSION
####################################################################
2015-01-05 03:24:19 -08:00
# Enums (automatically exported to python scope)
2015-01-04 11:44:45 -08:00
#
cpdef enum Evas_Button_Flags :
EVAS_BUTTON_NONE
EVAS_BUTTON_DOUBLE_CLICK
EVAS_BUTTON_TRIPLE_CLICK
ctypedef enum Evas_Button_Flags :
pass
cpdef enum Evas_BiDi_Direction :
EVAS_BIDI_DIRECTION_NATURAL
EVAS_BIDI_DIRECTION_NEUTRAL
EVAS_BIDI_DIRECTION_LTR
EVAS_BIDI_DIRECTION_RTL
2016-01-23 09:34:13 -08:00
EVAS_BIDI_DIRECTION_INHERIT
2015-01-04 11:44:45 -08:00
ctypedef enum Evas_BiDi_Direction :
pass
cpdef enum Evas_Callback_Type :
EVAS_CALLBACK_MOUSE_IN
EVAS_CALLBACK_MOUSE_OUT
EVAS_CALLBACK_MOUSE_DOWN
EVAS_CALLBACK_MOUSE_UP
EVAS_CALLBACK_MOUSE_MOVE
EVAS_CALLBACK_MOUSE_WHEEL
EVAS_CALLBACK_MULTI_DOWN
EVAS_CALLBACK_MULTI_UP
EVAS_CALLBACK_MULTI_MOVE
EVAS_CALLBACK_FREE
EVAS_CALLBACK_KEY_DOWN
EVAS_CALLBACK_KEY_UP
EVAS_CALLBACK_FOCUS_IN
EVAS_CALLBACK_FOCUS_OUT
EVAS_CALLBACK_SHOW
EVAS_CALLBACK_HIDE
EVAS_CALLBACK_MOVE
EVAS_CALLBACK_RESIZE
EVAS_CALLBACK_RESTACK
EVAS_CALLBACK_DEL
EVAS_CALLBACK_HOLD
EVAS_CALLBACK_CHANGED_SIZE_HINTS
EVAS_CALLBACK_IMAGE_PRELOADED
EVAS_CALLBACK_CANVAS_FOCUS_IN
EVAS_CALLBACK_CANVAS_FOCUS_OUT
EVAS_CALLBACK_RENDER_FLUSH_PRE
EVAS_CALLBACK_RENDER_FLUSH_POST
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_IN
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT
EVAS_CALLBACK_IMAGE_UNLOADED
EVAS_CALLBACK_RENDER_PRE
EVAS_CALLBACK_RENDER_POST
EVAS_CALLBACK_IMAGE_RESIZE
EVAS_CALLBACK_DEVICE_CHANGED
EVAS_CALLBACK_AXIS_UPDATE
2015-08-03 05:09:36 -07:00
EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
2015-01-04 11:44:45 -08:00
EVAS_CALLBACK_LAST
ctypedef enum Evas_Callback_Type :
pass
cpdef enum Evas_Event_Flags :
EVAS_EVENT_FLAG_NONE
EVAS_EVENT_FLAG_ON_HOLD
EVAS_EVENT_FLAG_ON_SCROLL
ctypedef enum Evas_Event_Flags :
pass
cpdef enum Evas_Touch_Point_State :
EVAS_TOUCH_POINT_DOWN
EVAS_TOUCH_POINT_UP
EVAS_TOUCH_POINT_MOVE
EVAS_TOUCH_POINT_STILL
EVAS_TOUCH_POINT_CANCEL
ctypedef enum Evas_Touch_Point_State :
pass
cpdef enum Evas_Font_Hinting_Flags :
EVAS_FONT_HINTING_NONE
EVAS_FONT_HINTING_AUTO
EVAS_FONT_HINTING_BYTECODE
ctypedef enum Evas_Font_Hinting_Flags :
pass
cpdef enum Evas_Colorspace :
EVAS_COLORSPACE_ARGB8888
EVAS_COLORSPACE_YCBCR422P601_PL
EVAS_COLORSPACE_YCBCR422P709_PL
EVAS_COLORSPACE_RGB565_A5P
EVAS_COLORSPACE_GRY8
EVAS_COLORSPACE_YCBCR422601_PL
EVAS_COLORSPACE_YCBCR420NV12601_PL
EVAS_COLORSPACE_YCBCR420TM12601_PL
ctypedef enum Evas_Colorspace :
pass
cpdef enum Evas_Object_Table_Homogeneous_Mode :
EVAS_OBJECT_TABLE_HOMOGENEOUS_NONE
EVAS_OBJECT_TABLE_HOMOGENEOUS_TABLE
EVAS_OBJECT_TABLE_HOMOGENEOUS_ITEM
ctypedef enum Evas_Object_Table_Homogeneous_Mode :
pass
cpdef enum Evas_Aspect_Control :
EVAS_ASPECT_CONTROL_NONE
EVAS_ASPECT_CONTROL_NEITHER
EVAS_ASPECT_CONTROL_HORIZONTAL
EVAS_ASPECT_CONTROL_VERTICAL
EVAS_ASPECT_CONTROL_BOTH
ctypedef enum Evas_Aspect_Control :
pass
cpdef enum Evas_Display_Mode :
EVAS_DISPLAY_MODE_NONE
EVAS_DISPLAY_MODE_COMPRESS
EVAS_DISPLAY_MODE_EXPAND
EVAS_DISPLAY_MODE_DONT_CHANGE
ctypedef enum Evas_Display_Mode :
pass
cpdef enum Evas_Load_Error :
EVAS_LOAD_ERROR_NONE
EVAS_LOAD_ERROR_GENERIC
EVAS_LOAD_ERROR_DOES_NOT_EXIST
EVAS_LOAD_ERROR_PERMISSION_DENIED
EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED
EVAS_LOAD_ERROR_CORRUPT_FILE
EVAS_LOAD_ERROR_UNKNOWN_FORMAT
ctypedef enum Evas_Load_Error :
pass
cpdef enum Evas_Alloc_Error :
EVAS_ALLOC_ERROR_NONE
EVAS_ALLOC_ERROR_FATAL
EVAS_ALLOC_ERROR_RECOVERED
ctypedef enum Evas_Alloc_Error :
pass
cpdef enum Evas_Fill_Spread :
EVAS_TEXTURE_REFLECT
EVAS_TEXTURE_REPEAT
EVAS_TEXTURE_RESTRICT
EVAS_TEXTURE_RESTRICT_REFLECT
EVAS_TEXTURE_RESTRICT_REPEAT
EVAS_TEXTURE_PAD
ctypedef enum Evas_Fill_Spread :
pass
cpdef enum Evas_Pixel_Import_Pixel_Format :
EVAS_PIXEL_FORMAT_NONE
EVAS_PIXEL_FORMAT_ARGB32
EVAS_PIXEL_FORMAT_YUV420P_601
ctypedef enum Evas_Pixel_Import_Pixel_Format :
pass
cpdef enum Evas_Native_Surface_Type :
EVAS_NATIVE_SURFACE_NONE
EVAS_NATIVE_SURFACE_X11
EVAS_NATIVE_SURFACE_OPENGL
2015-01-19 14:34:28 -08:00
EVAS_NATIVE_SURFACE_WL
2015-01-04 11:44:45 -08:00
ctypedef enum Evas_Native_Surface_Type :
pass
cpdef enum Evas_Render_Op :
EVAS_RENDER_BLEND
EVAS_RENDER_BLEND_REL
EVAS_RENDER_COPY
EVAS_RENDER_COPY_REL
EVAS_RENDER_ADD
EVAS_RENDER_ADD_REL
EVAS_RENDER_SUB
EVAS_RENDER_SUB_REL
EVAS_RENDER_TINT
EVAS_RENDER_TINT_REL
EVAS_RENDER_MASK
EVAS_RENDER_MUL
ctypedef enum Evas_Render_Op :
pass
cpdef enum Evas_Border_Fill_Mode :
EVAS_BORDER_FILL_NONE
EVAS_BORDER_FILL_DEFAULT
EVAS_BORDER_FILL_SOLID
ctypedef enum Evas_Border_Fill_Mode :
pass
cpdef enum Evas_Image_Scale_Hint :
EVAS_IMAGE_SCALE_HINT_NONE
EVAS_IMAGE_SCALE_HINT_DYNAMIC
EVAS_IMAGE_SCALE_HINT_STATIC
ctypedef enum Evas_Image_Scale_Hint :
pass
cpdef enum Evas_Image_Animated_Loop_Hint :
EVAS_IMAGE_ANIMATED_HINT_NONE
EVAS_IMAGE_ANIMATED_HINT_LOOP
EVAS_IMAGE_ANIMATED_HINT_PINGPONG
ctypedef enum Evas_Image_Animated_Loop_Hint :
pass
2015-04-12 03:35:57 -07:00
cpdef enum Evas_Image_Orient :
EVAS_IMAGE_ORIENT_NONE
EVAS_IMAGE_ORIENT_0
EVAS_IMAGE_ORIENT_90
EVAS_IMAGE_ORIENT_180
EVAS_IMAGE_ORIENT_270
EVAS_IMAGE_FLIP_HORIZONTAL
EVAS_IMAGE_FLIP_VERTICAL
EVAS_IMAGE_FLIP_TRANSPOSE
EVAS_IMAGE_FLIP_TRANSVERSE
ctypedef enum Evas_Image_Orient :
pass
2015-01-04 11:44:45 -08:00
cpdef enum Evas_Engine_Render_Mode :
EVAS_RENDER_MODE_BLOCKING
EVAS_RENDER_MODE_NONBLOCKING
ctypedef enum Evas_Engine_Render_Mode :
pass
cpdef enum Evas_Image_Content_Hint :
EVAS_IMAGE_CONTENT_HINT_NONE
EVAS_IMAGE_CONTENT_HINT_DYNAMIC
EVAS_IMAGE_CONTENT_HINT_STATIC
ctypedef enum Evas_Image_Content_Hint :
pass
cpdef enum Evas_Device_Class :
EVAS_DEVICE_CLASS_NONE
EVAS_DEVICE_CLASS_SEAT
EVAS_DEVICE_CLASS_KEYBOARD
EVAS_DEVICE_CLASS_MOUSE
EVAS_DEVICE_CLASS_TOUCH
EVAS_DEVICE_CLASS_PEN
EVAS_DEVICE_CLASS_POINTER
EVAS_DEVICE_CLASS_GAMEPAD
ctypedef enum Evas_Device_Class :
pass
cpdef enum Evas_Object_Pointer_Mode :
EVAS_OBJECT_POINTER_MODE_AUTOGRAB
EVAS_OBJECT_POINTER_MODE_NOGRAB
EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN
ctypedef enum Evas_Object_Pointer_Mode :
pass
cpdef enum Evas_Text_Style_Type :
EVAS_TEXT_STYLE_PLAIN
EVAS_TEXT_STYLE_SHADOW
EVAS_TEXT_STYLE_OUTLINE
EVAS_TEXT_STYLE_SOFT_OUTLINE
EVAS_TEXT_STYLE_GLOW
EVAS_TEXT_STYLE_OUTLINE_SHADOW
EVAS_TEXT_STYLE_FAR_SHADOW
EVAS_TEXT_STYLE_OUTLINE_SOFT_SHADOW
EVAS_TEXT_STYLE_SOFT_SHADOW
EVAS_TEXT_STYLE_FAR_SOFT_SHADOW
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_RIGHT
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM
EVAS_TEXT_STYLE_SHADOW_DIRECTION_BOTTOM_LEFT
EVAS_TEXT_STYLE_SHADOW_DIRECTION_LEFT
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_LEFT
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP
EVAS_TEXT_STYLE_SHADOW_DIRECTION_TOP_RIGHT
EVAS_TEXT_STYLE_SHADOW_DIRECTION_RIGHT
ctypedef enum Evas_Text_Style_Type :
pass
cpdef enum Evas_Textblock_Text_Type :
EVAS_TEXTBLOCK_TEXT_RAW
EVAS_TEXTBLOCK_TEXT_PLAIN
EVAS_TEXTBLOCK_TEXT_MARKUP
ctypedef enum Evas_Textblock_Text_Type :
pass
cpdef enum Evas_Textblock_Cursor_Type :
EVAS_TEXTBLOCK_CURSOR_UNDER
EVAS_TEXTBLOCK_CURSOR_BEFORE
ctypedef enum Evas_Textblock_Cursor_Type :
pass
cpdef enum Evas_Textgrid_Palette :
EVAS_TEXTGRID_PALETTE_NONE
EVAS_TEXTGRID_PALETTE_STANDARD
EVAS_TEXTGRID_PALETTE_EXTENDED
EVAS_TEXTGRID_PALETTE_LAST
ctypedef enum Evas_Textgrid_Palette :
pass
cpdef enum Evas_Textgrid_Font_Style :
EVAS_TEXTGRID_FONT_STYLE_NORMAL
EVAS_TEXTGRID_FONT_STYLE_BOLD
EVAS_TEXTGRID_FONT_STYLE_ITALIC
ctypedef enum Evas_Textgrid_Font_Style :
pass
2013-02-14 12:54:53 -08:00
####################################################################
# Structures
#
ctypedef struct Evas_Point :
int x
int y
2016-01-23 05:33:01 -08:00
ctypedef struct Evas_Coord_Point :
2013-02-14 12:54:53 -08:00
Evas_Coord x
Evas_Coord y
2016-01-23 05:33:01 -08:00
ctypedef struct Evas_Coord_Size :
Evas_Coord w
Evas_Coord h
ctypedef struct Evas_Coord_Rectangle :
Evas_Coord x
Evas_Coord y
Evas_Coord w
Evas_Coord h
ctypedef struct Evas_Coord_Precision_Point :
2013-02-14 12:54:53 -08:00
Evas_Coord x
Evas_Coord y
double xsub
double ysub
ctypedef struct Evas_Position :
Evas_Point output
Evas_Coord_Point canvas
ctypedef struct Evas_Precision_Position :
Evas_Point output
Evas_Coord_Precision_Point canvas
ctypedef struct Evas_Hash
ctypedef cEo Evas
ctypedef cEo Evas_Object
2015-03-08 09:15:26 -07:00
ctypedef cEo Evas_Object_Smart
2013-02-14 12:54:53 -08:00
ctypedef struct Evas_Modifier
ctypedef struct Evas_Lock
ctypedef struct Evas_Smart
ctypedef struct Evas_Native_Surface
ctypedef struct Evas_Textblock_Style
ctypedef struct Evas_Textblock_Cursor
ctypedef struct Evas_Smart_Cb_Description :
2014-04-04 17:13:15 -07:00
const char * name
const char * type
2013-02-14 12:54:53 -08:00
ctypedef struct Evas_Smart_Interface
ctypedef struct Evas_Smart_Class
ctypedef struct Evas_Smart_Class :
2014-04-04 17:13:15 -07:00
const char * name
2013-02-14 12:54:53 -08:00
int version
void ( * add ) ( Evas_Object * o )
void ( * delete " del " ) ( Evas_Object * o )
void ( * move ) ( Evas_Object * o , int x , int y )
void ( * resize ) ( Evas_Object * o , int w , int h )
void ( * show ) ( Evas_Object * o )
void ( * hide ) ( Evas_Object * o )
void ( * color_set ) ( Evas_Object * o , int r , int g , int b , int a )
void ( * clip_set ) ( Evas_Object * o , Evas_Object * clip )
void ( * clip_unset ) ( Evas_Object * o )
void ( * calculate ) ( Evas_Object * o )
void ( * member_add ) ( Evas_Object * o , Evas_Object * child )
void ( * member_del ) ( Evas_Object * o , Evas_Object * child )
2014-04-04 17:13:15 -07:00
const Evas_Smart_Class * parent
2015-03-13 10:21:36 -07:00
const Evas_Smart_Cb_Description * callbacks
2014-04-04 17:13:15 -07:00
const Evas_Smart_Interface * * interfaces
const void * data
2013-02-14 12:54:53 -08:00
ctypedef struct Evas_Device
ctypedef struct Evas_Event_Mouse_In :
int buttons
Evas_Point output
Evas_Coord_Point canvas
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Mouse_Out :
int buttons
Evas_Point output
Evas_Coord_Point canvas
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Mouse_Down :
int button
Evas_Point output
Evas_Coord_Point canvas
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
Evas_Button_Flags flags
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Mouse_Up :
int button
Evas_Point output
Evas_Coord_Point canvas
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
Evas_Button_Flags flags
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Mouse_Move :
int buttons
Evas_Position cur
Evas_Position prev
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Multi_Down :
int device
double radius
double radius_x
double radius_y
double pressure
double angle
Evas_Point output
Evas_Coord_Precision_Point canvas
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
Evas_Button_Flags flags
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Multi_Up :
int device
double radius
double radius_x
double radius_y
double pressure
double angle
Evas_Point output
Evas_Coord_Precision_Point canvas
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
Evas_Button_Flags flags
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Multi_Move :
double radius
double radius_x
double radius_y
double pressure
double angle
Evas_Precision_Position cur
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Mouse_Wheel :
int direction # 0 = default up/down wheel
int z # ...,-2,-1 = down, 1,2,... = up */
Evas_Point output
Evas_Coord_Point canvas
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Key_Down :
char * keyname
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
2014-04-04 17:13:15 -07:00
const char * key
const char * string
const char * compose
2013-02-14 12:54:53 -08:00
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Key_Up :
char * keyname
void * data
Evas_Modifier * modifiers
Evas_Lock * locks
2014-04-04 17:13:15 -07:00
const char * key
const char * string
const char * compose
2013-02-14 12:54:53 -08:00
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Event_Hold :
int hold
void * data
unsigned int timestamp
Evas_Event_Flags event_flags
Evas_Device * dev
ctypedef struct Evas_Object_Box_Option :
Evas_Object * obj
ctypedef struct Evas_Map
####################################################################
# Other typedefs
#
ctypedef void ( * Evas_Event_Cb ) ( void * data , Evas * e , void * event_info )
ctypedef void ( * Evas_Object_Event_Cb ) ( void * data , Evas * e , Evas_Object * obj , void * event_info )
ctypedef void ( * Evas_Smart_Cb ) ( void * data , Evas_Object * obj , void * event_info )
ctypedef void * Evas_Object_Box_Data
ctypedef void ( * Evas_Object_Box_Layout ) ( Evas_Object * o , Evas_Object_Box_Data * priv , void * user_data )
####################################################################
# Engine
#
int evas_init ( )
int evas_shutdown ( )
2014-05-10 09:52:09 -07:00
void evas_font_path_global_clear ( )
void evas_font_path_global_append ( const char * path )
void evas_font_path_global_prepend ( const char * path )
const Eina_List * evas_font_path_global_list ( )
2013-02-14 12:54:53 -08:00
####################################################################
# Canvas
#
Evas * evas_new ( )
2016-01-23 09:44:06 -08:00
void evas_free ( Evas * e )
2014-04-04 17:13:15 -07:00
const Eo_Class * evas_class_get ( )
2013-04-03 12:39:11 -07:00
2016-01-23 09:44:06 -08:00
int evas_render_method_lookup ( const char * name )
2013-02-14 12:54:53 -08:00
Eina_List * evas_render_method_list ( )
2016-01-23 09:44:06 -08:00
void evas_render_method_list_free ( Eina_List * list )
void evas_output_method_set ( Evas * e , int render_method )
int evas_output_method_get ( Evas * e )
2013-02-14 12:54:53 -08:00
void * evas_engine_info_get ( Evas * e )
2016-01-23 09:44:06 -08:00
int evas_engine_info_set ( Evas * e , void * info )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_output_size_set ( Evas * e , int w , int h )
void evas_output_size_get ( const Evas * e , int * w , int * h )
void evas_output_viewport_set ( Evas * e , Evas_Coord x , Evas_Coord y , Evas_Coord w , Evas_Coord h )
void evas_output_viewport_get ( const Evas * e , Evas_Coord * x , Evas_Coord * y , Evas_Coord * w , Evas_Coord * h )
2014-04-04 17:13:15 -07:00
Evas_Coord evas_coord_screen_x_to_world ( const Evas * e , int x )
Evas_Coord evas_coord_screen_y_to_world ( const Evas * e , int y )
2016-01-23 09:44:06 -08:00
int evas_coord_world_x_to_screen ( const Evas * e , Evas_Coord x )
int evas_coord_world_y_to_screen ( const Evas * e , Evas_Coord y )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_pointer_output_xy_get ( const Evas * e , int * x , int * y )
void evas_pointer_canvas_xy_get ( const Evas * e , Evas_Coord * x , Evas_Coord * y )
int evas_pointer_button_down_mask_get ( const Evas * e )
Eina_Bool evas_pointer_inside_get ( const Evas * e )
2013-02-14 12:54:53 -08:00
2014-04-04 17:13:15 -07:00
Evas_Object * evas_object_top_at_xy_get ( const Evas * e , Evas_Coord x , Evas_Coord y , Eina_Bool include_pass_events_objects , Eina_Bool include_hidden_objects )
Evas_Object * evas_object_top_at_pointer_get ( const Evas * e )
Evas_Object * evas_object_top_in_rectangle_get ( const Evas * e , Evas_Coord x , Evas_Coord y , Evas_Coord w , Evas_Coord h , Eina_Bool include_pass_events_objects , Eina_Bool include_hidden_objects )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
Eina_List * evas_objects_at_xy_get ( const Evas * e , Evas_Coord x , Evas_Coord y , Eina_Bool include_pass_events_objects , Eina_Bool include_hidden_objects )
Eina_List * evas_objects_in_rectangle_get ( const Evas * e , Evas_Coord x , Evas_Coord y , Evas_Coord w , Evas_Coord h , Eina_Bool include_pass_events_objects , Eina_Bool include_hidden_objects )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_damage_rectangle_add ( Evas * e , int x , int y , int w , int h )
void evas_obscured_rectangle_add ( Evas * e , int x , int y , int w , int h )
void evas_obscured_clear ( Evas * e )
2013-02-14 12:54:53 -08:00
Eina_List * evas_render_updates ( Evas * e )
2016-01-23 09:44:06 -08:00
void evas_render_updates_free ( Eina_List * updates )
void evas_render ( Evas * e )
void evas_norender ( Evas * e )
void * evas_data_attach_get ( const Evas * e )
void evas_data_attach_set ( Evas * e , void * data )
2013-02-14 12:54:53 -08:00
2014-04-04 17:13:15 -07:00
Evas_Object * evas_focus_get ( const Evas * e )
2013-02-14 12:54:53 -08:00
Evas_Modifier * evas_key_modifier_get ( Evas * e )
2016-01-23 09:44:06 -08:00
Eina_Bool evas_key_modifier_is_set ( Evas_Modifier * m , const char * keyname )
2013-02-14 12:54:53 -08:00
void evas_event_freeze ( Evas * e )
void evas_event_thaw ( Evas * e )
2016-01-23 09:44:06 -08:00
int evas_event_freeze_get ( const Evas * e )
2014-04-04 17:13:15 -07:00
void evas_event_feed_mouse_down ( Evas * e , int b , Evas_Button_Flags flags , unsigned int timestamp , const void * data )
void evas_event_feed_mouse_up ( Evas * e , int b , Evas_Button_Flags flags , unsigned int timestamp , const void * data )
void evas_event_feed_mouse_cancel ( Evas * e , unsigned int timestamp , const void * data )
void evas_event_feed_mouse_wheel ( Evas * e , int direction , int z , unsigned int timestamp , const void * data )
void evas_event_feed_mouse_move ( Evas * e , int x , int y , unsigned int timestamp , const void * data )
void evas_event_feed_mouse_in ( Evas * e , unsigned int timestamp , const void * data )
void evas_event_feed_mouse_out ( Evas * e , unsigned int timestamp , const void * data )
void evas_event_feed_multi_down ( Evas * e , int d , int x , int y , double rad , double radx , double rady , double pres , double ang , double fx , double fy , Evas_Button_Flags flags , unsigned int timestamp , const void * data )
void evas_event_feed_multi_up ( Evas * e , int d , int x , int y , double rad , double radx , double rady , double pres , double ang , double fx , double fy , Evas_Button_Flags flags , unsigned int timestamp , const void * data )
void evas_event_feed_multi_move ( Evas * e , int d , int x , int y , double rad , double radx , double rady , double pres , double ang , double fx , double fy , unsigned int timestamp , const void * data )
void evas_event_feed_key_down ( Evas * e , const char * keyname , const char * key , const char * string , const char * compose , unsigned int timestamp , const void * data )
void evas_event_feed_key_up ( Evas * e , const char * keyname , const char * key , const char * string , const char * compose , unsigned int timestamp , const void * data )
void evas_event_feed_hold ( Evas * e , int hold , unsigned int timestamp , const void * data )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_font_path_clear ( Evas * e )
void evas_font_path_append ( Evas * e , const char * path )
void evas_font_path_prepend ( Evas * e , const char * path )
2014-04-04 17:13:15 -07:00
const Eina_List * evas_font_path_list ( const Evas * e )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_font_hinting_set ( Evas * e , Evas_Font_Hinting_Flags hinting )
2014-04-04 17:13:15 -07:00
Evas_Font_Hinting_Flags evas_font_hinting_get ( const Evas * e )
2016-01-23 09:44:06 -08:00
Eina_Bool evas_font_hinting_can_hint ( const Evas * e , Evas_Font_Hinting_Flags hinting )
2013-02-14 12:54:53 -08:00
void evas_font_cache_flush ( Evas * e )
void evas_font_cache_set ( Evas * e , int size )
2016-01-23 09:44:06 -08:00
int evas_font_cache_get ( const Evas * e )
2013-02-14 12:54:53 -08:00
2014-04-04 17:13:15 -07:00
Eina_List * evas_font_available_list ( const Evas * e )
2016-01-23 09:44:06 -08:00
void evas_font_available_list_free ( Evas * e , Eina_List * available )
2013-02-14 12:54:53 -08:00
void evas_image_cache_flush ( Evas * e )
void evas_image_cache_reload ( Evas * e )
void evas_image_cache_set ( Evas * e , int size )
2016-01-23 09:44:06 -08:00
int evas_image_cache_get ( const Evas * e )
2013-02-14 12:54:53 -08:00
####################################################################
# Base Object
#
2016-01-23 09:44:06 -08:00
void evas_object_del ( Evas_Object * obj )
2014-04-04 17:13:15 -07:00
Evas * evas_object_evas_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_object_data_set ( Evas_Object * obj , const char * key , const void * data )
2014-04-04 17:13:15 -07:00
void * evas_object_data_get ( const Evas_Object * obj , const char * key )
void * evas_object_data_del ( Evas_Object * obj , const char * key )
2013-02-14 12:54:53 -08:00
2014-04-04 17:13:15 -07:00
const char * evas_object_type_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
void evas_object_layer_set ( Evas_Object * obj , int l )
2016-01-23 09:44:06 -08:00
int evas_object_layer_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_object_raise ( Evas_Object * obj )
void evas_object_lower ( Evas_Object * obj )
void evas_object_stack_above ( Evas_Object * obj , Evas_Object * above )
void evas_object_stack_below ( Evas_Object * obj , Evas_Object * below )
2014-04-04 17:13:15 -07:00
Evas_Object * evas_object_above_get ( const Evas_Object * obj )
Evas_Object * evas_object_below_get ( const Evas_Object * obj )
Evas_Object * evas_object_bottom_get ( const Evas * e )
Evas_Object * evas_object_top_get ( const Evas * e )
2013-02-14 12:54:53 -08:00
void evas_object_move ( Evas_Object * obj , Evas_Coord x , Evas_Coord y )
void evas_object_resize ( Evas_Object * obj , Evas_Coord w , Evas_Coord h )
2014-04-04 17:13:15 -07:00
void evas_object_geometry_get ( const Evas_Object * obj , Evas_Coord * x , Evas_Coord * y , Evas_Coord * w , Evas_Coord * h )
2013-02-14 12:54:53 -08:00
2014-04-04 17:13:15 -07:00
void evas_object_size_hint_min_get ( const Evas_Object * obj , Evas_Coord * w , Evas_Coord * h )
2013-02-14 12:54:53 -08:00
void evas_object_size_hint_min_set ( Evas_Object * obj , Evas_Coord w , Evas_Coord h )
2014-04-04 17:13:15 -07:00
void evas_object_size_hint_max_get ( const Evas_Object * obj , Evas_Coord * w , Evas_Coord * h )
2013-02-14 12:54:53 -08:00
void evas_object_size_hint_max_set ( Evas_Object * obj , Evas_Coord w , Evas_Coord h )
2014-04-04 17:13:15 -07:00
Evas_Display_Mode evas_object_size_hint_display_mode_get ( const Evas_Object * obj )
2013-04-13 17:14:52 -07:00
void evas_object_size_hint_display_mode_set ( Evas_Object * obj , Evas_Display_Mode dispmode )
2014-04-04 17:13:15 -07:00
void evas_object_size_hint_request_get ( const Evas_Object * obj , Evas_Coord * w , Evas_Coord * h )
2013-02-14 12:54:53 -08:00
void evas_object_size_hint_request_set ( Evas_Object * obj , Evas_Coord w , Evas_Coord h )
2014-04-04 17:13:15 -07:00
void evas_object_size_hint_aspect_get ( const Evas_Object * obj , Evas_Aspect_Control * aspect , Evas_Coord * w , Evas_Coord * h )
2013-02-14 12:54:53 -08:00
void evas_object_size_hint_aspect_set ( Evas_Object * obj , Evas_Aspect_Control aspect , Evas_Coord w , Evas_Coord h )
2014-04-04 17:13:15 -07:00
void evas_object_size_hint_align_get ( const Evas_Object * obj , double * x , double * y )
2013-02-14 12:54:53 -08:00
void evas_object_size_hint_align_set ( Evas_Object * obj , double x , double y )
2015-01-06 08:46:18 -08:00
void evas_object_size_hint_fill_get ( const Evas_Object * obj , double * x , double * y )
void evas_object_size_hint_fill_set ( Evas_Object * obj , double x , double y )
2014-04-04 17:13:15 -07:00
void evas_object_size_hint_weight_get ( const Evas_Object * obj , double * x , double * y )
2013-02-14 12:54:53 -08:00
void evas_object_size_hint_weight_set ( Evas_Object * obj , double x , double y )
2015-01-06 08:46:18 -08:00
void evas_object_size_hint_expand_get ( const Evas_Object * obj , double * x , double * y )
void evas_object_size_hint_expand_set ( Evas_Object * obj , double x , double y )
2014-04-04 17:13:15 -07:00
void evas_object_size_hint_padding_get ( const Evas_Object * obj , Evas_Coord * l , Evas_Coord * r , Evas_Coord * t , Evas_Coord * b )
2013-02-14 12:54:53 -08:00
void evas_object_size_hint_padding_set ( Evas_Object * obj , Evas_Coord l , Evas_Coord r , Evas_Coord t , Evas_Coord b )
2016-01-23 09:44:06 -08:00
void evas_object_show ( Evas_Object * obj )
void evas_object_hide ( Evas_Object * obj )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_visible_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_object_precise_is_inside_set ( Evas_Object * obj , Eina_Bool precise )
Eina_Bool evas_object_precise_is_inside_get ( const Evas_Object * obj )
2013-04-13 17:14:52 -07:00
2016-01-23 09:44:06 -08:00
void evas_object_static_clip_set ( Evas_Object * obj , Eina_Bool is_static_clip )
2013-02-14 12:54:53 -08:00
Eina_Bool evas_object_static_clip_get ( Evas_Object * obj )
2016-01-23 09:44:06 -08:00
void evas_object_render_op_set ( Evas_Object * obj , Evas_Render_Op op )
2014-04-04 17:13:15 -07:00
Evas_Render_Op evas_object_render_op_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_object_anti_alias_set ( Evas_Object * obj , Eina_Bool antialias )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_anti_alias_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_object_scale_set ( Evas_Object * obj , double scale )
double evas_object_scale_get ( const Evas_Object * obj )
2013-04-13 17:14:52 -07:00
2013-02-14 12:54:53 -08:00
void evas_object_color_set ( Evas_Object * obj , int r , int g , int b , int a )
2014-04-04 17:13:15 -07:00
void evas_object_color_get ( const Evas_Object * obj , int * r , int * g , int * b , int * a )
2013-02-14 12:54:53 -08:00
void evas_color_argb_premul ( int a , int * r , int * g , int * b )
void evas_color_argb_unpremul ( int a , int * r , int * g , int * b )
void evas_color_hsv_to_rgb ( float h , float s , float v , int * r , int * g , int * b )
void evas_color_rgb_to_hsv ( int r , int g , int b , float * h , float * s , float * v )
2016-01-23 09:44:06 -08:00
void evas_object_clip_set ( Evas_Object * obj , Evas_Object * clip )
Evas_Object * evas_object_clip_get ( const Evas_Object * obj )
void evas_object_clip_unset ( Evas_Object * obj )
2014-04-04 17:13:15 -07:00
const Eina_List * evas_object_clipees_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_object_name_set ( Evas_Object * obj , const char * name )
const char * evas_object_name_get ( const Evas_Object * obj )
2014-04-04 17:13:15 -07:00
Evas_Object * evas_object_name_find ( const Evas * e , const char * name )
2013-02-14 12:54:53 -08:00
int evas_async_events_fd_get ( )
int evas_async_events_process ( )
2016-01-23 09:44:06 -08:00
void evas_object_event_callback_add ( Evas_Object * obj , Evas_Callback_Type type , Evas_Object_Event_Cb func , const void * data )
2013-02-14 12:54:53 -08:00
void * evas_object_event_callback_del ( Evas_Object * obj , Evas_Callback_Type type , Evas_Object_Event_Cb func )
2016-01-23 09:44:06 -08:00
void evas_event_callback_add ( Evas * e , Evas_Callback_Type type , Evas_Event_Cb func , const void * data )
2013-02-14 12:54:53 -08:00
void * evas_event_callback_del ( Evas * e , Evas_Callback_Type type , Evas_Event_Cb func )
2016-01-23 09:44:06 -08:00
void evas_object_pass_events_set ( Evas_Object * obj , Eina_Bool p )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_pass_events_get ( const Evas_Object * obj )
2016-01-23 09:44:06 -08:00
void evas_object_repeat_events_set ( Evas_Object * obj , Eina_Bool repeat )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_repeat_events_get ( const Evas_Object * obj )
2016-01-23 09:44:06 -08:00
void evas_object_propagate_events_set ( Evas_Object * obj , Eina_Bool prop )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_propagate_events_get ( const Evas_Object * obj )
2013-04-13 17:14:52 -07:00
void evas_object_freeze_events_set ( Evas_Object * obj , Eina_Bool freeze )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_freeze_events_get ( const Evas_Object * obj )
2013-04-13 17:14:52 -07:00
2016-01-23 09:44:06 -08:00
void evas_object_pointer_mode_set ( Evas_Object * obj , Evas_Object_Pointer_Mode setting )
2014-04-04 17:13:15 -07:00
Evas_Object_Pointer_Mode evas_object_pointer_mode_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
void evas_object_focus_set ( Evas_Object * obj , Eina_Bool focus )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_focus_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2016-01-23 09:44:06 -08:00
Eina_Bool evas_object_key_grab ( Evas_Object * obj , const char * keyname , Evas_Modifier_Mask modifiers , Evas_Modifier_Mask not_modifiers , Eina_Bool exclusive )
void evas_object_key_ungrab ( Evas_Object * obj , const char * keyname , Evas_Modifier_Mask modifiers , Evas_Modifier_Mask not_modifiers )
void evas_object_is_frame_object_set ( Evas_Object * obj , Eina_Bool is_frame )
Eina_Bool evas_object_is_frame_object_get ( Evas_Object * obj )
2013-04-13 17:14:52 -07:00
2016-01-23 09:34:13 -08:00
void evas_object_paragraph_direction_set ( Evas_Object * obj , Evas_BiDi_Direction direction )
Evas_BiDi_Direction evas_object_paragraph_direction_get ( Evas_Object * obj )
2013-02-14 12:54:53 -08:00
####################################################################
2015-03-13 10:21:36 -07:00
# Smart Object
2013-02-14 12:54:53 -08:00
#
2016-01-23 09:44:06 -08:00
void evas_smart_free ( Evas_Smart * s )
Evas_Smart * evas_smart_class_new ( Evas_Smart_Class * sc )
2013-02-14 12:54:53 -08:00
Evas_Smart_Class * evas_smart_class_get ( Evas_Smart * s )
2016-01-23 09:44:06 -08:00
const Eo_Class * evas_object_smart_class_get ( )
2015-03-13 10:21:36 -07:00
const Evas_Smart_Cb_Description * * evas_smart_callbacks_descriptions_get ( const Evas_Smart * s , unsigned int * count )
const Evas_Smart_Cb_Description * evas_smart_callback_description_find ( const Evas_Smart * s , const char * name )
2013-02-14 12:54:53 -08:00
void * evas_smart_data_get ( Evas_Smart * s )
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_smart_add ( Evas * e , Evas_Smart * s )
void evas_object_smart_member_add ( Evas_Object * obj , Evas_Object * smart_obj )
void evas_object_smart_member_del ( Evas_Object * obj )
Evas_Object * evas_object_smart_parent_get ( const Evas_Object * obj )
Eina_List * evas_object_smart_members_get ( const Evas_Object * obj )
Evas_Smart * evas_object_smart_smart_get ( const Evas_Object * obj )
void * evas_object_smart_data_get ( const Evas_Object * obj )
void evas_object_smart_data_set ( Evas_Object * obj , void * data )
void evas_object_smart_callback_add ( Evas_Object * obj , const char * event , Evas_Smart_Cb func , const void * data )
void * evas_object_smart_callback_del ( Evas_Object * obj , const char * event , Evas_Smart_Cb func )
void * evas_object_smart_callback_del_full ( Evas_Object * obj , const char * event , Evas_Smart_Cb func , const void * data )
void evas_object_smart_callback_call ( Evas_Object * obj , const char * event , void * event_info )
void evas_object_smart_changed ( Evas_Object * obj )
void evas_object_smart_need_recalculate_set ( Evas_Object * obj , int value )
int evas_object_smart_need_recalculate_get ( const Evas_Object * obj )
void evas_object_smart_calculate ( Evas_Object * obj )
void evas_object_smart_move_children_relative ( Evas_Object * obj , int dx , int dy )
2015-03-08 09:15:26 -07:00
Eina_Iterator * evas_object_smart_iterator_new ( const Evas_Object_Smart * obj )
2016-01-23 09:44:06 -08:00
void evas_object_smart_clipped_smart_set ( Evas_Smart_Class * sc )
Eina_Bool evas_object_smart_callbacks_descriptions_set ( Evas_Object_Smart * obj , const Evas_Smart_Cb_Description * descriptions )
void evas_object_smart_callbacks_descriptions_get ( const Evas_Object_Smart * obj , const Evas_Smart_Cb_Description * * * class_descriptions , unsigned int * class_count , const Evas_Smart_Cb_Description * * * instance_descriptions , unsigned int * instance_count )
void evas_object_smart_callback_description_find ( const Evas_Object_Smart * obj , const char * name , const Evas_Smart_Cb_Description * * class_description , const Evas_Smart_Cb_Description * * instance_description )
2013-02-14 12:54:53 -08:00
####################################################################
# Rectangle Object
#
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_rectangle_add ( Evas * e )
2014-04-04 17:13:15 -07:00
const Eo_Class * evas_object_rectangle_class_get ( )
2013-02-14 12:54:53 -08:00
####################################################################
# Line Object
#
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_line_add ( Evas * e )
void evas_object_line_xy_set ( Evas_Object * obj , Evas_Coord x1 , Evas_Coord y1 , Evas_Coord x2 , Evas_Coord y2 )
void evas_object_line_xy_get ( const Evas_Object * obj , Evas_Coord * x1 , Evas_Coord * y1 , Evas_Coord * x2 , Evas_Coord * y2 )
2014-04-04 17:13:15 -07:00
const Eo_Class * evas_object_line_class_get ( )
2013-02-14 12:54:53 -08:00
####################################################################
# Image Object
#
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_image_add ( Evas * e )
2013-04-12 06:49:56 -07:00
# TODO: Use this?: Evas_Object *evas_object_image_filled_add(Evas *e)
# TODO: void evas_object_image_memfile_set(Evas_Object *obj, void *data, int size, char *format, char *key)
2016-02-02 04:11:33 -08:00
# TODO: Is this needed?: const Eo_Class *evas_object_image_class_get()
2014-04-04 17:13:15 -07:00
void evas_object_image_file_set ( Evas_Object * obj , const char * file , const char * key )
void evas_object_image_file_get ( const Evas_Object * obj , const char * * file , const char * * key )
2013-04-12 06:49:56 -07:00
void evas_object_image_border_set ( Evas_Object * obj , int l , int r , int t , int b )
2014-04-04 17:13:15 -07:00
void evas_object_image_border_get ( const Evas_Object * obj , int * l , int * r , int * t , int * b )
2013-04-12 06:49:56 -07:00
void evas_object_image_border_center_fill_set ( Evas_Object * obj , Eina_Bool fill )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_border_center_fill_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_filled_set ( Evas_Object * obj , Eina_Bool setting )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_filled_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_border_scale_set ( Evas_Object * obj , double scale )
2014-04-04 17:13:15 -07:00
double evas_object_image_border_scale_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_fill_set ( Evas_Object * obj , Evas_Coord x , Evas_Coord y , Evas_Coord w , Evas_Coord h )
2014-04-04 17:13:15 -07:00
void evas_object_image_fill_get ( const Evas_Object * obj , Evas_Coord * x , Evas_Coord * y , Evas_Coord * w , Evas_Coord * h )
2013-04-12 06:49:56 -07:00
void evas_object_image_fill_spread_set ( Evas_Object * obj , Evas_Fill_Spread spread )
2014-04-04 17:13:15 -07:00
Evas_Fill_Spread evas_object_image_fill_spread_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_size_set ( Evas_Object * obj , int w , int h )
2014-04-04 17:13:15 -07:00
void evas_object_image_size_get ( const Evas_Object * obj , int * w , int * h )
int evas_object_image_stride_get ( const Evas_Object * obj )
int evas_object_image_load_error_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_data_set ( Evas_Object * obj , void * data )
2016-01-23 09:44:06 -08:00
void * evas_object_image_data_get ( const Evas_Object * obj , Eina_Bool for_writing )
2013-04-12 06:49:56 -07:00
# TODO: void *evas_object_image_data_convert(Evas_Object *obj, Evas_Colorspace to_cspace)
# TODO: void evas_object_image_data_copy_set(Evas_Object *obj, void *data)
void evas_object_image_data_update_add ( Evas_Object * obj , int x , int y , int w , int h )
void evas_object_image_alpha_set ( Evas_Object * obj , Eina_Bool has_alpha )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_alpha_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_smooth_scale_set ( Evas_Object * obj , Eina_Bool smooth_scale )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_smooth_scale_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_preload ( Evas_Object * obj , Eina_Bool cancel )
void evas_object_image_reload ( Evas_Object * obj )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_save ( const Evas_Object * obj , const char * file , const char * key , const char * flags )
2013-04-12 06:49:56 -07:00
# TODO: Eina_Bool evas_object_image_pixels_import(Evas_Object *obj, Evas_Pixel_Import_Source *pixels)
# TODO: void evas_object_image_pixels_get_callback_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *o), void *data)
void evas_object_image_pixels_dirty_set ( Evas_Object * obj , Eina_Bool dirty )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_pixels_dirty_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_load_dpi_set ( Evas_Object * obj , double dpi )
2014-04-04 17:13:15 -07:00
double evas_object_image_load_dpi_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_load_size_set ( Evas_Object * obj , int w , int h )
2014-04-04 17:13:15 -07:00
void evas_object_image_load_size_get ( const Evas_Object * obj , int * w , int * h )
2013-04-12 06:49:56 -07:00
void evas_object_image_load_scale_down_set ( Evas_Object * obj , int scale_down )
2014-04-04 17:13:15 -07:00
int evas_object_image_load_scale_down_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_load_region_set ( Evas_Object * obj , int x , int y , int w , int h )
2014-04-04 17:13:15 -07:00
void evas_object_image_load_region_get ( const Evas_Object * obj , int * x , int * y , int * w , int * h )
2013-04-12 06:49:56 -07:00
void evas_object_image_load_orientation_set ( Evas_Object * obj , Eina_Bool enable )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_load_orientation_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_colorspace_set ( Evas_Object * obj , Evas_Colorspace cspace )
2014-04-04 17:13:15 -07:00
Evas_Colorspace evas_object_image_colorspace_get ( const Evas_Object * obj )
Eina_Bool evas_object_image_region_support_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
# TODO: void evas_object_image_native_surface_set(Evas_Object *obj, Evas_Native_Surface *surf)
2014-04-04 17:13:15 -07:00
# TODO: Evas_Native_Surface *evas_object_image_native_surface_get(const Evas_Object *obj)
2013-04-12 06:49:56 -07:00
# TODO: void evas_object_image_video_surface_set(Evas_Object *obj, Evas_Video_Surface *surf)
2014-04-04 17:13:15 -07:00
# TODO: const Evas_Video_Surface *evas_object_image_video_surface_get(const Evas_Object *obj)
2013-04-12 06:49:56 -07:00
void evas_object_image_scale_hint_set ( Evas_Object * obj , Evas_Image_Scale_Hint hint )
2014-04-04 17:13:15 -07:00
Evas_Image_Scale_Hint evas_object_image_scale_hint_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_content_hint_set ( Evas_Object * obj , Evas_Image_Content_Hint hint )
2014-04-04 17:13:15 -07:00
Evas_Image_Content_Hint evas_object_image_content_hint_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_alpha_mask_set ( Evas_Object * obj , Eina_Bool ismask )
Eina_Bool evas_object_image_source_set ( Evas_Object * obj , Evas_Object * src )
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_image_source_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
Eina_Bool evas_object_image_source_unset ( Evas_Object * obj )
void evas_object_image_source_visible_set ( Evas_Object * obj , Eina_Bool visible )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_source_visible_get ( const Evas_Object * obj )
2013-04-12 06:49:56 -07:00
void evas_object_image_source_events_set ( Evas_Object * obj , Eina_Bool source )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_image_source_events_get ( const Evas_Object * obj )
Eina_Bool evas_object_image_extension_can_load_get ( const char * file )
Eina_Bool evas_object_image_extension_can_load_fast_get ( const char * file )
Eina_Bool evas_object_image_animated_get ( const Evas_Object * obj )
int evas_object_image_animated_frame_count_get ( const Evas_Object * obj )
Evas_Image_Animated_Loop_Hint evas_object_image_animated_loop_type_get ( const Evas_Object * obj )
int evas_object_image_animated_loop_count_get ( const Evas_Object * obj )
double evas_object_image_animated_frame_duration_get ( const Evas_Object * obj , int start_frame , int fram_num )
2013-04-12 06:49:56 -07:00
void evas_object_image_animated_frame_set ( Evas_Object * obj , int frame_num )
2015-04-12 03:35:57 -07:00
Evas_Image_Orient evas_object_image_orient_get ( Evas_Object * obj )
void evas_object_image_orient_set ( Evas_Object * obj , Evas_Image_Orient orient )
2013-02-14 12:54:53 -08:00
####################################################################
# Polygon Object
#
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_polygon_add ( Evas * e )
2014-04-04 17:13:15 -07:00
const Eo_Class * evas_object_polygon_class_get ( )
2016-01-23 09:44:06 -08:00
void evas_object_polygon_point_add ( Evas_Object * obj , Evas_Coord x , Evas_Coord y )
void evas_object_polygon_points_clear ( Evas_Object * obj )
2013-02-14 12:54:53 -08:00
####################################################################
# Text Object (py3:TODO)
#
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_text_add ( Evas * e )
const Eo_Class * evas_object_text_class_get ( )
void evas_object_text_font_source_set ( Evas_Object * obj , const char * font )
const char * evas_object_text_font_source_get ( const Evas_Object * obj )
void evas_object_text_font_set ( Evas_Object * obj , const char * font , Evas_Font_Size size )
void evas_object_text_font_get ( const Evas_Object * obj , const char * * font , Evas_Font_Size * size )
void evas_object_text_text_set ( Evas_Object * obj , const char * text )
const char * evas_object_text_text_get ( const Evas_Object * obj )
Evas_Coord evas_object_text_ascent_get ( const Evas_Object * obj )
Evas_Coord evas_object_text_descent_get ( const Evas_Object * obj )
Evas_Coord evas_object_text_max_ascent_get ( const Evas_Object * obj )
Evas_Coord evas_object_text_max_descent_get ( const Evas_Object * obj )
Evas_Coord evas_object_text_horiz_advance_get ( const Evas_Object * obj )
Evas_Coord evas_object_text_vert_advance_get ( const Evas_Object * obj )
Evas_Coord evas_object_text_inset_get ( const Evas_Object * obj )
int evas_object_text_char_pos_get ( const Evas_Object * obj , int pos , Evas_Coord * cx , Evas_Coord * cy , Evas_Coord * cw , Evas_Coord * ch )
int evas_object_text_char_coords_get ( const Evas_Object * obj , Evas_Coord x , Evas_Coord y , Evas_Coord * cx , Evas_Coord * cy , Evas_Coord * cw , Evas_Coord * ch )
2014-04-04 17:13:15 -07:00
Evas_Text_Style_Type evas_object_text_style_get ( const Evas_Object * obj )
2016-01-23 09:44:06 -08:00
void evas_object_text_style_set ( Evas_Object * obj , Evas_Text_Style_Type type )
void evas_object_text_shadow_color_set ( Evas_Object * obj , int r , int g , int b , int a )
void evas_object_text_shadow_color_get ( const Evas_Object * obj , int * r , int * g , int * b , int * a )
void evas_object_text_glow_color_set ( Evas_Object * obj , int r , int g , int b , int a )
void evas_object_text_glow_color_get ( const Evas_Object * obj , int * r , int * g , int * b , int * a )
void evas_object_text_glow2_color_set ( Evas_Object * obj , int r , int g , int b , int a )
void evas_object_text_glow2_color_get ( const Evas_Object * obj , int * r , int * g , int * b , int * a )
void evas_object_text_outline_color_set ( Evas_Object * obj , int r , int g , int b , int a )
void evas_object_text_outline_color_get ( const Evas_Object * obj , int * r , int * g , int * b , int * a )
void evas_object_text_style_pad_get ( const Evas_Object * obj , int * l , int * r , int * t , int * b )
2013-02-14 12:54:53 -08:00
####################################################################
# Textblock Object (py3:TODO)
#
2016-01-23 09:44:06 -08:00
Evas_Object * evas_object_textblock_add ( Evas * e )
const Eo_Class * evas_object_textblock_class_get ( )
Evas_Textblock_Style * evas_textblock_style_new ( )
void evas_textblock_style_free ( Evas_Textblock_Style * ts )
void evas_textblock_style_set ( Evas_Textblock_Style * ts , const char * text )
const char * evas_textblock_style_get ( const Evas_Textblock_Style * ts )
void evas_object_textblock_style_set ( Evas_Object * obj , Evas_Textblock_Style * ts )
Evas_Textblock_Style * evas_object_textblock_style_get ( const Evas_Object * obj )
void evas_object_textblock_replace_char_set ( Evas_Object * obj , const char * ch )
const char * evas_object_textblock_replace_char_get ( const Evas_Object * obj )
const char * evas_textblock_escape_string_get ( const char * escape )
const char * evas_textblock_string_escape_get ( const char * string , int * len_ret )
void evas_object_textblock_text_markup_set ( Evas_Object * obj , const char * text )
void evas_object_textblock_text_markup_prepend ( Evas_Textblock_Cursor * cur , const char * text )
const char * evas_object_textblock_text_markup_get ( const Evas_Object * obj )
2014-04-04 17:13:15 -07:00
Evas_Textblock_Cursor * evas_object_textblock_cursor_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
Evas_Textblock_Cursor * evas_object_textblock_cursor_new ( Evas_Object * obj )
2016-01-23 09:44:06 -08:00
void evas_textblock_cursor_free ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_node_first ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_node_last ( Evas_Textblock_Cursor * cur )
Eina_Bool evas_textblock_cursor_node_next ( Evas_Textblock_Cursor * cur )
Eina_Bool evas_textblock_cursor_node_prev ( Evas_Textblock_Cursor * cur )
Eina_Bool evas_textblock_cursor_char_next ( Evas_Textblock_Cursor * cur )
Eina_Bool evas_textblock_cursor_char_prev ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_char_first ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_char_last ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_line_first ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_line_last ( Evas_Textblock_Cursor * cur )
int evas_textblock_cursor_pos_get ( const Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_pos_set ( Evas_Textblock_Cursor * cur , int pos )
Eina_Bool evas_textblock_cursor_line_set ( Evas_Textblock_Cursor * cur , int line )
int evas_textblock_cursor_compare ( Evas_Textblock_Cursor * cur1 , Evas_Textblock_Cursor * cur2 )
void evas_textblock_cursor_copy ( Evas_Textblock_Cursor * cur , Evas_Textblock_Cursor * cur_dest )
void evas_textblock_cursor_text_append ( Evas_Textblock_Cursor * cur , const char * text )
void evas_textblock_cursor_text_prepend ( Evas_Textblock_Cursor * cur , const char * text )
void evas_textblock_cursor_format_append ( Evas_Textblock_Cursor * cur , const char * format )
void evas_textblock_cursor_format_prepend ( Evas_Textblock_Cursor * cur , const char * format )
void evas_textblock_cursor_node_delete ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_char_delete ( Evas_Textblock_Cursor * cur )
void evas_textblock_cursor_range_delete ( Evas_Textblock_Cursor * cur1 , Evas_Textblock_Cursor * cur2 )
const char * evas_textblock_cursor_node_text_get ( const Evas_Textblock_Cursor * cur )
int evas_textblock_cursor_node_text_length_get ( const Evas_Textblock_Cursor * cur )
const char * evas_textblock_cursor_node_format_get ( const Evas_Textblock_Cursor * cur )
Eina_Bool evas_textblock_cursor_node_format_is_visible_get ( const Evas_Textblock_Cursor * cur )
const char * evas_textblock_cursor_range_text_get ( const Evas_Textblock_Cursor * cur1 , Evas_Textblock_Cursor * cur2 , Evas_Textblock_Text_Type format )
int evas_textblock_cursor_char_geometry_get ( const Evas_Textblock_Cursor * cur , Evas_Coord * cx , Evas_Coord * cy , Evas_Coord * cw , Evas_Coord * ch )
int evas_textblock_cursor_line_geometry_get ( const Evas_Textblock_Cursor * cur , Evas_Coord * cx , Evas_Coord * cy , Evas_Coord * cw , Evas_Coord * ch )
Eina_Bool evas_textblock_cursor_char_coord_set ( Evas_Textblock_Cursor * cur , Evas_Coord x , Evas_Coord y )
int evas_textblock_cursor_line_coord_set ( Evas_Textblock_Cursor * cur , Evas_Coord y )
Eina_List * evas_textblock_cursor_range_geometry_get ( const Evas_Textblock_Cursor * cur1 , Evas_Textblock_Cursor * cur2 )
Eina_Bool evas_object_textblock_line_number_geometry_get ( const Evas_Object * obj , int line , Evas_Coord * cx , Evas_Coord * cy , Evas_Coord * cw , Evas_Coord * ch )
void evas_object_textblock_clear ( Evas_Object * obj )
void evas_object_textblock_size_formatted_get ( const Evas_Object * obj , Evas_Coord * w , Evas_Coord * h )
void evas_object_textblock_size_native_get ( const Evas_Object * obj , Evas_Coord * w , Evas_Coord * h )
void evas_object_textblock_style_insets_get ( const Evas_Object * obj , Evas_Coord * l , Evas_Coord * r , Evas_Coord * t , Evas_Coord * b )
Eina_Bool evas_object_textblock_obstacle_add ( const Evas_Object * obj , Evas_Object * obstacle )
Eina_Bool evas_object_textblock_obstacle_del ( const Evas_Object * obj , Evas_Object * obstacle )
Eina_Bool evas_object_textblock_obstacles_update ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
####################################################################
# Box Object
#
Evas_Object * evas_object_box_add ( Evas * e )
Evas_Object * evas_object_box_add_to ( Evas_Object * parent )
2016-02-02 04:11:33 -08:00
# TODO: Is this needed?: const Eo_Class *evas_object_box_class_get()
2013-02-14 12:54:53 -08:00
void evas_object_box_align_set ( Evas_Object * o , double horizontal , double vertical )
2014-04-04 17:13:15 -07:00
void evas_object_box_align_get ( const Evas_Object * o , double * horizontal , double * vertical )
2013-02-14 12:54:53 -08:00
void evas_object_box_padding_set ( Evas_Object * o , Evas_Coord horizontal , Evas_Coord vertical )
2014-04-04 17:13:15 -07:00
void evas_object_box_padding_get ( const Evas_Object * o , Evas_Coord * horizontal , Evas_Coord * vertical )
2013-02-14 12:54:53 -08:00
Evas_Object_Box_Option * evas_object_box_append ( Evas_Object * o , Evas_Object * child )
Evas_Object_Box_Option * evas_object_box_prepend ( Evas_Object * o , Evas_Object * child )
Evas_Object_Box_Option * evas_object_box_insert_before ( Evas_Object * o , Evas_Object * child , Evas_Object * reference )
Evas_Object_Box_Option * evas_object_box_insert_after ( Evas_Object * o , Evas_Object * child , Evas_Object * reference )
Evas_Object_Box_Option * evas_object_box_insert_at ( Evas_Object * o , Evas_Object * child , unsigned int pos )
Eina_Bool evas_object_box_remove ( Evas_Object * o , Evas_Object * child )
Eina_Bool evas_object_box_remove_at ( Evas_Object * o , unsigned int pos )
Eina_Bool evas_object_box_remove_all ( Evas_Object * o , Eina_Bool clear )
void evas_object_box_layout_horizontal ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_vertical ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_homogeneous_vertical ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_homogeneous_horizontal ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_homogeneous_max_size_horizontal ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_homogeneous_max_size_vertical ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_flow_horizontal ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_flow_vertical ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
void evas_object_box_layout_stack ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
2016-01-23 09:44:06 -08:00
2013-02-14 12:54:53 -08:00
void elm_box_layout_transition ( Evas_Object * o , Evas_Object_Box_Data * priv , void * data )
####################################################################
# Evas Map
#
Evas_Map * evas_map_new ( int count )
void evas_object_map_enable_set ( Evas_Object * obj , Eina_Bool enabled )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_map_enable_get ( const Evas_Object * obj )
void evas_object_map_set ( Evas_Object * obj , const Evas_Map * map )
const Evas_Map * evas_object_map_get ( const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
2014-04-04 17:13:15 -07:00
void evas_map_util_points_populate_from_object_full ( Evas_Map * m , const Evas_Object * obj , Evas_Coord z )
void evas_map_util_points_populate_from_object ( Evas_Map * m , const Evas_Object * obj )
2013-02-14 12:54:53 -08:00
void evas_map_util_points_populate_from_geometry ( Evas_Map * m , Evas_Coord x , Evas_Coord y , Evas_Coord w , Evas_Coord h , Evas_Coord z )
void evas_map_util_points_color_set ( Evas_Map * m , int r , int g , int b , int a )
void evas_map_util_rotate ( Evas_Map * m , double degrees , Evas_Coord cx , Evas_Coord cy )
void evas_map_util_zoom ( Evas_Map * m , double zoomx , double zoomy , Evas_Coord cx , Evas_Coord cy )
void evas_map_util_3d_rotate ( Evas_Map * m , double dx , double dy , double dz , Evas_Coord cx , Evas_Coord cy , Evas_Coord cz )
2013-02-24 07:52:42 -08:00
void evas_map_util_quat_rotate ( Evas_Map * m , double qx , double qy , double qz , double qw , double cx , double cy , double cz )
2013-02-14 12:54:53 -08:00
void evas_map_util_3d_lighting ( Evas_Map * m , Evas_Coord lx , Evas_Coord ly , Evas_Coord lz , int lr , int lg , int lb , int ar , int ag , int ab )
void evas_map_util_3d_perspective ( Evas_Map * m , Evas_Coord px , Evas_Coord py , Evas_Coord z0 , Evas_Coord foc )
Eina_Bool evas_map_util_clockwise_get ( Evas_Map * m )
2015-01-17 02:38:26 -08:00
void evas_map_util_object_move_sync_set ( Evas_Map * m , Eina_Bool enabled )
Eina_Bool evas_map_util_object_move_sync_get ( const Evas_Map * m )
2013-02-14 12:54:53 -08:00
void evas_map_smooth_set ( Evas_Map * m , Eina_Bool enabled )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_map_smooth_get ( const Evas_Map * m )
2013-02-14 12:54:53 -08:00
void evas_map_alpha_set ( Evas_Map * m , Eina_Bool enabled )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_map_alpha_get ( const Evas_Map * m )
Evas_Map * evas_map_dup ( const Evas_Map * m )
2013-02-14 12:54:53 -08:00
void evas_map_free ( Evas_Map * m )
2014-04-04 17:13:15 -07:00
int evas_map_count_get ( const Evas_Map * m )
2013-02-14 12:54:53 -08:00
void evas_map_point_coord_set ( Evas_Map * m , int idx , Evas_Coord x , Evas_Coord y , Evas_Coord z )
2014-04-04 17:13:15 -07:00
void evas_map_point_coord_get ( const Evas_Map * m , int idx , Evas_Coord * x , Evas_Coord * y , Evas_Coord * z )
2013-02-14 12:54:53 -08:00
void evas_map_point_image_uv_set ( Evas_Map * m , int idx , double u , double v )
2014-04-04 17:13:15 -07:00
void evas_map_point_image_uv_get ( const Evas_Map * m , int idx , double * u , double * v )
2013-02-14 12:54:53 -08:00
void evas_map_point_color_set ( Evas_Map * m , int idx , int r , int g , int b , int a )
2014-04-04 17:13:15 -07:00
void evas_map_point_color_get ( const Evas_Map * m , int idx , int * r , int * g , int * b , int * a )
2013-02-14 12:54:53 -08:00
2013-04-07 16:11:50 -07:00
####################################################################
# Textgrid
#
# The values that describes each cell.
ctypedef struct Evas_Textgrid_Cell :
Eina_Unicode codepoint # the UNICODE value of the character */
unsigned char fg # the index of the palette for the foreground color */
unsigned char bg # the index of the palette for the background color */
unsigned short bold # whether the character is bold */
unsigned short italic # whether the character is oblique */
unsigned short underline # whether the character is underlined */
unsigned short strikethrough # whether the character is strikethrough'ed */
unsigned short fg_extended # whether the extended palette is used for the foreground color */
unsigned short bg_extended # whether the extended palette is used for the background color */
unsigned short double_width # if the codepoint is merged with the following cell to the right visually (cells must be in pairs with 2nd cell being a duplicate in all ways except codepoint is 0) */
Evas_Object * evas_object_textgrid_add ( Evas * e )
2016-01-23 09:44:06 -08:00
void evas_object_textgrid_size_set ( Evas_Object * obj , int w , int h )
void evas_object_textgrid_size_get ( const Evas_Object * obj , int * w , int * h )
void evas_object_textgrid_font_source_set ( Evas_Object * obj , const char * font_source )
const char * evas_object_textgrid_font_source_get ( const Evas_Object * obj )
void evas_object_textgrid_font_set ( Evas_Object * obj , const char * font_name , Evas_Font_Size font_size )
void evas_object_textgrid_font_get ( const Evas_Object * obj , const char * * font_name , Evas_Font_Size * font_size )
void evas_object_textgrid_cell_size_get ( const Evas_Object * obj , Evas_Coord * w , Evas_Coord * h )
void evas_object_textgrid_palette_set ( Evas_Object * obj , Evas_Textgrid_Palette pal , int idx , int r , int g , int b , int a )
void evas_object_textgrid_palette_get ( const Evas_Object * obj , Evas_Textgrid_Palette pal , int idx , int * r , int * g , int * b , int * a )
void evas_object_textgrid_supported_font_styles_set ( Evas_Object * obj , Evas_Textgrid_Font_Style styles )
2014-04-04 17:13:15 -07:00
Evas_Textgrid_Font_Style evas_object_textgrid_supported_font_styles_get ( const Evas_Object * obj )
2013-04-07 16:11:50 -07:00
2016-01-23 09:44:06 -08:00
void evas_object_textgrid_cellrow_set ( Evas_Object * obj , int y , const Evas_Textgrid_Cell * row )
2014-04-04 17:13:15 -07:00
Evas_Textgrid_Cell * evas_object_textgrid_cellrow_get ( const Evas_Object * obj , int y )
2016-01-23 09:44:06 -08:00
void evas_object_textgrid_update_add ( Evas_Object * obj , int x , int y , int w , int h )
2013-04-07 16:11:50 -07:00
2013-04-13 15:53:21 -07:00
####################################################################
# Table
#
Evas_Object * evas_object_table_add ( Evas * evas )
Evas_Object * evas_object_table_add_to ( Evas_Object * parent )
void evas_object_table_homogeneous_set ( Evas_Object * o , Evas_Object_Table_Homogeneous_Mode homogeneous )
2014-04-04 17:13:15 -07:00
Evas_Object_Table_Homogeneous_Mode evas_object_table_homogeneous_get ( const Evas_Object * o )
2013-04-13 15:53:21 -07:00
void evas_object_table_padding_set ( Evas_Object * o , Evas_Coord horizontal , Evas_Coord vertical )
2014-04-04 17:13:15 -07:00
void evas_object_table_padding_get ( const Evas_Object * o , Evas_Coord * horizontal , Evas_Coord * vertical )
2013-04-13 15:53:21 -07:00
void evas_object_table_align_set ( Evas_Object * o , double horizontal , double vertical )
2014-04-04 17:13:15 -07:00
void evas_object_table_align_get ( const Evas_Object * o , double * horizontal , double * vertical )
2013-04-13 15:53:21 -07:00
void evas_object_table_mirrored_set ( Evas_Object * o , Eina_Bool mirrored )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_table_mirrored_get ( const Evas_Object * o )
Eina_Bool evas_object_table_pack_get ( const Evas_Object * o , Evas_Object * child , unsigned short * col , unsigned short * row , unsigned short * colspan , unsigned short * rowspan )
2013-04-13 15:53:21 -07:00
Eina_Bool evas_object_table_pack ( Evas_Object * o , Evas_Object * child , unsigned short col , unsigned short row , unsigned short colspan , unsigned short rowspan )
Eina_Bool evas_object_table_unpack ( Evas_Object * o , Evas_Object * child )
void evas_object_table_clear ( Evas_Object * o , Eina_Bool clear )
2014-04-04 17:13:15 -07:00
void evas_object_table_col_row_size_get ( const Evas_Object * o , int * cols , int * rows )
2016-02-02 04:11:33 -08:00
# TODO: Not needed?: Eina_Iterator *evas_object_table_iterator_new(const Evas_Object *o)
# TODO: Not needed?: Eina_Accessor *evas_object_table_accessor_new(const Evas_Object *o)
2014-04-04 17:13:15 -07:00
Eina_List * evas_object_table_children_get ( const Evas_Object * o )
Evas_Object * evas_object_table_child_get ( const Evas_Object * o , unsigned short col , unsigned short row )
2013-04-13 15:53:21 -07:00
2013-04-13 18:37:08 -07:00
####################################################################
# Grid
#
Evas_Object * evas_object_grid_add ( Evas * evas )
Evas_Object * evas_object_grid_add_to ( Evas_Object * parent )
void evas_object_grid_size_set ( Evas_Object * o , int w , int h )
2014-04-04 17:13:15 -07:00
void evas_object_grid_size_get ( const Evas_Object * o , int * w , int * h )
2013-04-13 18:37:08 -07:00
void evas_object_grid_mirrored_set ( Evas_Object * o , Eina_Bool mirrored )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_grid_mirrored_get ( const Evas_Object * o )
2013-04-13 18:37:08 -07:00
Eina_Bool evas_object_grid_pack ( Evas_Object * o , Evas_Object * child , int x , int y , int w , int h )
Eina_Bool evas_object_grid_unpack ( Evas_Object * o , Evas_Object * child )
void evas_object_grid_clear ( Evas_Object * o , Eina_Bool clear )
2014-04-04 17:13:15 -07:00
Eina_Bool evas_object_grid_pack_get ( const Evas_Object * o , Evas_Object * child , int * x , int * y , int * w , int * h )
2016-02-02 04:11:33 -08:00
# TODO: Is this needed? Eina_Iterator *evas_object_grid_iterator_new(const Evas_Object *o)
# TODO: Is this needed? Eina_Accessor *evas_object_grid_accessor_new(const Evas_Object *o)
2014-04-04 17:13:15 -07:00
Eina_List * evas_object_grid_children_get ( const Evas_Object * o )
2013-04-13 18:37:08 -07:00
2013-04-07 16:11:50 -07:00
2013-02-14 12:54:53 -08:00
####################################################################
# Python classes
#
cdef class Rect :
2015-03-01 19:22:57 -08:00
cdef public int x0 , y0 , x1 , y1 , cx , cy , _w , _h
2013-02-14 12:54:53 -08:00
cdef class Canvas ( Eo ) :
2013-11-07 01:35:03 -08:00
cdef list _event_callbacks
2013-02-14 12:54:53 -08:00
2013-04-07 05:34:07 -07:00
cdef class Map ( object ) :
cdef Evas_Map *map
2013-11-04 17:09:44 -08:00
2013-02-14 12:54:53 -08:00
cdef class Object ( Eo ) :
2013-11-07 01:35:03 -08:00
cdef list _event_callbacks
2013-12-04 03:12:48 -08:00
cdef int _set_properties_from_keyword_args ( self , dict ) except 0
2013-02-14 12:54:53 -08:00
cdef class Rectangle ( Object ) :
pass
cdef class Line ( Object ) :
pass
cdef class Image ( Object ) :
2013-11-04 17:09:44 -08:00
pass
2013-02-14 12:54:53 -08:00
cdef class FilledImage ( Image ) :
pass
cdef class Polygon ( Object ) :
pass
cdef class Text ( Object ) :
pass
cdef class Textblock ( Object ) :
pass
2015-03-11 06:37:06 -07:00
# cdef extern from *:
# ctypedef object(*Smart_Conv_Func)(void *)
2015-03-12 09:22:46 -07:00
cdef class Smart :
2015-03-13 10:21:36 -07:00
cdef :
Evas_Smart * cls
const Evas_Smart_Class * cls_def
@staticmethod
cdef inline create ( Evas_Smart * cls ) :
cdef Smart ret = Smart . __new__ ( Smart )
ret . cls = cls
ret . cls_def = evas_smart_class_get ( cls )
return ret
2015-03-11 06:37:06 -07:00
2015-03-05 10:21:45 -08:00
cdef class SmartObject ( Object ) :
2015-03-11 02:36:50 -07:00
cdef :
2015-03-13 10:21:36 -07:00
Smart _smart
2015-03-11 13:13:00 -07:00
dict _smart_callback_specs
2015-03-11 02:36:50 -07:00
int _set_obj ( self , cEo * obj ) except 0
2015-03-11 06:37:06 -07:00
int _callback_add_full ( self , event , object ( * ) ( void * ) , func , tuple args , dict kargs ) except 0
int _callback_del_full ( self , event , object ( * ) ( void * ) , func ) except 0
2015-03-11 02:36:50 -07:00
int _callback_add ( self , event , func , args , kargs ) except 0
int _callback_del ( self , event , func ) except 0
2015-03-05 10:21:45 -08:00
cdef class ClippedSmartObject ( SmartObject ) :
cdef readonly Rectangle clipper
2013-02-14 12:54:53 -08:00
cdef class EventPoint :
cdef Evas_Point *obj
cdef void _set_obj ( self , Evas_Point * obj )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventCoordPoint :
cdef Evas_Coord_Point *obj
cdef void _set_obj ( self , Evas_Coord_Point * obj )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventPrecisionPoint :
cdef Evas_Coord_Precision_Point *obj
cdef void _set_obj ( self , Evas_Coord_Precision_Point * obj )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventPosition :
cdef readonly EventPoint output
cdef readonly EventCoordPoint canvas
cdef void _set_objs ( self , Evas_Point * output , Evas_Coord_Point * canvas )
cdef void _unset_objs ( self )
cdef class EventPrecisionPosition :
cdef readonly EventPoint output
cdef readonly EventPrecisionPoint canvas
cdef void _set_objs ( self , Evas_Point * output , Evas_Coord_Precision_Point * canvas )
cdef void _unset_objs ( self )
cdef class EventMouseIn :
cdef Evas_Event_Mouse_In *obj
cdef readonly EventPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMouseOut :
cdef Evas_Event_Mouse_Out *obj
cdef readonly EventPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMouseDown :
cdef Evas_Event_Mouse_Down *obj
cdef readonly EventPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMouseUp :
cdef Evas_Event_Mouse_Up *obj
cdef readonly EventPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMouseMove :
cdef Evas_Event_Mouse_Move *obj
cdef readonly EventPosition position
cdef readonly EventPosition prev_position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMultiDown :
cdef Evas_Event_Multi_Down *obj
cdef readonly EventPrecisionPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMultiUp :
cdef Evas_Event_Multi_Up *obj
cdef readonly EventPrecisionPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMultiMove :
cdef Evas_Event_Multi_Move *obj
cdef readonly EventPrecisionPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventMouseWheel :
cdef Evas_Event_Mouse_Wheel *obj
cdef readonly EventPosition position
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventKeyDown :
cdef Evas_Event_Key_Down *obj
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventKeyUp :
cdef Evas_Event_Key_Up *obj
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0
2013-02-14 12:54:53 -08:00
cdef class EventHold :
cdef Evas_Event_Hold *obj
cdef void _set_obj ( self , void * ptr )
cdef void _unset_obj ( self )
2013-11-09 22:47:21 -08:00
cdef int _check_validity ( self ) except 0