HomePage RecentChanges

iupeu.e

iupeu.e

These are basic helpers for the controls and functions found in iup.e.

Attribute Helpers

IupEuValue(atom handle)

Get the “VALUE” attribute of the given control.

IupEuSetValue(atom handle, sequence value)

Set the “VALUE” attribute of the given control.

Layout

IupEuHbox(sequence controls, sequence attributes)

Create a new IupHbox? and apply the given attributes. This can greatly simplify layouts by freeing you from having to create an atom variable, then the IupHbox?, then use IupSetAttributes? to configure the box. This is all done now with IupEuHbox?.

IupEuVbox(sequence controls, sequence attributes)

Create a new IupVbox? and apply the given attributes.

IupEuHfill(integer size)

Create a new IupFill? control and set it’s size parameter to size.

Controls

IupEuButton(sequence title, integer fCallback)

Create a new IupButton? and set it’s “ACTION” callback to fCallback.

IupEuFrame(atom handle, sequence title)

Create a titled IupFrame?.

IupEuLabel(sequence title, sequence attributes)

Create a new IupLabel? and apply the given attributes.

IupEuText(sequence attributes, object callback)

Create a new IupText? and apply the given attributes. Also set the controls “ACTION” callback, if not NULL.