diff options
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r-- | lib/efl/evas.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb index d18cec8..bc4b0e4 100644 --- a/lib/efl/evas.rb +++ b/lib/efl/evas.rb @@ -83,6 +83,7 @@ module Efl Native.evas_output_size_get @ptr, x, y [ x.read_int, y.read_int ] end + alias :output_size :output_size_get alias :size :output_size_get def output_viewport_get x = FFI::MemoryPointer.new :int @@ -92,6 +93,7 @@ module Efl Native.evas_output_viewport_get @ptr, x, y, w, h [ x.read_int, y.read_int, w.read_int, h.read_int ] end + alias :output_viewport :output_viewport_get alias :viewport :output_viewport_get def pointer_output_xy_get x = FFI::MemoryPointer.new :int @@ -135,6 +137,9 @@ module Efl REvasObject.release @ptr @ptr=nil end + def name + Native.evas_object_name_get @ptr + end def geometry_get x = FFI::MemoryPointer.new :int y = FFI::MemoryPointer.new :int |