summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-18 12:19:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-18 12:19:14 +0200
commit6c68b39127f72b90817097cfb002aa160d1b3407 (patch)
treebf677275c0c64f79ebe0d1deef89e3291470c87e
parent6ca43be0b836a82864fdcb2509c3e999a8453f34 (diff)
downloadffi-efl-6c68b39127f72b90817097cfb002aa160d1b3407.zip
ffi-efl-6c68b39127f72b90817097cfb002aa160d1b3407.tar.gz
add missing ElmObject methods aliases
-rw-r--r--lib/efl/elementary.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb
index 403c4e5..649aa50 100644
--- a/lib/efl/elementary.rb
+++ b/lib/efl/elementary.rb
@@ -61,18 +61,22 @@ module Efl
def text_set label
Native.elm_object_text_part_set @ptr, nil, label
end
+ alias :text= :text_set
#
def text_get
Native.elm_object_text_part_get @ptr, nil
end
+ alias :text :text_get
#
def content_set content
Native.elm_object_content_part_set @ptr, nil, content
end
+ alias :content= :content_set
#
def content_get
Native.elm_object_content_part_get @ptr, nil
end
+ alias :content :content_get
#
def content_unset
Native.elm_object_content_part_unset @ptr, nil