summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:41:26 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:41:26 +0100
commit1ba383336298faea6562ace82132ba1321203179 (patch)
tree7df190ff566e45a32d93944c8923adb571420acd /lib/efl/elm
parentd91b9c4689573bf64750c57089ad3711d4389cd7 (diff)
downloadffi-efl-1ba383336298faea6562ace82132ba1321203179.zip
ffi-efl-1ba383336298faea6562ace82132ba1321203179.tar.gz
elm_layout: elm_layout_edje_get return a REdje object
Diffstat (limited to 'lib/efl/elm')
-rw-r--r--lib/efl/elm/elm_layout.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_layout.rb b/lib/efl/elm/elm_layout.rb
index a1eb99f..1eaeeef 100644
--- a/lib/efl/elm/elm_layout.rb
+++ b/lib/efl/elm/elm_layout.rb
@@ -14,6 +14,10 @@ module Efl
constructor :elm_layout_add
search_prefixes 'elm_layout_'
#
+ def edje_get &block
+ Efl::Edje::REdje.new Native.method(:elm_layout_edje_get), @ptr, &block
+ end
+ alias :edje :edje_get
end
#
end