The FileSelectionBox widget doesn't list all files in the current
directory neither when first managed nor upon
navigation from within the widget itself.
The OS is Linux Mandrake 8.2
The LessTif version is the newest available (0.93.34)

I used  as testing program the very very simple code attached which
works fine on standard OSF/Motif under SGI Irix OS.

--
__________________________________________________________________
                                              _/_/_/       _/_/_/
Graziano Servizi                             _/    _/     _/    _/
c/o Dipartimento di Fisica                  _/            _/
via Irnerio, 46                            _/             _/_/_/
40126 BOLOGNA (Italia)                    _/   _/_/           _/
                                         _/     _/            _/
Tel.:(39)-051-2091123                   _/     _/     _/     _/
E-Mail:[EMAIL PROTECTED]               _/_/_/        _/_/_/


#include <stdio.h>
#include <X11/Intrinsic.h>
#include <Xm/FileSB.h>

int main(int argc, char ** argv)
 {Arg al[1];
  Cardinal ac = 0;
  Display *display;
  static XrmOptionDescRec *opzioni;
  Widget ApplicationShell, FileSB;
  XtAppContext context;
  XtToolkitInitialize(),
  context = XtCreateApplicationContext(),
  display = XtOpenDisplay(context, NULL, "bug", ".bug", NULL, 0, &argc, argv);
  ApplicationShell = XtAppCreateShell("aaa", "Aaa", applicationShellWidgetClass, 
display, al, ac),
  FileSB = XmCreateFileSelectionBox(ApplicationShell, "FileSB", al, ac);
  XtUnmanageChild(XmFileSelectionBoxGetChild(FileSB, XmDIALOG_HELP_BUTTON));
  XtManageChild(FileSB);
  XtRealizeWidget(ApplicationShell);
  XtAppMainLoop(context);}

Reply via email to