summaryrefslogtreecommitdiffstats
path: root/lib/efl/elementary.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-22 11:29:51 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-22 11:29:51 +0200
commitf2f954240ac99484c09eca06a35aba2c1c063357 (patch)
treec2f14ca2cec279057e55f7029e2a173b066acf3f /lib/efl/elementary.rb
parent9b880211b0b1776972be0a80b676ca968cedc5a3 (diff)
downloadffi-efl-f2f954240ac99484c09eca06a35aba2c1c063357.zip
ffi-efl-f2f954240ac99484c09eca06a35aba2c1c063357.tar.gz
elementary: rename ElmObject#content_* into #obj_content_*
Diffstat (limited to 'lib/efl/elementary.rb')
-rw-r--r--lib/efl/elementary.rb37
1 files changed, 5 insertions, 32 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb
index 4eb708b..8491613 100644
--- a/lib/efl/elementary.rb
+++ b/lib/efl/elementary.rb
@@ -72,17 +72,17 @@ module Efl
end
alias :text :text_get
#
- def content_set content
+ def obj_content_set content
Native.elm_object_content_part_set @ptr, nil, content
end
- alias :content= :content_set
+ alias :obj_content= :obj_content_set
#
- def content_get
+ def obj_content_get
Native.elm_object_content_part_get @ptr, nil
end
- alias :content :content_get
+ alias :obj_content :obj_content_get
#
- def content_unset
+ def obj_content_unset
Native.elm_object_content_part_unset @ptr, nil
end
#
@@ -455,19 +455,6 @@ module Efl
super Native.method(:elm_win_inwin_add), parent, &block
end
#
- def content_set content
- Native.elm_win_inwin_content_set @ptr, content
- end
- alias :content= :content_set
- #
- def content_get
- Native.elm_win_inwin_content_get @ptr
- end
- alias :content :content_get
- #
- def content_unset
- Native.elm_win_inwin_content_unset @ptr
- end
end
#
class ElmLabel < ElmObject
@@ -565,20 +552,6 @@ module Efl
constructor :elm_panel_add
search_prefixes 'elm_panel_'
#
- #
- def content_set content
- Native.elm_panel_content_set @ptr, content
- end
- alias :content= :content_set
- #
- def content_get
- Native.elm_panel_content_get @ptr
- end
- alias :content :content_get
- #
- def content_unset
- Native.elm_panel_content_unset @ptr
- end
end
#
class ElmPanes < ElmObject