summaryrefslogtreecommitdiffstats
path: root/lib/efl/elementary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/elementary.rb')
-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