List of pointers to
objects.
FXObjectList
FXObjectList()

Default
constructor.
FXObjectList
FXObjectList(orig)

Copy constructor.
Argument |
Type |
Default |
Description |
orig |
FXObjectList |
|
|
append
append(p)

Append element.
Argument |
Type |
Default |
Description |
p |
FXObject |
|
|
clear
clear()

Remove all
elements.
findb
findb(p,
pos=2147483647)

Find object in list, searching
backward; return position or -1.
Argument |
Type |
Default |
Description |
p |
FXObject |
|
|
pos |
Int |
2147483647 |
|
findf
findf(p,
pos=0)

Find object in list, searching
forward; return position or -1.
Argument |
Type |
Default |
Description |
p |
FXObject |
|
|
pos |
Int |
0 |
|
insert
insert(pos,
p)

Insert element at certain
position.
Argument |
Type |
Default |
Description |
pos |
Int |
|
|
p |
FXObject |
|
|
no
no(n)

Set number of elements.
Argument |
Type |
Default |
Description |
n |
Int |
|
|
no
no()

Return number of
elements.
remove
remove(p)

Remove element p.
Argument |
Type |
Default |
Description |
p |
FXObject |
|
|
remove
remove(pos)

Remove element at pos.
Argument |
Type |
Default |
Description |
pos |
Int |
|
|
size
size(m)

Set max number of
elements.
Argument |
Type |
Default |
Description |
m |
Int |
|
|
size
size()

Return size of
list.