On Mon, Jun 19, 2000 at 10:09:05PM +0900, R. Lahaye wrote:
>
> Hi,
>
> There's a bug in LessTif that shows up in grace.
> The problem disappears when compiled against OpenMotif,
> so there must be something wrong in LessTif.
>
>
> Start Grace with the attached grace-file:
>
> xmgrace InvertSelection.agr
>
> The Grace canvas pops up with an empty graph.
> Double click on the canvas inside the graph.
> The "Grace: Set Appearance" window shows up.
> You'll see that set "(+)G0.S0[2][1]" is selected,
> while the other two are not.
> Grace can reverse the selection by right-clicking
> in the set-field: Selector operations -> Invert selection.
>
> However, with LessTif the inversion has the same
> effect as "select all". With OpenMotif the inversion
> is performed as expected.
XmListSelectPos() doesn't seem capable to handle
the requests for XmMULTIPLE_SELECT.
If I understand correctly _XmListSelectPos() is
called, but this does not _toggle_ state but just always
selects?!
It should call *TogglePos(), I'll give it a try.
--
Alexander Mai
[EMAIL PROTECTED]