Class: Efl::Elm::ElmWin
- Inherits:
-
ElmObject
- Object
- Efl::Evas::REvasObject
- ElmObject
- Efl::Elm::ElmWin
- Defined in:
- lib/efl/elementary.rb
Instance Method Summary collapse
-
#initialize(parent, title, type = :elm_win_basic, &block) ⇒ ElmWin
constructor
A new instance of ElmWin.
- #inwin_add ⇒ Object
- #screen_position_get ⇒ Object (also: #screen_position)
Methods inherited from ElmObject
#obj_content_get, #obj_content_set, #obj_content_unset, #parent_widget_get, #smart_callback_add, #text_get, #text_set
Methods inherited from Efl::Evas::REvasObject
#above_get, #below_get, #center_get, #center_set, #color_get, #data_get, #ecore_evas_get, #evas_get, #evas_name, #evas_type, #free, #geometry_get, #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, #size_hint_weight_set_expand_fill
Methods included from ClassHelper
#===, #address, included, #method_missing, #null?, #to_a, #to_ary, #to_ptr, #to_s
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Efl::ClassHelper
Instance Method Details
#inwin_add ⇒ Object
685 686 687 |
# File 'lib/efl/elementary.rb', line 685 def inwin_add ElmInWin.new @ptr end |
#screen_position_get ⇒ Object Also known as: screen_position
688 689 690 691 692 693 |
# File 'lib/efl/elementary.rb', line 688 def screen_position_get x = FFI::MemoryPointer.new :int y = FFI::MemoryPointer.new :int Native.elm_win_screen_position_get @ptr, x, y [ x.read_int, y.read_int ] end |