module Iup::DynamicFillMethods
Methods for containers where the child elements can be added after construction.
Public Instance Methods
Source
# File lib/wrapped/dynamic-fill-methods.rb, line 9 def append child IupLib.IupAppend(@handle, child.handle) end
Inserts an element at the end of the container, after the last element of the container.
Source
# File lib/wrapped/dynamic-fill-methods.rb, line 14 def insert(ref_child, new_child) if ref_child.nil? IupLib.IupInsert(@handle, nil, new_child.handle) else IupLib.IupInsert(@handle, ref_child.handle, new_child.handle) end end
Inserts an element before another child of the container.