diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-12-23 11:28:56 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-12-23 11:28:56 +0100 |
commit | ed739fcb3e6ca232b0a0a2b2e961c5c4c31eeddf (patch) | |
tree | 81e722bd156bba8845b71c65b8f10721289acbcb /lib | |
parent | a38f18e1c4d42688024c203a47a1f555c829e0b5 (diff) | |
download | ffi-efl-ed739fcb3e6ca232b0a0a2b2e961c5c4c31eeddf.zip ffi-efl-ed739fcb3e6ca232b0a0a2b2e961c5c4c31eeddf.tar.gz |
lib/efl/elementary: _text_part_=>_part_text_ and _content_part_=>_part_content_
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efl/elementary.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb index f62585f..8970b28 100644 --- a/lib/efl/elementary.rb +++ b/lib/efl/elementary.rb @@ -63,27 +63,27 @@ module Efl end # def text_set label - Native.elm_object_text_part_set @ptr, nil, label + Native.elm_object_part_text_set @ptr, nil, label end alias :text= :text_set # def text_get - Native.elm_object_text_part_get @ptr, nil + Native.elm_object_part_text_get @ptr, nil end alias :text :text_get # def content_set content - Native.elm_object_content_part_set @ptr, nil, content + Native.elm_object_part_content_set @ptr, nil, content end alias :content= :content_set # def content_get - Native.elm_object_content_part_get @ptr, nil + Native.elm_object_part_content_get @ptr, nil end alias :content :content_get # def content_unset - Native.elm_object_content_part_unset @ptr, nil + Native.elm_object_part_content_unset @ptr, nil end # def parent_widget_get @@ -107,9 +107,9 @@ module Efl # def texts_set l=nil, c=nil, r=nil l,c,r = *l if l.is_a? Array - Native.elm_object_text_part_set @ptr, "left", l - Native.elm_object_text_part_set @ptr, "center", c - Native.elm_object_text_part_set @ptr, "right", r + Native.elm_object_part_text_set @ptr, "left", l + Native.elm_object_part_text_set @ptr, "center", c + Native.elm_object_part_text_set @ptr, "right", r end alias :texts= :texts_set def indicator_set str |