forked from enlightenment/efl
elm_web: define elm_web_zoom_mode in eolian file elm_web.eo
This commit is contained in:
parent
010c06f5a6
commit
35cef36868
|
@ -18,7 +18,7 @@ class Elm.View_Form (Eo.Base)
|
|||
]]
|
||||
params {
|
||||
@in propname: const(char)*; [[Property name]]
|
||||
@in evas: Evas_Object*; [[Evas widget]]
|
||||
@in evas: Evas.Object *; [[Evas widget]]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ class Elm.View_List (Eo.Base)
|
|||
@since 1.11
|
||||
]]
|
||||
params {
|
||||
@in genlist: Evas_Object*; [[Genlist object]]
|
||||
@in genlist: Evas.Object*; [[Genlist object]]
|
||||
@in item_type: Elm.Genlist.Item.Type; [[Item type]]
|
||||
@in item_style: const(char)*; [[The current item style name. $null would be default.]]
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ class Elm.View_List (Eo.Base)
|
|||
@since 1.11
|
||||
]]
|
||||
params {
|
||||
@out widget: Evas_Object*; [[Returned widget]]
|
||||
@out widget: Evas.Object*; [[Returned widget]]
|
||||
}
|
||||
}
|
||||
property_connect {
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
enum Elm.Web.Zoom_Mode
|
||||
{
|
||||
[[Types of zoom available.]]
|
||||
manual = 0, [[Zoom controlled normally by elm_web_zoom_set]]
|
||||
auto_fit, [[Zoom until content fits in web object]]
|
||||
auto_fill, [[Zoom until content fills web object]]
|
||||
last [[Sentinel value to indicate end]]
|
||||
}
|
||||
|
||||
class Elm.Web (Elm.Widget)
|
||||
{
|
||||
eo_prefix: elm_obj_web;
|
||||
|
@ -143,7 +152,7 @@ class Elm.Web (Elm.Widget)
|
|||
[[Get the currently set zoom mode.]]
|
||||
}
|
||||
values {
|
||||
mode: Elm_Web_Zoom_Mode; [[The mode to set.]]
|
||||
mode: Elm.Web.Zoom_Mode; [[The mode to set.]]
|
||||
}
|
||||
}
|
||||
@property zoom {
|
||||
|
|
|
@ -113,16 +113,6 @@ struct _Elm_Web_Download
|
|||
const char *url;
|
||||
};
|
||||
|
||||
/**
|
||||
* Types of zoom available.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_web_zoom_set */
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
|
||||
ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
|
||||
ELM_WEB_ZOOM_MODE_LAST /**< Sentinel value to indicate end */
|
||||
} Elm_Web_Zoom_Mode;
|
||||
|
||||
/**
|
||||
* Opaque handler containing the features (such as statusbar, menubar, etc)
|
||||
|
|
Loading…
Reference in New Issue