Class: Efl::Edje::REdje

Inherits:
Efl::Evas::REvasObject show all
Defined in:
lib/efl/edje.rb

Instance Method Summary collapse

Methods inherited from Efl::Evas::REvasObject

#above_get, #below_get, #center_get, #center_set, #color_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

#data_get(k) ⇒ Object Also known as: data



53
54
55
# File 'lib/efl/edje.rb', line 53

def data_get k
    Native.edje_object_data_get @ptr, k
end

#external_content_get(part, content) ⇒ Object



31
32
33
34
# File 'lib/efl/edje.rb', line 31

def external_content_get part, content
    # EAPI Evas_Object *edje_object_part_external_content_get (const Evas_Object *obj, const char *part, const char *content);
    Evas::RevasObject.new Native.edje_object_part_external_content_get @ptr, part, content
end

#external_object_get(part) ⇒ Object



27
28
29
30
# File 'lib/efl/edje.rb', line 27

def external_object_get part
    # EAPI Evas_Object *edje_object_part_external_object_get (const Evas_Object *obj, const char *part);
    Evas::RevasObject.new Native.edje_object_part_external_object_get @ptr, part
end

#file_getObject



47
48
49
50
51
52
# File 'lib/efl/edje.rb', line 47

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

#part_box_remove(part, child) ⇒ Object



35
36
37
38
# File 'lib/efl/edje.rb', line 35

def part_box_remove part, child
    # EAPI Evas_Object *edje_object_part_box_remove (Evas_Object *obj, const char *part, Evas_Object *child);
    Evas::RevasObject.new Native.edje_object_part_box_remove @ptr, part, child
end

#part_box_remove_at(part, pos) ⇒ Object



39
40
41
42
# File 'lib/efl/edje.rb', line 39

def part_box_remove_at part, pos
    # EAPI Evas_Object *edje_object_part_box_remove_at (Evas_Object *obj, const char *part, unsigned int pos);
    Evas::RevasObject.new Native.edje_object_part_box_remove_at @ptr, part, pos
end

#part_object_get(part) ⇒ Object



19
20
21
22
# File 'lib/efl/edje.rb', line 19

def part_object_get part
    # EAPI const Evas_Object *edje_object_part_object_get (const Evas_Object *obj, const char *part);
    Evas::RevasObject.new Native.edje_object_part_object_get @ptr, part
end

#part_swallow_get(part) ⇒ Object



23
24
25
26
# File 'lib/efl/edje.rb', line 23

def part_swallow_get part
    # EAPI Evas_Object *edje_object_part_swallow_get (const Evas_Object *obj, const char *part);
    Evas::RevasObject.new Native.edje_object_part_swallow_get @ptr, part
end

#part_table_child_get(part, col, row) ⇒ Object



43
44
45
46
# File 'lib/efl/edje.rb', line 43

def part_table_child_get part, col, row
    # 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