Module: Efl::Elm
- Defined in:
- lib/efl/elementary.rb,
lib/efl/elm/elm_bg.rb,
lib/efl/elm/elm_box.rb,
lib/efl/elm/elm_cnp.rb,
lib/efl/elm/elm_web.rb,
lib/efl/elm/elm_win.rb,
lib/efl/elm/elm_flip.rb,
lib/efl/elm/elm_grid.rb,
lib/efl/elm/elm_icon.rb,
lib/efl/elm/elm_list.rb,
lib/efl/elm/elm_menu.rb,
lib/efl/elm/elm_plug.rb,
lib/efl/elm/elm_check.rb,
lib/efl/elm/elm_clock.rb,
lib/efl/elm/elm_debug.rb,
lib/efl/elm/elm_entry.rb,
lib/efl/elm/elm_focus.rb,
lib/efl/elm/elm_frame.rb,
lib/efl/elm/elm_hover.rb,
lib/efl/elm/elm_image.rb,
lib/efl/elm/elm_index.rb,
lib/efl/elm/elm_inwin.rb,
lib/efl/elm/elm_label.rb,
lib/efl/elm/elm_panel.rb,
lib/efl/elm/elm_panes.rb,
lib/efl/elm/elm_photo.rb,
lib/efl/elm/elm_popup.rb,
lib/efl/elm/elm_radio.rb,
lib/efl/elm/elm_scale.rb,
lib/efl/elm/elm_store.rb,
lib/efl/elm/elm_table.rb,
lib/efl/elm/elm_theme.rb,
lib/efl/elm/elm_thumb.rb,
lib/efl/elm/elm_video.rb,
lib/efl/elm/elm_bubble.rb,
lib/efl/elm/elm_button.rb,
lib/efl/elm/elm_cursor.rb,
lib/efl/elm/elm_glview.rb,
lib/efl/elm/elm_layout.rb,
lib/efl/elm/elm_mapbuf.rb,
lib/efl/elm/elm_notify.rb,
lib/efl/elm/elm_object.rb,
lib/efl/elm/elm_scroll.rb,
lib/efl/elm/elm_slider.rb,
lib/efl/elm/elm_conform.rb,
lib/efl/elm/elm_gengrid.rb,
lib/efl/elm/elm_genlist.rb,
lib/efl/elm/elm_spinner.rb,
lib/efl/elm/elm_toolbar.rb,
lib/efl/elm/elm_tooltip.rb,
lib/efl/elm/elm_transit.rb,
lib/efl/elm/elm_calendar.rb,
lib/efl/elm/elm_ctxpopup.rb,
lib/efl/elm/elm_datetime.rb,
lib/efl/elm/elm_hoversel.rb,
lib/efl/elm/elm_photocam.rb,
lib/efl/elm/elm_scroller.rb,
lib/efl/elm/elm_mirroring.rb,
lib/efl/elm/elm_naviframe.rb,
lib/efl/elm/elm_separator.rb,
lib/efl/elm/elm_slideshow.rb,
lib/efl/native/elementary.rb,
lib/efl/elm/elm_dayselector.rb,
lib/efl/elm/elm_object_item.rb,
lib/efl/elm/elm_progressbar.rb,
lib/efl/elm/elm_actionslider.rb,
lib/efl/elm/elm_diskselector.rb,
lib/efl/elm/elm_fileselector.rb,
lib/efl/elm/elm_flipselector.rb,
lib/efl/elm/elm_colorselector.rb,
lib/efl/elm/elm_gesture_layer.rb,
lib/efl/native/elm/elm_general.rb,
lib/efl/elm/elm_segment_control.rb,
lib/efl/elm/elm_multibuttonentry.rb,
lib/efl/elm/elm_fileselector_entry.rb,
lib/efl/elm/elm_fileselector_button.rb
Defined Under Namespace
Modules: Helper
Classes: ElmActionSlider, ElmBg, ElmBox, ElmBubble, ElmButton, ElmCalendar, ElmCheck, ElmClock, ElmColorSelector, ElmConform, ElmCtxPopup, ElmCursor, ElmDatetime, ElmDaySelector, ElmDiskSelector, ElmEntry, ElmFileSelector, ElmFileSelectorButton, ElmFileSelectorEntry, ElmFlip, ElmFlipSelector, ElmFrame, ElmGLView, ElmGenGrid, ElmGenList, ElmGestureLayer, ElmGrid, ElmHover, ElmIcon, ElmImage, ElmIndex, ElmInwin, ElmLabel, ElmLayout, ElmList, ElmMapBuf, ElmMenu, ElmMirroring, ElmMultiButtonEntry, ElmNaviFrame, ElmNotify, ElmObject, ElmObjectItem, ElmPanel, ElmPanes, ElmPhoto, ElmPhotoCam, ElmPlayer, ElmPlug, ElmPopup, ElmProgressBar, ElmRadio, ElmScale, ElmScroller, ElmSeparator, ElmSlider, ElmSlideshow, ElmSpinner, ElmStore, ElmTable, ElmTheme, ElmThumb, ElmToolbar, ElmTooltip, ElmTransit, ElmTransitEffect, ElmVideo, ElmWeb, ElmWin
Class Method Summary
collapse
Class Method Details
.init(*args) ⇒ Object
16
17
18
19
20
21
22
23
24
|
# File 'lib/efl/elementary.rb', line 16
def init *args
a = args.select { |e| e.is_a? String }
a << __FILE__ if a.length==0
ptr = FFI::MemoryPointer.new :pointer, a.length
a.each_with_index do |s,i|
ptr[i].write_pointer FFI::MemoryPointer.from_string(s)
end
Native.elm_init a.length, ptr
end
|
.method_missing(meth, *args, &block) ⇒ Object
14
15
16
17
|
# File 'lib/efl/native/elementary.rb', line 14
def self.method_missing meth, *args, &block
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
self.send sym, *args, &block
end
|