summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/03_properties.c54
1 files changed, 54 insertions, 0 deletions
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 */
+ };
+ };
+
+ };
+
+};