blob: b0539a28a5f2d17a45d092f548c6e64abe4fb961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/elm/elm_object'
require 'efl/native/elm/elm_box'
#
module Efl
#
module Elm
#
class ElmBox < ElmObject
#
include Helper
constructor :elm_box_add
search_prefixes 'elm_box_'
#
def padding_get
x = FFI::MemoryPointer.new :int
y = FFI::MemoryPointer.new :int
Native::elm_box_padding_get @ptr, x, y
[ x.read_int, y.read_int ]
end
alias :padding :padding_get
#
def align_get
x = FFI::MemoryPointer.new :float
y = FFI::MemoryPointer.new :float
Native::elm_box_align_get @ptr, x, y
[ x.read_float, y.read_float ]
end
alias :align :padding_get
#
def children_get
Efl::EinaList::REinaList.new Native.elm_box_children_get @ptr
end
alias :children :children_get
end
#
end
end
#
# EOF
|