In winamp, but also in beep-media-player, you can drag a little
widget like the playlist, and attached it to another widget like
the equalizer. I think this functionanility rocks.
Is this somehow possible in ruby-gtk?
I don’t know winamp, but I assume you want some way of customizing the
UI at run-time by dragging widgets around.
As a starting point take a look at Gtk::HandleBox. With it you can
detach a widget from its original location and it will appear in a
frame which sort of floats above the original app. You can then
reattach it. I believe you are forced to reattach it back to
its original location, so this isn’t exactly what you want.
If this is not enough, it shouldn’t be too hard to code your own
solution, with a bit of drag and drop (see Gtk::Drag) and reparenting
of the dragged widget.