class CONTAINER
Summary
Class invariant
Overview
creation features
features
  • drawing_widget: POINTER
    Because Windows can not paint on widgets like windows or bitmaps, it needs another object (Device Context) attached to the widget.
default_create
effective procedure
Default creation method.
make_layout (p: CONTAINER, lo: LAYOUT)
effective procedure
container_init
effective procedure
layout: LAYOUT
writable attribute
width: INTEGER_32
writable attribute
height: INTEGER_32
writable attribute
min_width: INTEGER_32
writable attribute
min_height: INTEGER_32
writable attribute
std_width: INTEGER_32
writable attribute
std_height: INTEGER_32
writable attribute
writable attribute
layout_update_paused: BOOLEAN
writable attribute
TODO: suppress.
set_layout (l: LAYOUT)
effective procedure
Change the layout for the container (layout choose children position and size).
layout_pause
effective procedure
TODO: remove when mapped ready
layout_continue
effective procedure
TODO: remove when mapped ready
child_attach (w: WIDGET)
effective procedure
Add widget w in this container.
child_detach (w: WIDGET)
effective procedure
Remove widget w from this container.
has_child (w: WIDGET): BOOLEAN
effective function
last_child: WIDGET
effective function
is_empty: BOOLEAN
effective function
clear_area (x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32)
effective procedure
clear area and emit expose event (contents will be drawn) x and y are relative to current object
clear_without_expose
effective procedure
clear the all the drawable area.
refresh
effective procedure
clear and update entire object (sub_window(s) are not updated).
clear
effective procedure
clear and update entire object (sub_window(s) are not updated).
as_x_root (x: INTEGER_32): INTEGER_32
effective function
as_y_root (y: INTEGER_32): INTEGER_32
effective function
done: BOOLEAN
writable attribute
TODO: suppress.
child_requisition_changed
effective procedure
expose_paint
effective procedure
Apply paint with limited depth to the first window.
set_geometry (x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32)
effective procedure
Warning: do not redraw content if not window subtype
set_requisition (min_w: INTEGER_32, min_h: INTEGER_32, std_w: INTEGER_32, std_h: INTEGER_32)
effective procedure
layout_ready: BOOLEAN
writable attribute
set_parent (p: CONTAINER)
effective procedure
requisition_changed: BOOLEAN
writable attribute
invalidate_layout
effective procedure
computing_size: BOOLEAN
effective function
This is only used for invariant defined in widget.
update_decoration
effective procedure
resize (w: INTEGER_32, h: INTEGER_32)
effective procedure
Warning: do not redraw content if not window subtype
dispatch
effective procedure
Should be called only from set_geometry and set_requisition.
basic_window_clear_area (window: POINTER, x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32)
TODO: invalid for pixmap.
basic_window_clear_area_no_expose (window: POINTER, x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32)
TODO: invalid for pixmap.
drawing_widget: POINTER
writable attribute
Because Windows can not paint on widgets like windows or bitmaps, it needs another object (Device Context) attached to the widget.
parent: CONTAINER
writable attribute
pos_x: INTEGER_32
writable attribute
pos_y: INTEGER_32
writable attribute
x_shrink_allowed: BOOLEAN
writable attribute
x_expand_allowed: BOOLEAN
writable attribute
y_shrink_allowed: BOOLEAN
writable attribute
y_expand_allowed: BOOLEAN
writable attribute
valid_width (w: INTEGER_32): BOOLEAN
effective function
valid_height (h: INTEGER_32): BOOLEAN
effective function
area: RECT
effective function
root_area: RECT
effective function
set_x_shrink (b: BOOLEAN)
effective procedure
set_x_expand (b: BOOLEAN)
effective procedure
set_y_shrink (b: BOOLEAN)
effective procedure
set_y_expand (b: BOOLEAN)
effective procedure
set_shrink (b: BOOLEAN)
effective procedure
change both x and y shrink state
set_expand (b: BOOLEAN)
effective procedure
change both x and y expand state
state: INTEGER_32
writable attribute
use values from STATE_CONSTANTS
is_state_normal: BOOLEAN
frozen
effective function
is_state_active: BOOLEAN
frozen
effective function
is_state_prelight: BOOLEAN
frozen
effective function
is_state_selected: BOOLEAN
frozen
effective function
is_state_insensitive: BOOLEAN
frozen
effective function
set_state_normal
frozen
effective procedure
set_state_active
frozen
effective procedure
set_state_prelight
frozen
effective procedure
set_state_selected
frozen
effective procedure
set_state_insensitive
frozen
effective procedure
set_state (n: INTEGER_32)
effective procedure
renderer: RENDERER
once function
state_normal: INTEGER_32
constant attribute
state_active: INTEGER_32
constant attribute
state_prelight: INTEGER_32
constant attribute
state_selected: INTEGER_32
constant attribute
state_insensitive: INTEGER_32
constant attribute
hash_code: INTEGER_32
deferred function
The hash-code value of Current.
is_equal (other: CONTAINER): BOOLEAN
deferred function
Is other attached to an object considered equal to current object?
widget: POINTER
writable attribute
widget identifier from the native graphic API.