class Iup::BackgroundBox
Contains a child widget, but itself provides no visible decorations. Its intended use is within a ZBox or ExpanderBox.
Attributes
returns current offset of box in its client as “widthxheight”.
returns current size of box as “widthxheight”.
Allows box to fill available space in indicated direction. Values ‘no’ / ‘horizontal’ / ‘vertical’ / ‘yes’.
Public Class Methods
Source
# File lib/wrapped/background-box.rb, line 14 def initialize widget @handle = IupLib.IupBackgroundBox(widget.handle) # run any provided block on instance, to set up further attributes yield self if block_given? end
Creates an instance of the background box. If a block is given, the new instance is yielded to it.
-
widget- the child widget to contain