Class: Efl::Evas::REvasBox

Inherits:
REvasObject show all
Defined in:
lib/efl/evas.rb

Instance Method Summary collapse

Methods inherited from REvasObject

#above_get, #below_get, #center_get, #center_set, #color_get, #data_get, #ecore_evas_get, #evas_get, #evas_name, #evas_type, #free, #geometry_get, #initialize, #object_box_add, release, #size, #size=, #size_hint_align_get, #size_hint_align_set_fill, #size_hint_aspect_get, #size_hint_max_get, #size_hint_min_get, #size_hint_padding_get, #size_hint_request_get, #size_hint_weight_get, #size_hint_weight_set_expand, #size_hint_weight_set_expand_fill

Methods included from ClassHelper

#===, #address, included, #method_missing, #null?, #to_a, #to_ary, #to_ptr, #to_s

Constructor Details

This class inherits a constructor from Efl::Evas::REvasObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Efl::ClassHelper

Instance Method Details

#align_getObject Also known as: align


405
406
407
408
409
410
# File 'lib/efl/evas.rb', line 405

def align_get
    @rd0 ||= FFI::MemoryPointer.new :double
    @rd1 ||= FFI::MemoryPointer.new :double
    Native.evas_object_box_align_get @ptr, @rd0, @rd1
    [ @rd0.read_double, @rd1.read_double ]
end

#children_getObject Also known as: children


401
402
403
# File 'lib/efl/evas.rb', line 401

def children_get
    EinaList::REinaList.new Native.evas_object_box_children_get @ptr
end

#padding_getObject Also known as: padding


412
413
414
415
416
417
# File 'lib/efl/evas.rb', line 412

def padding_get
    @ri0 ||= FFI::MemoryPointer.new :int
    @ri1 ||= FFI::MemoryPointer.new :int
    Native.evas_object_box_padding_get @ptr, @ri0, @ri1
    [ @ri0.read_int, @ri1.read_int ]
end