r3tree

r3tree

Class

real/gadget/r3tree.h

Library

r3gad

Description:

Renders hierarchical object tree.

See Also

oops/r3root.h

See Also

oops/r3window.h

Super Class

r3Root

R3CLID_ROOT

JavaScript

r3Tree

Class Identifier

R3CLID_TREE - 18

Methods

Attributes

Object, Top, Bottom, Left, Right, RowSize, CurrentObject, CallbackData, ShowCurrent,

R3WINDOWEVENT

Object

Attribute

Object

Identifier

R3TREEA_Object

JavaScript type

Object

C type

R3OBJ*

Description

'R3TREEA_Object' not documented

Syntax


jsobj.SetObject(value);
value = jsobj.GetObject();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3TREEA_Object, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3TREEA_Object, &value, R3TAG_END);

Top

Attribute

Top

Identifier

R3TREEA_Top

JavaScript type

Integer

C type

int

Description

'R3TREEA_Top' not documented

Syntax


value = jsobj.GetTop();


int value;
R3GetAttrs(r3obj, R3TREEA_Top, &value, R3TAG_END);

Bottom

Attribute

Bottom

Identifier

R3TREEA_Bottom

JavaScript type

Integer

C type

int

Description

'R3TREEA_Bottom' not documented

Syntax


value = jsobj.GetBottom();


int value;
R3GetAttrs(r3obj, R3TREEA_Bottom, &value, R3TAG_END);

Left

Attribute

Left

Identifier

R3TREEA_Left

JavaScript type

Integer

C type

int

Description

'R3TREEA_Left' not documented

Syntax


value = jsobj.GetLeft();


int value;
R3GetAttrs(r3obj, R3TREEA_Left, &value, R3TAG_END);

Right

Attribute

Right

Identifier

R3TREEA_Right

JavaScript type

Integer

C type

int

Description

'R3TREEA_Right' not documented

Syntax


value = jsobj.GetRight();


int value;
R3GetAttrs(r3obj, R3TREEA_Right, &value, R3TAG_END);

RowSize

Attribute

RowSize

Identifier

R3TREEA_RowSize

JavaScript type

Integer

C type

int

Description

'R3TREEA_RowSize' not documented

Syntax


value = jsobj.GetRowSize();


int value;
R3GetAttrs(r3obj, R3TREEA_RowSize, &value, R3TAG_END);

CurrentObject

Attribute

CurrentObject

Identifier

R3TREEA_CurrentObject

JavaScript type

Object

C type

R3OBJ*

Description

'R3TREEA_CurrentObject' not documented

Syntax


jsobj.SetCurrentObject(value);
value = jsobj.GetCurrentObject();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3TREEA_CurrentObject, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3TREEA_CurrentObject, &value, R3TAG_END);

CallbackData

Attribute

CallbackData

Identifier

R3TREEA_CallbackData

JavaScript type

String

C type

void*

Description

user data for the callbacks

Syntax


jsobj.SetCallbackData(value);


void* value = ...;
R3SetAttrs(r3obj, R3TREEA_CallbackData, value, R3TAG_END);

ShowCurrent

Attribute

ShowCurrent

Identifier

R3TREEA_ShowCurrent

JavaScript type

Boolean

C type

R3BOOL

Description

currlev marker on/off

Syntax


jsobj.SetShowCurrent(value);
value = jsobj.GetShowCurrent();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3TREEA_ShowCurrent, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3TREEA_ShowCurrent, &value, R3TAG_END);

R3TREEHITPOS_NONE
R3TREEHITPOS_OPENBOX
R3TREEHITPOS_ICON
R3TREEHITPOS_NAME

left, top of the item hit

font styles

R3FONT_NORMAL
R3FONT_ITALIC
R3FONT_BOLD
R3FONT_BOLDITALIC