r3tabbed
oops/r3tabbed.h
r3oops
Tabbed Class
r3Frame
R3CLID_FRAME
r3Tabbed
R3CLID_TABBED - 560
Labels, Active, Icons, ToolTips, IconWidth, IconHeight, Bottom,
int R3RegisterTabbedClass(R3APP *app);
Labels
Labels
R3TABA_Labels
String
char**
null terminated array of string pointers
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
Active
R3TABA_Active
Integer
R3INT
ordnum of the active tab
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
Icons
R3TABA_Icons
Object
R3OBJ**
null terminated array of icon pointers, optional to _Labels
jsobj.SetIcons(value);
R3OBJ** value = ...;
R3SetAttrs(r3obj, R3TABA_Icons, value, R3TAG_END);
ToolTips
ToolTips
R3TABA_ToolTips
String
char**
null terminated string pointer array for tool tips
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
IconWidth
R3TABA_IconWidth
Integer
R3INT
width of icons
jsobj.SetIconWidth(value);
R3INT value = ...;
R3SetAttrs(r3obj, R3TABA_IconWidth, value, R3TAG_END);
IconHeight
IconHeight
R3TABA_IconHeight
Integer
R3INT
height of icons
jsobj.SetIconHeight(value);
R3INT value = ...;
R3SetAttrs(r3obj, R3TABA_IconHeight, value, R3TAG_END);
Bottom
Bottom
R3TABA_Bottom
Boolean
R3BOOL
bottom tabs
jsobj.SetBottom(value);
R3BOOL value = ...;
R3SetAttrs(r3obj, R3TABA_Bottom, value, R3TAG_END);
r3mantab
real/gadget/r3mantab.h
r3gad
ManagedTabbed Class
r3Tabbed
R3CLID_TABBED
r3Managedtabbed
R3CLID_MANAGEDTABBED - 318
r3guitab
real/widget/r3guitab.h
r3wid
GuiTab Class
r3Managedtabbed
R3CLID_MANAGEDTABBED
r3Guitab
R3CLID_GUITAB - 1868
R3GUITABM_ADDTAB
ADDTAB
R3GUITABM_ADDTAB
R3OBJ*, the droptarget window in the newly added tab
R3INT, index of the new tab
char*, label for the new tab
rc = obj.ADDTAB(p1, p3);
Adds a tab
R3GUITABM_DELETETABBYINDEX
DELETETABBYINDEX
R3GUITABM_DELETETABBYINDEX
R3BOOL, TRUE if successful
R3INT, index of the tab to delete
rc = obj.DELETETABBYINDEX(p3);
R3GUITABM_DELETETABBYLABEL
DELETETABBYLABEL
R3GUITABM_DELETETABBYLABEL
R3BOOL, TRUE if successful
char*, label of the tab to delete
rc = obj.DELETETABBYLABEL(p3);
R3GUITABM_FINDTAB
FINDTAB
R3GUITABM_FINDTAB
R3OBJ*, window corresponding the tab
char*, tab label
rc = obj.FINDTAB(p3);
See if the given tab already exist and return the window associated with it.
</sect7> </sect6>