From feb319cf7f627986032e3f70e2f1c35aac645346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 27 Nov 2013 17:12:00 +0100 Subject: add data/03_properties.c --- data/03_properties.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 data/03_properties.c diff --git a/data/03_properties.c b/data/03_properties.c new file mode 100644 index 0000000..3ed9f9b --- /dev/null +++ b/data/03_properties.c @@ -0,0 +1,54 @@ +/* I kept the ';' to help the editors */ + +// C++ unholy comments + +Evas_object { + + /*@ This is the base evas object */ + + inherits { Eo_Base }; + + properties { + + size_hint_max { + params { + Evas_Coord h; /*@ max height */ + Evas_Coord w; /*@ max width */ + }; + set { + /*@ sets the hints for an object's maximum size. */ + return = void; /*@ nothing to say for void */ + legacy { evas_object_size_hint_max_set }; + }; + get { + /*@ gets the hints for an object's maximum size. */ + return = void; + legacy { evas_object_size_hint_max_get }; + }; + }; + + empty_prop { + params { }; + }; + + visible { + params { + const Evas_Object *obj; /*@ */ + }; + get { + /*@ Retrieves whether or not the given Evas object is visible. */ + return = Eina_Bool; /*@ EINA_TRUE if the object is visible, @c EINA_FALSE otherwise. */ + legacy { evas_object_visible_get }; + }; + }; + + below_get { + get { + /*@ Get the Evas object stacked right below the object*/ + return = Evas_Object *; /*@ returns the object below */ + }; + }; + + }; + +}; -- cgit v1.1-2-g2b99