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

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

- (Object) align_get Also known as: align



393
394
395
396
397
398
# File 'lib/efl/evas.rb', line 393

def align_get
    h = FFI::MemoryPointer.new :double
    v = FFI::MemoryPointer.new :double
    Native.evas_object_box_align_get @ptr, h, v
    [ h.read_double, v.read_double ]
end

- (Object) children_get Also known as: children



389
390
391
# File 'lib/efl/evas.rb', line 389

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

- (Object) padding_get Also known as: padding



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

def padding_get
    h = FFI::MemoryPointer.new :int
    v = FFI::MemoryPointer.new :int
    Native.evas_object_box_padding_get @ptr, h, v
    [ h.read_int, v.read_int ]
end