Module: Efl::EcoreEvas

Defined in:
lib/efl/ecore_evas.rb,
lib/efl/native/ecore_evas.rb

Defined Under Namespace

Classes: REcoreEvas

Class Method Summary (collapse)

Class Method Details

+ (Object) ecore_evas_list



10
11
12
# File 'lib/efl/ecore_evas.rb', line 10

def self.ecore_evas_list
    EinaList::REinaList.new Native.ecore_evas_ecore_evas_list_get
end

+ (Object) engines_list



13
14
15
# File 'lib/efl/ecore_evas.rb', line 13

def self.engines_list
    EinaList::REinaList.new Native.ecore_evas_engines_get
end

+ (Object) method_missing(m, *args, &block)



10
11
12
13
14
15
# File 'lib/efl/native/ecore_evas.rb', line 10

def self.method_missing m, *args, &block
    sym = 'ecore_evas_'+m.to_s
    raise NameError.new "#{self.name}.#{sym} (#{m})" if not Efl::Native.respond_to? sym
    self.module_eval "def self.#{m} *args, █ r=Efl::Native.#{sym}(*args); yield r if block_given?; r; end"
    self.send m, *args, &block
end