Class: Iup::Fill

Inherits:
Widget show all
Defined in:
lib/wrapped/fill.rb

Overview

Dynamically fills empty space. Its parent must be an HBox or VBox.

Attributes

expand

read-only, ‘horizontal’ if in an HBox, or ‘vertical’ if in a VBox.

position

read-only returns position in pixels within client window as “x,y”.

rastersize

Size of the widget, in pixels, value as “widthxheight”.

Instance Attribute Summary

Attributes inherited from Widget

#handle

Instance Method Summary collapse

Methods inherited from Widget

#assign_handle, #enterwindow_cb, #getfocus_cb, #help_cb, #k_any, #killfocus_cb, #leavewindow_cb, #map_cb, #open_controls, #unmap_cb

Methods included from AttributeBuilders

#define_attribute, #define_id_attribute, #define_id_readonly, #define_id_writeonly, #define_property_attribute, #define_property_writeonly, #define_readonly, #define_writeonly

Methods included from CallbackSetter

#define_callback

Constructor Details

#initializeFill

Creates an instance of Fill. Note that attributes must be set separately, not through a block.



17
18
19
# File 'lib/wrapped/fill.rb', line 17

def initialize
  @handle = IupLib.IupFill
end