Module: Efl::Native

Extended by:
FFI::Library
Defined in:
lib/efl/evas.rb,
lib/efl/native.rb,
lib/efl/eina_list.rb,
lib/efl/native/eet.rb,
lib/efl/native/eio.rb,
lib/efl/native/edje.rb,
lib/efl/native/eeze.rb,
lib/efl/native/eina.rb,
lib/efl/native/evas.rb,
lib/efl/ecore_getopt.rb,
lib/efl/native/ecore.rb,
lib/efl/native/efreet.rb,
lib/efl/native/embryo.rb,
lib/efl/native/ethumb.rb,
lib/efl/eina_rectangle.rb,
lib/efl/native/emotion.rb,
lib/efl/native/eeze_net.rb,
lib/efl/native/eina_log.rb,
lib/efl/native/eeze_disk.rb,
lib/efl/native/eina_file.rb,
lib/efl/native/eina_hash.rb,
lib/efl/native/eina_list.rb,
lib/efl/native/ecore_evas.rb,
lib/efl/native/efreet_ini.rb,
lib/efl/native/efreet_uri.rb,
lib/efl/native/eina_types.rb,
lib/efl/native/eina_xattr.rb,
lib/efl/native/elementary.rb,
lib/efl/native/elm/elm_bg.rb,
lib/efl/native/ecore_input.rb,
lib/efl/native/efreet_base.rb,
lib/efl/native/efreet_icon.rb,
lib/efl/native/efreet_menu.rb,
lib/efl/native/efreet_mime.rb,
lib/efl/native/elm/elm_app.rb,
lib/efl/native/elm/elm_box.rb,
lib/efl/native/elm/elm_cnp.rb,
lib/efl/native/elm/elm_gen.rb,
lib/efl/native/elm/elm_web.rb,
lib/efl/native/elm/elm_win.rb,
lib/efl/native/ecore_getopt.rb,
lib/efl/native/efreet_trash.rb,
lib/efl/native/efreet_utils.rb,
lib/efl/native/elm/elm_flip.rb,
lib/efl/native/elm/elm_grid.rb,
lib/efl/native/elm/elm_icon.rb,
lib/efl/native/elm/elm_list.rb,
lib/efl/native/elm/elm_menu.rb,
lib/efl/native/elm/elm_need.rb,
lib/efl/native/elm/elm_plug.rb,
lib/efl/native/elm/elm_cache.rb,
lib/efl/native/elm/elm_check.rb,
lib/efl/native/elm/elm_clock.rb,
lib/efl/native/elm/elm_debug.rb,
lib/efl/native/elm/elm_entry.rb,
lib/efl/native/elm/elm_focus.rb,
lib/efl/native/elm/elm_frame.rb,
lib/efl/native/elm/elm_hover.rb,
lib/efl/native/elm/elm_image.rb,
lib/efl/native/elm/elm_index.rb,
lib/efl/native/elm/elm_inwin.rb,
lib/efl/native/elm/elm_label.rb,
lib/efl/native/elm/elm_panel.rb,
lib/efl/native/elm/elm_panes.rb,
lib/efl/native/elm/elm_photo.rb,
lib/efl/native/elm/elm_popup.rb,
lib/efl/native/elm/elm_radio.rb,
lib/efl/native/elm/elm_scale.rb,
lib/efl/native/elm/elm_store.rb,
lib/efl/native/elm/elm_table.rb,
lib/efl/native/elm/elm_theme.rb,
lib/efl/native/elm/elm_thumb.rb,
lib/efl/native/elm/elm_video.rb,
lib/efl/native/ethumb_client.rb,
lib/efl/native/ethumb_plugin.rb,
lib/efl/native/efreet_desktop.rb,
lib/efl/native/elm/elm_bubble.rb,
lib/efl/native/elm/elm_button.rb,
lib/efl/native/elm/elm_config.rb,
lib/efl/native/elm/elm_cursor.rb,
lib/efl/native/elm/elm_finger.rb,
lib/efl/native/elm/elm_glview.rb,
lib/efl/native/elm/elm_layout.rb,
lib/efl/native/elm/elm_mapbuf.rb,
lib/efl/native/elm/elm_notify.rb,
lib/efl/native/elm/elm_object.rb,
lib/efl/native/elm/elm_scroll.rb,
lib/efl/native/elm/elm_slider.rb,
lib/efl/native/elm/elm_conform.rb,
lib/efl/native/elm/elm_general.rb,
lib/efl/native/elm/elm_gengrid.rb,
lib/efl/native/elm/elm_genlist.rb,
lib/efl/native/elm/elm_spinner.rb,
lib/efl/native/elm/elm_toolbar.rb,
lib/efl/native/elm/elm_tooltip.rb,
lib/efl/native/elm/elm_transit.rb,
lib/efl/native/elm/elm_calendar.rb,
lib/efl/native/elm/elm_ctxpopup.rb,
lib/efl/native/elm/elm_datetime.rb,
lib/efl/native/elm/elm_hoversel.rb,
lib/efl/native/elm/elm_photocam.rb,
lib/efl/native/elm/elm_scroller.rb,
lib/efl/native/elm/elm_mirroring.rb,
lib/efl/native/elm/elm_naviframe.rb,
lib/efl/native/elm/elm_separator.rb,
lib/efl/native/elm/elm_slideshow.rb,
lib/efl/native/elm/elm_dayselector.rb,
lib/efl/native/elm/elm_object_item.rb,
lib/efl/native/elm/elm_progressbar.rb,
lib/efl/native/elm/elm_actionslider.rb,
lib/efl/native/elm/elm_diskselector.rb,
lib/efl/native/elm/elm_fileselector.rb,
lib/efl/native/elm/elm_flipselector.rb,
lib/efl/native/elm/elm_colorselector.rb,
lib/efl/native/elm/elm_gesture_layer.rb,
lib/efl/native/elm/elm_segment_control.rb,
lib/efl/native/elm/elm_multibuttonentry.rb,
lib/efl/native/elm/elm_fileselector_entry.rb,
lib/efl/native/elm/elm_fileselector_button.rb

Defined Under Namespace

Classes: EcoreGetopt, EcoreGetoptActionParam, EcoreGetoptDesc, EcoreGetoptDescCallback, EcoreGetoptDescStore, EcoreGetoptDescStoreDef, EcoreGetoptValue, EinaListStruct, EinaRectangleStruct, EngineInfoBufferFuncStruct, EngineInfoBufferInfoStruct, EngineInfoBufferStruct, EngineInfoStruct, VersionStruct

Constant Summary collapse

EVAS_LAYER_MIN =

CONSTANTS

-32768
EVAS_LAYER_MAX =
32767

Class Method Summary collapse

Class Method Details

.attach_fcts(fcts) ⇒ Object



44
45
46
47
48
49
50
51
52
# File 'lib/efl/native.rb', line 44

def self.attach_fcts fcts
    fcts.each do |func|
        begin
            attach_function(*func)
        rescue Object => e
            puts "Could not attach #{func} #{e.message}"
        end
    end
end

.find_variable(name) ⇒ Object



55
56
57
58
59
60
61
# File 'lib/efl/native.rb', line 55

def find_variable name
    ffi_libraries.each do |lib|
        address = lib.find_variable name
        return address if not address.nil?
    end
    return nil
end