Module: Shoes::Common::Attachable

Included in:
UIElement
Defined in:
shoes-core/lib/shoes/common/attachable.rb

Instance Method Summary collapse

Instance Method Details

#attached_toObject



6
7
8
9
10
# File 'shoes-core/lib/shoes/common/attachable.rb', line 6

def attached_to
  target = style[:attach]
  target = @app.top_slot if target == Shoes::Window
  target
end