Re: Motif/Xt: Dynamically resize the visible item count of an XmList

2022-01-12 Thread Holger Sebert
On 12/16/21 00:22, Chris Sorenson wrote: Tried it out, but it not yield the desired result, unfortunately. The list widget gets resized but it does not update the visible item count property. I need to somehow catch the resize event and update it manually, but I don't find any suitable call

Re: Motif/Xt: Dynamically resize the visible item count of an XmList

2021-12-09 Thread Holger Sebert
I'm sure this is an oversimplification, but tell me what you think: Widget rc, list; rc = XtVaCreateManagedWidget ("rowcol", xmRowColumnWidgetClass,  toplevel,   XmNwidth, 200,   XmNheight, 200,   NULL); list = XtVaCreateManagedWidget ("list",         xmListWid