r3imgbrow

r3matbrow

r3imgbrow

Class

real/gadget/r3imgbrow.h

Library

r3gad

Description:

Base class for image browsers.

See Also

oops/r3window.h

See Also

oops/r3flist.h

Super Class

r3Window

R3CLID_WINDOW

JavaScript

r3Imagebrowsewindow

Class Identifier

R3CLID_IMAGEBROWSEWINDOW - 1778

Methods

SELECTFOLDER, DELETEFOLDER, NEWFOLDER, SETCURRENTFOLDER,

Attributes

RightPacker, ToolBarGmanager, SortAlphabeticall, ReportCloseObject, ReportCloseMethod, RootDirectory,

Registration

int R3RegisterImageBrowseWindowClass(R3APP *app);

multi-inheritance!

R3IMGBROWM_SELECTFOLDER

Method

SELECTFOLDER

Identifier

R3IMGBROWM_SELECTFOLDER

JavaScript

obj.SELECTFOLDER();

Description

Called when the user selects a folder. The base class reads the name of the selected folder and sends R3RM_UPDATE, in which derived classes can fetch R3FLA_Directory attribute and update the right side of the window.

R3IMGBROWM_DELETEFOLDER

Method

DELETEFOLDER

Identifier

R3IMGBROWM_DELETEFOLDER

JavaScript

obj.DELETEFOLDER();

Description

Delete currently selected folder.

R3IMGBROWM_NEWFOLDER

Method

NEWFOLDER

Identifier

R3IMGBROWM_NEWFOLDER

JavaScript

obj.NEWFOLDER();

Description

Create a new folder into the currently selected folder.

R3IMGBROWM_SETCURRENTFOLDER

Method

SETCURRENTFOLDER

Identifier

R3IMGBROWM_SETCURRENTFOLDER

Param 3:

char*, folder name

JavaScript

obj.SETCURRENTFOLDER(p3);

Description

Select current folder

RightPacker

Attribute

RightPacker

Identifier

R3IMGBROWA_RightPacker

JavaScript type

Object

C type

R3OBJ*

Description

packer for controls showing the file images etc.

Syntax


value = jsobj.GetRightPacker();


R3OBJ* value;
R3GetAttrs(r3obj, R3IMGBROWA_RightPacker, &value, R3TAG_END);

ToolBarGmanager

Attribute

ToolBarGmanager

Identifier

R3IMGBROWA_ToolBarGmanager

JavaScript type

Object

C type

R3OBJ*

Description

geometry manager holding tool buttons

Syntax


value = jsobj.GetToolBarGmanager();


R3OBJ* value;
R3GetAttrs(r3obj, R3IMGBROWA_ToolBarGmanager, &value, R3TAG_END);

SortAlphabeticall

Attribute

SortAlphabeticall

Identifier

R3IMGBROWA_SortAlphabeticall

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetSortAlphabeticall(value);


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

ReportCloseObject

Attribute

ReportCloseObject

Identifier

R3IMGBROWA_ReportCloseObject

JavaScript type

Object

C type

R3OBJ*

Description

Syntax


jsobj.SetReportCloseObject(value);


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

ReportCloseMethod

Attribute

ReportCloseMethod

Identifier

R3IMGBROWA_ReportCloseMethod

JavaScript type

Integer

C type

R3INT

Description

Syntax


jsobj.SetReportCloseMethod(value);


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

RootDirectory

Attribute

RootDirectory

Identifier

R3IMGBROWA_RootDirectory

JavaScript type

String

C type

char*

Description

currently selected folder

Syntax


jsobj.SetRootDirectory(value);
value = jsobj.GetRootDirectory();


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

Tags

Tags

R3IMGBROWA_String
R3IMGBROWA_BrowsePrompt