Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!mcsun!ukc!axion!ist!jh From: jh@ist.CO.UK (Jeremy Huxtable) Newsgroups: comp.windows.x.motif Subject: Re: XmListDeleteItemsPos bug?? Message-ID: <2899@istop.ist.CO.UK> Date: 7 May 91 09:50:13 GMT Article-I.D.: istop.2899 References: <54456@inkwell.UUCP> Organization: Imperial Software Technology, London, UK Lines: 23 From article <54456@inkwell.UUCP>, by jhc@ivan.uucp: > I am experiencing occasional crashes in XmListDeleteItemsPos. Is there > a known bug in this function? One bug, though possibly the one you are looking for is that when the bottom element of the list is visible and you call XmListDeleteXXX, the List widget gets its display one line out of whack with where it thinks it is. To get round this, we had to resort to horrible manipulations using XmListSetBottomPos and so on. I think the same problem applies to XmListAddItemXXX. ...and another thing... why isn't there an XmList routine to just make the current selection visible? You can make the selection the top or bottom item, but not just make sure that it is visible.... ...and another thing... why can't I have a list of things other than strings, such as icons, mixtures of text and pictures etc? ...and another thing, why can't I have a multi-column list? Having programmed the Macintosh, I am amazed how difficult it is to do things under Motif which are trivial in the Mac environment. Were the widgets designed by committee? ...shall I mention XmRowColumn? I think not.