model_server/gala/src/controlObjects.cxx
// Allow or prevent the list item from handling selections.
Allow or prevent the list item from handling selections.
Allow or prevent the list item from handling selections .
void gdListItem::AllowSelection(vbool state)
{
    vbool oldState = allowSelection_;
    allowSelection_ = state;
    if ((allowSelection_ == vTRUE)  && (oldState == vFALSE) ) {
        if (GetSelectMethod() != vlistNO_SELECTION)
            ObserveSelect(vlistviewSELECTION_HAS_CHANGED);
    }
}
void gdListItem :: AllowSelection ( vbool state ) { vbool oldState = allowSelection_ ; allowSelection_ = state ; if ( ( allowSelection_ == vTRUE ) && ( oldState == vFALSE ) ) { if ( GetSelectMethod ( ) != vlistNO_SELECTION ) ObserveSelect ( vlistviewSELECTION_HAS_CHANGED ) ; } }
Allow or prevent the list item from handling selections.
Allow or prevent the list item from handling selections .
// Make sure we handle any changes made while it was off.