On Sat, 02 Feb 2002 17:00:28 +0100 (CET), Alexander Mai wrote:

>selectedPositions seems to correlate selectedIndices which
>LessTif has. We seem to have the wrong name for that?!



Indeed, a quick look at some 2.0 ListP.h indicates:

 int              *selectedPositions;  /* "selectedIndices" in Motif 1.2 */
  unsigned char     SelectionMode;      /* "Boolean AddMode" in Motif 1.2 */

  /*--- New fields in Motif 2.0. ---*/
  int           selectedPositionCount;

  unsigned char matchBehavior;

  unsigned char AutoSelectionType;

  /* PrimaryOwnership is used to describe how the list show take
   * ownership of the primary selection when the user selects list
   * items, with a possible value of NEVER.
   */
  unsigned char PrimaryOwnership;

  XtCallbackList DestinationCallback;

  int           previous_top_position;

  XtIntervalId  drag_start_timer;
  char *        drag_abort_action;
  XEvent        drag_event;

 /* Selection rendition fields */
 XmRendition   scratchRend;
 Pixel         selectColor;


It seems we need to add some stuff at least to our
Widget record and rename some things accordingly to this.


---
Alexander Mai
[EMAIL PROTECTED]


_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to