summaryrefslogtreecommitdiffstats
path: root/lib/efl
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-06 00:06:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-06 00:06:23 +0200
commitfd0042f60382b8bfd3f1d64c5c9517bbd494bfc8 (patch)
tree9d435a6d458d693d78720aae57eefb188c97920f /lib/efl
parent8425b72b78b08573ed8341d958e17a47c4f8f415 (diff)
downloadffi-efl-fd0042f60382b8bfd3f1d64c5c9517bbd494bfc8.zip
ffi-efl-fd0042f60382b8bfd3f1d64c5c9517bbd494bfc8.tar.gz
edje updates
Diffstat (limited to 'lib/efl')
-rw-r--r--lib/efl/edje.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/efl/edje.rb b/lib/efl/edje.rb
index e5a1033..d2b2e6b 100644
--- a/lib/efl/edje.rb
+++ b/lib/efl/edje.rb
@@ -40,6 +40,16 @@ module Efl
# EAPI Evas_Object *edje_object_part_table_child_get (Evas_Object *obj, const char *part, unsigned int col, unsigned int row);
Evas::RevasObject.new Native.edje_object_part_table_child_get @ptr, part, col, row
end
+ def file_get
+ f = FFI::MemoryPointer.new :pointer
+ g = FFI::MemoryPointer.new :pointer
+ Native.edje_object_file_get @ptr, f, g
+ [ f.read_pointer.read_string, g.read_pointer.read_string ]
+ end
+ def data_get k
+ Native.edje_object_data_get @ptr, k
+ end
+ alias :data :data_get
end
#
end