5.6 Layout

5.6.1 Layout/Construction

5.6.1.1 create

include layout.e
public function create(sequence name)

5.6.1.2 destroy

include layout.e
public procedure destroy(common :Ihandle ih)

5.6.1.3 map

include layout.e
public function map(Ihandle ih)

5.6.1.4 unmap

include layout.e
public procedure unmap(Ihandle ih)

5.6.2 Class Information

5.6.2.1 get_all_classes

include layout.e
public function get_all_classes(integer max_n = 128)

Not yet implemented

5.6.2.2 get_class_name

include layout.e
public function get_class_name(Ihandle ih)

5.6.2.3 get_class_type

include layout.e
public function get_class_type(Ihandle ih)

5.6.2.4 get_class_attributes

include layout.e
public function get_class_attributes(sequence classname,
        integer max_n = 128)

5.6.2.5 get_class_callbacks

include layout.e
public function get_class_callbacks(sequence classname,
        integer max_n = 128)

5.6.2.6 save_class_attributes

include layout.e
public procedure save_class_attributes(Ihandle ih)

5.6.2.7 copy_class_attributes

include layout.e
public procedure copy_class_attributes(Ihandle src_ih, Ihandle dst_ih)

5.6.2.8 set_class_default_attribute

include layout.e
public procedure set_class_default_attribute(sequence classname,
        sequence name, sequence value)

5.6.3 Layout/Composition

5.6.3.1 fill

include layout.e
public function fill()

5.6.3.2 hbox

include layout.e
public function hbox(object children, sequence attributes = {})

Horizontal box

Parameters:
  • children - Sequence (or NULL) of children to place into the box
  • attributes - Optional attributes to apply after creation
Notes:

This method varies from IupVbox in that it allows optional attributes to be assigned on creation via the attributes method.

5.6.3.3 vbox

include layout.e
public function vbox(object children, sequence attributes = {})

Vertical box

Parameters:
  • children - Sequence (or NULL) of children to place into the box
  • attributes - Optional attributes to apply after creation
Notes:

This method varies from IupVbox in that it allows optional attributes to be assigned on creation via the attributes method.

5.6.3.4 zbox

include layout.e
public function zbox(object children, sequence attributes = {})

Creates a void container for composing elements in hidden layers with only one layer visible at a time. It is a box that piles up the children it contains, only one child is visible.

Parameters:
  • children - Sequence (or NULL) of children to place into the box
  • attributes - Optional attributes to apply after creation
Notes:

This method varies from IupVbox in that it allows optional attributes to be assigned on creation via the attributes method.

5.6.3.5 radio

include layout.e
public function radio(Ihandle pChild)

5.6.3.6 normalizer

include layout.e
public function normalizer(object children)

5.6.3.7 cbox

include layout.e
public function cbox(object children)

5.6.3.8 sbox

include layout.e
public function sbox(Ihandle pChild)

5.6.3.9 split

include layout.e
public function split(Ihandle child1, Ihandle child2)

5.6.4 Layout/Hierarchy

5.6.4.1 append

include layout.e
public function append(Ihandle ih, object child)

5.6.4.2 detach

include layout.e
public procedure detach(Ihandle ih)

5.6.4.3 insert

include layout.e
public function insert(Ihandle ih, Ihandle ref_child, Ihandle new_child)

5.6.4.4 reparent

include layout.e
public function reparent(Ihandle child, Ihandle new_parent,
        Ihandle ref_child)

5.6.4.5 get_parent

include layout.e
public function get_parent(Ihandle ih)

5.6.4.6 get_child

include layout.e
public function get_child(Ihandle ih, integer pos)

5.6.4.7 get_child_pos

include layout.e
public function get_child_pos(Ihandle ih, Ihandle child)

5.6.4.8 get_child_count

include layout.e
public function get_child_count(Ihandle ih)

5.6.4.9 get_next_child

include layout.e
public function get_next_child(Ihandle ih, Ihandle child)

5.6.4.10 get_brother

include layout.e
public function get_brother(Ihandle ih)

5.6.4.11 get_dialog

include layout.e
public function get_dialog(Ihandle ih)

5.6.4.12 get_dialog_child

include layout.e
public function get_dialog_child(Ihandle ih, sequence name)

5.6.5 Layout Utilities

5.6.5.1 refresh

include layout.e
public procedure refresh(Ihandle ih)

5.6.5.2 refresh_children

include layout.e
public procedure refresh_children(Ihandle ih)

5.6.5.3 update

include layout.e
public procedure update(Ihandle ih)

5.6.5.4 update_children

include layout.e
public procedure update_children(Ihandle ih)

5.6.5.5 redraw

include layout.e
public procedure redraw(Ihandle ih, integer children)

5.6.5.6 convert_xy_to_pos

include layout.e
public function convert_xy_to_pos(Ihandle ih, integer x, integer y)

About EuIup

EuIUP is an easy to use sizer based GUI toolkit boasting native widgets on Windows and Linux (OSX in alpha). Additionally native canvas, OpenGL canvas, advanced image manipulation and multi-touch device support.

Contacts