r3imglis
real/gadget/r3imglis.h
r3gad
ImageListGadget Class
r3Gadget
R3CLID_GADGET
r3Imagelistgadget
R3CLID_IMAGELISTGADGET - 255
ImageList, Selected, DragSourceObj, DragSourceMth, DropTargetObj, CanDropMth, DropMth, ImageWidth, ImageHeight,
int R3RegisterImageListGadgetClass(R3APP *app);
ImageList
ImageList
R3IMGLISTGA_ImageList
r3List
R3LIST
list of images
jsobj.SetImageList(value);
R3LIST value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_ImageList, value, R3TAG_END);
Selected
Selected
R3IMGLISTGA_Selected
Object
R3OBJ*
currently selected image
jsobj.SetSelected(value);
R3OBJ* value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_Selected, value, R3TAG_END);
DragSourceObj
DragSourceObj
R3IMGLISTGA_DragSourceObj
Object
R3OBJ*
callback object for dragging images
jsobj.SetDragSourceObj(value);
R3OBJ* value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_DragSourceObj, value, R3TAG_END);
DragSourceMth
DragSourceMth
R3IMGLISTGA_DragSourceMth
Integer
R3INT
callback method for dragging images
jsobj.SetDragSourceMth(value);
R3INT value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_DragSourceMth, value, R3TAG_END);
DropTargetObj
DropTargetObj
R3IMGLISTGA_DropTargetObj
Object
R3OBJ*
callback object for dropping
jsobj.SetDropTargetObj(value);
R3OBJ* value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_DropTargetObj, value, R3TAG_END);
CanDropMth
CanDropMth
R3IMGLISTGA_CanDropMth
Integer
R3INT
callback method for can drop
jsobj.SetCanDropMth(value);
R3INT value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_CanDropMth, value, R3TAG_END);
DropMth
DropMth
R3IMGLISTGA_DropMth
Integer
R3INT
callback method for drop
jsobj.SetDropMth(value);
R3INT value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_DropMth, value, R3TAG_END);
ImageWidth
ImageWidth
R3IMGLISTGA_ImageWidth
Integer
R3INT
if 0, size is fetched from the image
jsobj.SetImageWidth(value);
value = jsobj.GetImageWidth();
R3INT value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_ImageWidth, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3IMGLISTGA_ImageWidth, &value, R3TAG_END);
ImageHeight
ImageHeight
R3IMGLISTGA_ImageHeight
Integer
R3INT
if 0, size is fetched from the image
jsobj.SetImageHeight(value);
value = jsobj.GetImageHeight();
R3INT value = ...;
R3SetAttrs(r3obj, R3IMGLISTGA_ImageHeight, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3IMGLISTGA_ImageHeight, &value, R3TAG_END);
r3appobj *