iup.e documentation
IUP itself is very well documented, therefore, this page is not to document Iup all over again. Please refer to the main Iup docs located at: http://www.tecgraf.puc-rio.br/iup/ as your main Iup reference. This resource is to let the Euphoria programmer know what has been wrapped and any required changes from the Iup C interface.
Functions Wrapped
Note: IupEu is a work in progress. If the function is not listed here yet, it is not wrapped.
System
- IupOpen? – Wrapped
- IupClose? – Wrapped
- IupVersion? – Wrapped
- IupSetLanguage? – Wrapped
- IupGetLanguage? – Wrapped
Attributes
- IupStoreAttribute? – Wrapped
- IupSetAttribute? – Wrapped
- IupSetfAttribute? – Wrapped, not directly though. This method uses the Euphoria function
sprintf and is called similar to it’s C variant. Example: IupSetfAttribute?(myLabel, “TITLE”, “Name: %s, Age: %d”, {“John”, 35}) - IupSetAttributes? – Wrapped
- IupGetAttribute? – Wrapped
- IupSetAttributeHandle? – Wrapped
- IupGetAttributeHandle? – Wrapped
- IupGetAllAttributes? – Not yet wrapped
- IupGetAttributes? – Wrapped
- IupGetFloat? – Wrapped
- IupGetInt? – Wrapped
- IupStoreGlobal? – Wrapped
- IupSetGlobal? – Wrapped
- IupGetGlobal? – Wrapped
Events
- IupMainLoop? – Wrapped
- IupLoopStep? – Wrapped
- IupExitLoop? – Wrapped
- IupFlush? – Wrapped
- IupSetCallback? – Wrapped
- IupGetCallback? – Wrapped
- IupGetActionName? – Wrapped
- IupGetFunction? – Not wrapped, marked as deprecated in Iup. Use
IupGetCallback? instead. - IupSetFunction? – Not wrapped, marked as deprecated in Iup. Use
IupSetCallback? instead.
Layout
Composition
- IupFill? – Wrapped
- IupHbox? – Wrapped, Change: You do not pass multiple arguments, instead you pass a sequence of handles. For instance, in C you would:
IupHbox?(aHandle1, aHandle2, aHandle3) but in Euphoria, you would: IupHbox?({aHandle1, aHandle2, aHandle3}). - IupVbox? – Wrapped, Change: See note for
IupHbox? - IupZbox? – Wrapped
- IupRadio? – Wrapped
- IupCbox? – Wrapped
- IupSbox? – Wrapped
Hierarchy
- IupCreate? – Wrapped
- IupCreatev? – Not yet wrapped
- IupCreatep? – Not wrapped, use
IupCreate? or IupCreatev? - IupDestroy? – Wrapped
- IupAppend? – Wrapped, Change: You do not pass multiple arguments to append, instead you pass a sequence of handles. For instance, in C you would:
IupAppend?(aAppendTo, aAppend1, aAppend2, aAppend3) but in Euphoria, you would: IupAppend?(aAppendTo, {aAppend1, aAppend2, aAppend3}). - IupDetach? – Wrapped
- IupMap? – Wrapped
- IupUnmap? – Wrapped
- IupReparent? – Wrapped
Display
- IupRefresh? – Wrapped
- IupUpdate? – Wrapped
Dialogs
Reference
- IupDialog? – Wrapped
- IupPopup? – Wrapped
- IupShow? – Wrapped
- IupShowXY? – Wrapped
- IupHide? – Wrapped
Predefined
- IupFileDlg? – Wrapped
- IupMessageDlg? – Wrapped – CVS Iup only (3.x)
- IupColorDlg? – Wrapped – CVS Iup only (3.x)
- IupFontDlg? – Wrapped – CVS Iup only (3.x)
- IupAlarm? – Wrapped
- IupGetFile? – Wrapped
- IupGetText? – Wrapped, Note: “initialText” must contain enough room for return value, so…
text = repeat(0,1024) is advisable. - IupListDialog? – Wrapped, Change: Signature is:
IupListDialog?(integer typ, sequence title, sequence options, integer selected, integer maxColumns, integer maxLines, sequence marked). Also return value has changed: returns 0 on cancel and 1 for 1st item, 2 for 2nd item, etc whereas the C version is -1 on error and zero based index (0 for 1st item, 1 for 2nd item, etc…) - IupMessage? – Wrapped
- IupScanf? – Not yet wrapped – C va_arg function, howto?
- IupGetColor? – Wrapped, See iupcontrols.e
- IupGetParam? – Not yet wrapped – C va_arg function, howto?
Controls
Standard
- IupButton? – Wrapped
- IupCanvas? – Wrapped
- IupFrame? – Wrapped
- IupLabel? – Wrapped
- IupList? – Wrapped
- IupMultiLine? – Wrapped
- IupSpin? – Wrapped
- IupText? – Wrapped
- IupToggle? – Wrapped
Additional
See iupcontrols.e for additional controls
Keyboard
- IupNextField? – Wrapped
- IupPreviousField? – Wrapped
- IupGetFocus? – Wrapped
- IupSetFocus? – Wrapped
Resources
Menus
- IupItem? – Wrapped
- IupMenu? – Wrapped
- IupSeparator? – Wrapped
- IupSubmenu? – Wrapped
Images
- IupImage? – Wrapped
- IupImageRGB? – Wrapped
- IupImageRGBA? – Wrapped
- IupImageLibOpen? – Wrapped, See iupimage.e
- IupImageLibClose? – Wrapped, See iupimage.e
- IupLoadImage? – Wrapped, See iupim.e
- IupSaveImage? – Wrapped, See iupim.e
Names
- IupSetHandle? – Wrapped
- IupGetHandle? – Wrapped
- IupGetName? – Wrapped
- IupGetAllNames? – Wrapped
- IupGetAllDialogs? – Wrapped
Fonts
- IupMapFont? – Not wrapped, marked as deprecated in Iup. Use
FONT attribute instead. - IupUnMapFont? – Not wrapped, marked as deprecated in Iup. Use
FONT attribute instead.
Miscellaneous
- IupTimer? – Wrapped
- IupUser? – Wrapped
- IupGetClassName? – Wrapped
- IupGetClassType? – Wrapped
- IupGetHelp? – Wrapped
Mask
See Also
IupEu, iupcontrols.e, iupimage.e, iupim.e, iupeu.e, [[iupeucontrols.e?]]