Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

NextObject

Iterate through the object on an Exec list.

Declaration

Source position: intuition.pas line 3921

function NextObject(

  ObjectPtrPtr: PPObject_

):PObject_;

Arguments

ObjectPtrPtr

  

The pointer to a variable. This must be the same variable, as long as you iterate though the same list. This variable must initially be filled with the lh_Head of a list.

Function result

Returns pointers to each object in the list in turn, and nil when there are no more.

Description

Use this function to iterate through a list of BOOPSI objects. You may do whatever you want with the object returned, even remove it from the list or dispose it, and then continue to iterate through the list.

When you collect a set of boopsi objects on an Exec List structure by invoking their OM_ADDMEMBER method, you can (only) retrieve them by iterations of this function.

See also

DisposeObject

  

Deletes a 'boopsi' object.

SetAttrs

  

Varargs Version of SetAttrsA()

GetAttr

  

Inquire the value of some attribute of an object.

MakeClass

  

Create and initialize a boopsi class.


Documentation generated on: 2021-07-30