summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-19 15:17:47 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-19 15:17:47 +0200
commit25f9447bcc6603bd3f0fd2b523e1061449938735 (patch)
treeb2e040dfcf7ea7c89caf38044719ccd2e95ddbdf /lib
parent80784a05349a01824530606482d0d15db811ce5e (diff)
downloadffi-efl-25f9447bcc6603bd3f0fd2b523e1061449938735.zip
ffi-efl-25f9447bcc6603bd3f0fd2b523e1061449938735.tar.gz
add RevasObject#size_hint_weight_set_expand_fill
Diffstat (limited to 'lib')
-rw-r--r--lib/efl/evas.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb
index 6fc9b3f..aaebc4d 100644
--- a/lib/efl/evas.rb
+++ b/lib/efl/evas.rb
@@ -261,6 +261,10 @@ module Efl
Native.evas_object_size_hint_weight_set @ptr, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
end
alias :size_hint_weight_expand :size_hint_weight_set_expand
+ def size_hint_weight_set_expand_fill
+ Native.evas_object_size_hint_weight_set @ptr, EVAS_HINT_EXPAND, EVAS_HINT_FILL
+ end
+ alias :size_hint_weight_expand_fill :size_hint_weight_set_expand_fill
def size_hint_weight_get
@rd0 ||= FFI::MemoryPointer.new :double
@rd1 ||= FFI::MemoryPointer.new :double