NAME
IUP::User - [special] user element which is not associated to any interface element
DESCRIPTION
Creates a user element in IUP, which is not associated to any interface element. It is used to map an external element to a IUP element. Its use is usually done by CPI elements, but you can use it to create an Ihandle* to store private attributes.
USAGE
CREATION - new() method
$user = IUP::User->new();
Returns: the identifier of the created element, or undef
if an error occurs.
NOTE: You can pass to new()
other ATTRIBUTE=>'value'
or CALLBACKNAME=>\&func
pairs relevant to this element - see IUP::Manual::02_Elements.
ATTRIBUTES
- CLEARATTRIBUTES
-
(write-only, non inheritable) It will clear all attributes stored internally and remove all references.
EXAMPLES
The element IUP::User is used in the following sample scripts:
0-basic/text_format.pl - IUP::Text (formating) example
SEE ALSO
The original doc: iupuser.html