class Iup::SplitBox

A container for two child widgets, with a moveable divider between them.

Note: named IupSplit in Tecgraf’s documentation.

Example

The following code creates a split box between two text areas, with a blue divider oriented horizontally - so the text areas are placed one above the other:

split = Iup::SplitBox.new(text1, text2) do |b|
  b.orientation = 'HORIZONTAL'
  b.color = '127 127 255'
end

Also see: StretchBox