r3tabbed

r3tabbed

Class

oops/r3tabbed.h

Library

r3oops

Description:

Tabbed Class

See Also

oops/r3frame.h

Super Class

r3Frame

R3CLID_FRAME

JavaScript

r3Tabbed

Class Identifier

R3CLID_TABBED - 560

Attributes

Labels, Active, Icons, ToolTips, IconWidth, IconHeight, Bottom,

Registration

int R3RegisterTabbedClass(R3APP *app);

Labels

Attribute

Labels

Identifier

R3TABA_Labels

JavaScript type

String

C type

char**

Description

null terminated array of string pointers

Syntax


jsobj.SetLabels(value);
value = jsobj.GetLabels();


char** value = ...;
R3SetAttrs(r3obj, R3TABA_Labels, value, R3TAG_END);
char** value;
R3GetAttrs(r3obj, R3TABA_Labels, &value, R3TAG_END);

Active

Attribute

Active

Identifier

R3TABA_Active

JavaScript type

Integer

C type

R3INT

Description

ordnum of the active tab

Syntax


jsobj.SetActive(value);
value = jsobj.GetActive();


R3INT value = ...;
R3SetAttrs(r3obj, R3TABA_Active, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3TABA_Active, &value, R3TAG_END);

Icons

Attribute

Icons

Identifier

R3TABA_Icons

JavaScript type

Object

C type

R3OBJ**

Description

null terminated array of icon pointers, optional to _Labels

Syntax


jsobj.SetIcons(value);


R3OBJ** value = ...;
R3SetAttrs(r3obj, R3TABA_Icons, value, R3TAG_END);

ToolTips

Attribute

ToolTips

Identifier

R3TABA_ToolTips

JavaScript type

String

C type

char**

Description

null terminated string pointer array for tool tips

Syntax


jsobj.SetToolTips(value);
value = jsobj.GetToolTips();


char** value = ...;
R3SetAttrs(r3obj, R3TABA_ToolTips, value, R3TAG_END);
char** value;
R3GetAttrs(r3obj, R3TABA_ToolTips, &value, R3TAG_END);

IconWidth

Attribute

IconWidth

Identifier

R3TABA_IconWidth

JavaScript type

Integer

C type

R3INT

Description

width of icons

Syntax


jsobj.SetIconWidth(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3TABA_IconWidth, value, R3TAG_END);

IconHeight

Attribute

IconHeight

Identifier

R3TABA_IconHeight

JavaScript type

Integer

C type

R3INT

Description

height of icons

Syntax


jsobj.SetIconHeight(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3TABA_IconHeight, value, R3TAG_END);

Bottom

Attribute

Bottom

Identifier

R3TABA_Bottom

JavaScript type

Boolean

C type

R3BOOL

Description

bottom tabs

Syntax


jsobj.SetBottom(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3TABA_Bottom, value, R3TAG_END);

Tags

Tags

R3TABA_Depth
<sect6> <title>r3mantab</title>

r3mantab

Class

real/gadget/r3mantab.h

Library

r3gad

Description:

ManagedTabbed Class

See Also

oops/r3tabbed.h

Super Class

r3Tabbed

R3CLID_TABBED

JavaScript

r3Managedtabbed

Class Identifier

R3CLID_MANAGEDTABBED - 318

Methods

Attributes

<sect7> <title>r3guitab</title>

r3guitab

Class

real/widget/r3guitab.h

Library

r3wid

Description:

GuiTab Class

See Also

real/gadget/r3mantab.h

Super Class

r3Managedtabbed

R3CLID_MANAGEDTABBED

JavaScript

r3Guitab

Class Identifier

R3CLID_GUITAB - 1868

Methods

ADDTAB, DELETETABBYINDEX, DELETETABBYLABEL, FINDTAB,

Attributes

R3GUITABM_ADDTAB

Method

ADDTAB

Identifier

R3GUITABM_ADDTAB

Return

R3OBJ*, the droptarget window in the newly added tab

Param 1:

R3INT, index of the new tab

Param 3:

char*, label for the new tab

JavaScript

rc = obj.ADDTAB(p1, p3);

Description

Adds a tab

R3GUITABM_DELETETABBYINDEX

Method

DELETETABBYINDEX

Identifier

R3GUITABM_DELETETABBYINDEX

Return

R3BOOL, TRUE if successful

Param 3:

R3INT, index of the tab to delete

JavaScript

rc = obj.DELETETABBYINDEX(p3);

Description

R3GUITABM_DELETETABBYLABEL

Method

DELETETABBYLABEL

Identifier

R3GUITABM_DELETETABBYLABEL

Return

R3BOOL, TRUE if successful

Param 3:

char*, label of the tab to delete

JavaScript

rc = obj.DELETETABBYLABEL(p3);

Description

R3GUITABM_FINDTAB

Method

FINDTAB

Identifier

R3GUITABM_FINDTAB

Return

R3OBJ*, window corresponding the tab

Param 3:

char*, tab label

JavaScript

rc = obj.FINDTAB(p3);

Description

See if the given tab already exist and return the window associated with it.

</sect7>
</sect6>